How To Install procps-ng on Rocky Linux 8

In this tutorial we learn how to install procps-ng on Rocky Linux 8. procps-ng is System and process monitoring utilities

Introduction

In this tutorial we learn how to install procps-ng on Rocky Linux 8.

What is procps-ng

The procps package contains a set of system utilities that provide system information. Procps includes ps, free, skill, pkill, pgrep, snice, tload, top, uptime, vmstat, pidof, pmap, slabtop, w, watch and pwdx. The ps command displays a snapshot of running processes. The top command provides a repetitive update of the statuses of running processes. The free command displays the amounts of free and used memory on your system. The skill command sends a terminate command (or another specified signal) to a specified set of processes. The snice command is used to change the scheduling priority of specified processes. The tload command prints a graph of the current system load average to a specified tty. The uptime command displays the current time, how long the system has been running, how many users are logged on, and system load averages for the past one, five, and fifteen minutes. The w command displays a list of the users who are currently logged on and what they are running. The watch program watches a running program. The vmstat command displays virtual memory statistics about processes, memory, paging, block I/O, traps, and CPU activity. The pwdx command reports the current working directory of a process or processes.

We can use yum or dnf to install procps-ng on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install procps-ng.

Install procps-ng on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install procps-ng using dnf by running the following command:

sudo dnf -y install procps-ng

Install procps-ng on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install procps-ng using yum by running the following command:

sudo yum -y install procps-ng

How To Uninstall procps-ng on Rocky Linux 8

To uninstall only the procps-ng package we can use the following command:

sudo dnf remove procps-ng

procps-ng Package Contents on Rocky Linux 8

