How To Install procps-ng on Fedora 36

In this tutorial we learn how to install procps-ng in Fedora 36. procps-ng is System and process monitoring utilities

Introduction

In this tutorial we learn how to install procps-ng on Fedora 36.

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, pwdx and pidwait. 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. The pidwait command waits for processes of specified names.

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

Install procps-ng on Fedora 36 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 Fedora 36 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 Fedora 36

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

sudo dnf remove procps-ng

procps-ng Package Contents on Fedora 36

/usr/bin/free
/usr/bin/pgrep
/usr/bin/pidof
/usr/bin/pidwait
/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/02
/usr/lib/.build-id/02/760a83cd4bdf082f02440073f939c79546b3a9
/usr/lib/.build-id/11
/usr/lib/.build-id/11/ec713c7f709cef59cd1a319274521e0430b437
/usr/lib/.build-id/1c
/usr/lib/.build-id/1c/670368ca0be5e69b3dea738b20d42b3e88e352
/usr/lib/.build-id/1d
/usr/lib/.build-id/1d/992efb6a2e714ce458647b140c91baf4006e18
/usr/lib/.build-id/1d/aa6e0d82a26931fde9b381d42dd2f2352b5b53
/usr/lib/.build-id/2f
/usr/lib/.build-id/2f/f0aa5e68ff8f1512dbbe0a860aff1cf2d6ca2d
/usr/lib/.build-id/35
/usr/lib/.build-id/35/7441be3a278c8e74b9e34e3e6098307f6acf8b
/usr/lib/.build-id/69
/usr/lib/.build-id/69/6394da1c2ee015601358539e1e380f27b509e3
/usr/lib/.build-id/7e
/usr/lib/.build-id/7e/394bdcb42a8a85f7822892e4610cdbc5c867bb
/usr/lib/.build-id/7e/394bdcb42a8a85f7822892e4610cdbc5c867bb.1
/usr/lib/.build-id/7e/394bdcb42a8a85f7822892e4610cdbc5c867bb.2
/usr/lib/.build-id/81
/usr/lib/.build-id/81/50b1c6fd40cc3abce6c46f4197a4afa52af1aa
/usr/lib/.build-id/81/50b1c6fd40cc3abce6c46f4197a4afa52af1aa.1
/usr/lib/.build-id/87
/usr/lib/.build-id/87/1fdab46b6391d7a920069fb15edcdee320b5b0
/usr/lib/.build-id/a5
/usr/lib/.build-id/a5/775c4c81cc13e5810768ae45b420e3e7757050
/usr/lib/.build-id/be
/usr/lib/.build-id/be/7828affdb0e968a92cd46ee0ca1fc51197a13b
/usr/lib/.build-id/db
/usr/lib/.build-id/db/3f796d7bfaa7008e3c16bd621af0acb082b061
/usr/lib/.build-id/eb
/usr/lib/.build-id/eb/3dd4d69deac945c331fe8108b269935f912c53
/usr/lib/.build-id/ee
/usr/lib/.build-id/ee/3f3f5a17e6f561af45a1fba3620a7a2bb478e5
/usr/lib64/libprocps.so.8
/usr/lib64/libprocps.so.8.0.3
/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/pidwait.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 Fedora 36 using yum and [dnf]((/fedora/36/dnf/).