/usr/bin/free
/usr/bin/pgrep
/usr/bin/pidof
/usr/bin/pkill
/usr/bin/pmap
/usr/bin/ps
/usr/bin/pwdx
/usr/bin/skill
/usr/bin/slabtop
/usr/bin/snice
/usr/bin/tload
/usr/bin/top
/usr/bin/uptime
/usr/bin/vmstat
/usr/bin/w
/usr/bin/watch
/usr/lib/.build-id
/usr/lib/.build-id/04
/usr/lib/.build-id/04/324a2d06898aa527a0104a94b79c41298ad621
/usr/lib/.build-id/06
/usr/lib/.build-id/06/a4eec2065faa7421376558796282cabaa36067
/usr/lib/.build-id/17
/usr/lib/.build-id/17/5cb1cd84b34200baa159926630143b1ef46272
/usr/lib/.build-id/1e
/usr/lib/.build-id/1e/5f5ce527982d1d35b9b3289dc73ce6c687eb06
/usr/lib/.build-id/35
/usr/lib/.build-id/35/f6eb6fa017b1d2be80c292bd7d097b711b86dc
/usr/lib/.build-id/52
/usr/lib/.build-id/52/3c85ec25ea5388ed1ba36b834650d87a20c9c5
/usr/lib/.build-id/74
/usr/lib/.build-id/74/e2284f1802d6788946c52dd539e58812806fc1
/usr/lib/.build-id/74/e2284f1802d6788946c52dd539e58812806fc1.1
/usr/lib/.build-id/7d
/usr/lib/.build-id/7d/7676bbb775540f4a6cb680eb66faac146e45a2
/usr/lib/.build-id/7d/f883dcff03bcaf3c3ee886af8697717150d030
/usr/lib/.build-id/b2
/usr/lib/.build-id/b2/19440740088c3d55f1e751295c100481fe3353
/usr/lib/.build-id/b2/19440740088c3d55f1e751295c100481fe3353.1
/usr/lib/.build-id/b2/a50a01919bf863804893633372165eef2002c5
/usr/lib/.build-id/bf
/usr/lib/.build-id/bf/55ea817645d5d1dc1477c9a0e1f1fc7fc51e41
/usr/lib/.build-id/c0
/usr/lib/.build-id/c0/cd31e3d20dc499743cbcb49084a9b0e50cb9ef
/usr/lib/.build-id/dc
/usr/lib/.build-id/dc/a0805c2ec811abcbad7e50cc038c5a2aadf032
/usr/lib/.build-id/df
/usr/lib/.build-id/df/f9893c146d7149473785c9acceb518b34f605b
/usr/lib/.build-id/e9
/usr/lib/.build-id/e9/5b9ff15f9de2b8ac6e88ba582bcb46050e0cc9
/usr/lib/libprocps.so.7
/usr/lib/libprocps.so.7.1.0
/usr/sbin/pidof
/usr/sbin/sysctl
/usr/share/doc/procps-ng
/usr/share/doc/procps-ng/AUTHORS
/usr/share/doc/procps-ng/FAQ
/usr/share/doc/procps-ng/NEWS
/usr/share/doc/procps-ng/README.md
/usr/share/doc/procps-ng/README.top
/usr/share/doc/procps-ng/TODO
/usr/share/doc/procps-ng/bugs.md
/usr/share/licenses/procps-ng
/usr/share/licenses/procps-ng/COPYING
/usr/share/licenses/procps-ng/COPYING.LIB
/usr/share/man/man1/free.1.gz
/usr/share/man/man1/pgrep.1.gz
/usr/share/man/man1/pidof.1.gz
/usr/share/man/man1/pkill.1.gz
/usr/share/man/man1/pmap.1.gz
/usr/share/man/man1/procps.1.gz
/usr/share/man/man1/ps.1.gz
/usr/share/man/man1/pwdx.1.gz
/usr/share/man/man1/skill.1.gz
/usr/share/man/man1/slabtop.1.gz
/usr/share/man/man1/snice.1.gz
/usr/share/man/man1/tload.1.gz
/usr/share/man/man1/top.1.gz
/usr/share/man/man1/uptime.1.gz
/usr/share/man/man1/w.1.gz
/usr/share/man/man1/watch.1.gz
/usr/share/man/man5/sysctl.conf.5.gz
/usr/share/man/man8/sysctl.8.gz
/usr/share/man/man8/vmstat.8.gz
/usr/bin/free
/usr/bin/pgrep
/usr/bin/pidof
/usr/bin/pkill
/usr/bin/pmap
/usr/bin/ps
/usr/bin/pwdx
/usr/bin/skill
/usr/bin/slabtop
/usr/bin/snice
/usr/bin/tload
/usr/bin/top
/usr/bin/uptime
/usr/bin/vmstat
/usr/bin/w
/usr/bin/watch
/usr/lib/.build-id
/usr/lib/.build-id/04
/usr/lib/.build-id/04/862f281884c07ae549bb6379068e4d4ae06f43
/usr/lib/.build-id/07
/usr/lib/.build-id/07/7d92d7f44a0e86e531ce56d85a01b92be66696
/usr/lib/.build-id/13
/usr/lib/.build-id/13/35788cc455592cd409500363221eb942db9e1a
/usr/lib/.build-id/21
/usr/lib/.build-id/21/9c52e99ce44dd0b9e676c68a90f56d05846e62
/usr/lib/.build-id/2d
/usr/lib/.build-id/2d/e34a47caf57464c2779bc77517df20d7224f5a
/usr/lib/.build-id/36
/usr/lib/.build-id/36/055a137f510a8ef771f84fc17bbe69373289dc
/usr/lib/.build-id/46
/usr/lib/.build-id/46/e67be077d5c3fb40c8149d7136c239b5aa6c69
/usr/lib/.build-id/7d
/usr/lib/.build-id/7d/4aa943d284ec819bd6b90c96a4c2767a8de556
/usr/lib/.build-id/9d
/usr/lib/.build-id/9d/969288ec480596e3b1a29566863021a09b35cf
/usr/lib/.build-id/ae
/usr/lib/.build-id/ae/d73ce5b150004c520530c9a93e792756bec546
/usr/lib/.build-id/ae/d73ce5b150004c520530c9a93e792756bec546.1
/usr/lib/.build-id/d0
/usr/lib/.build-id/d0/d39e6c6e34546b5d79152d9cdb5474741108ad
/usr/lib/.build-id/dc
/usr/lib/.build-id/dc/c3b1e230d740550b41c27fe1a4b8b38fcc1100
/usr/lib/.build-id/e8
/usr/lib/.build-id/e8/1b63ad627e9439c401ee0f5362e0a2ad17083b
/usr/lib/.build-id/ee
/usr/lib/.build-id/ee/1f1adc59ab7f9275943396119ecc62a6084a59
/usr/lib/.build-id/f4
/usr/lib/.build-id/f4/a4e3faf7f7bee5fcc560cfb09c0650f882bf7c
/usr/lib/.build-id/ff
/usr/lib/.build-id/ff/a0a4831e13e9a0888089bc379de50295cef0c1
/usr/lib/.build-id/ff/a0a4831e13e9a0888089bc379de50295cef0c1.1
/usr/lib64/libprocps.so.7
/usr/lib64/libprocps.so.7.1.0
/usr/sbin/pidof
/usr/sbin/sysctl
/usr/share/doc/procps-ng
/usr/share/doc/procps-ng/AUTHORS
/usr/share/doc/procps-ng/FAQ
/usr/share/doc/procps-ng/NEWS
/usr/share/doc/procps-ng/README.md
/usr/share/doc/procps-ng/README.top
/usr/share/doc/procps-ng/TODO
/usr/share/doc/procps-ng/bugs.md
/usr/share/licenses/procps-ng
/usr/share/licenses/procps-ng/COPYING
/usr/share/licenses/procps-ng/COPYING.LIB
/usr/share/man/man1/free.1.gz
/usr/share/man/man1/pgrep.1.gz
/usr/share/man/man1/pidof.1.gz
/usr/share/man/man1/pkill.1.gz
/usr/share/man/man1/pmap.1.gz
/usr/share/man/man1/procps.1.gz
/usr/share/man/man1/ps.1.gz
/usr/share/man/man1/pwdx.1.gz
/usr/share/man/man1/skill.1.gz
/usr/share/man/man1/slabtop.1.gz
/usr/share/man/man1/snice.1.gz
/usr/share/man/man1/tload.1.gz
/usr/share/man/man1/top.1.gz
/usr/share/man/man1/uptime.1.gz
/usr/share/man/man1/w.1.gz
/usr/share/man/man1/watch.1.gz
/usr/share/man/man5/sysctl.conf.5.gz
/usr/share/man/man8/sysctl.8.gz
/usr/share/man/man8/vmstat.8.gz

References

Summary

In this tutorial we learn how to install procps-ng on Rocky Linux 8 using yum and dnf.