How To Install psmisc on Fedora 34

psmisc is Utilities for managing processes on your system

Introduction

In this tutorial we learn how to install psmisc on Fedora 34.

What is psmisc

The psmisc package contains utilities for managing processes on your system a tree structure of all of the running processes on your system. The killall command sends a specified signal (SIGTERM if nothing is specified) to processes identified by name. The fuser command identifies the PIDs of processes that are using specified files or filesystems. The pslog command shows the path of log files owned by a given process.

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

Install psmisc on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo dnf -y install psmisc

Install psmisc on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install psmisc using yum by running the following command:

sudo yum -y install psmisc

How To Uninstall psmisc on Fedora 34

To uninstall only the psmisc package we can use the following command:

sudo dnf remove psmisc

psmisc Package Contents on Fedora 34

/usr/bin/killall
/usr/bin/peekfd
/usr/bin/prtstat
/usr/bin/pslog
/usr/bin/pstree
/usr/bin/pstree.x11
/usr/lib/.build-id
/usr/lib/.build-id/37
/usr/lib/.build-id/37/908a5872bb45f24eee7578c5e464928c18d350
/usr/lib/.build-id/53
/usr/lib/.build-id/53/c9b13663b6ef069f2a3fce07a17d52278982c0
/usr/lib/.build-id/a5
/usr/lib/.build-id/a5/65541dce48151c6b4856a141e78bea8118c02e
/usr/lib/.build-id/b1
/usr/lib/.build-id/b1/0f4e275b3c387e265c4ee566b763530cee3e7a
/usr/lib/.build-id/c5
/usr/lib/.build-id/c5/5b2ea759516c196aebf558f140119e14dc2fdf
/usr/lib/.build-id/fa
/usr/lib/.build-id/fa/24da36ff899c74b9a7e1cbd33595bf1e757f89
/usr/sbin/fuser
/usr/share/doc/psmisc
/usr/share/doc/psmisc/AUTHORS
/usr/share/doc/psmisc/ChangeLog
/usr/share/doc/psmisc/README
/usr/share/licenses/psmisc
/usr/share/licenses/psmisc/COPYING
/usr/share/locale/bg/LC_MESSAGES/psmisc.mo
/usr/share/locale/ca/LC_MESSAGES/psmisc.mo
/usr/share/locale/cs/LC_MESSAGES/psmisc.mo
/usr/share/locale/da/LC_MESSAGES/psmisc.mo
/usr/share/locale/de/LC_MESSAGES/psmisc.mo
/usr/share/locale/el/LC_MESSAGES/psmisc.mo
/usr/share/locale/eo/LC_MESSAGES/psmisc.mo
/usr/share/locale/es/LC_MESSAGES/psmisc.mo
/usr/share/locale/eu/LC_MESSAGES/psmisc.mo
/usr/share/locale/fi/LC_MESSAGES/psmisc.mo
/usr/share/locale/fr/LC_MESSAGES/psmisc.mo
/usr/share/locale/hr/LC_MESSAGES/psmisc.mo
/usr/share/locale/hu/LC_MESSAGES/psmisc.mo
/usr/share/locale/id/LC_MESSAGES/psmisc.mo
/usr/share/locale/it/LC_MESSAGES/psmisc.mo
/usr/share/locale/ja/LC_MESSAGES/psmisc.mo
/usr/share/locale/nb/LC_MESSAGES/psmisc.mo
/usr/share/locale/nl/LC_MESSAGES/psmisc.mo
/usr/share/locale/pl/LC_MESSAGES/psmisc.mo
/usr/share/locale/pt/LC_MESSAGES/psmisc.mo
/usr/share/locale/pt_BR/LC_MESSAGES/psmisc.mo
/usr/share/locale/ro/LC_MESSAGES/psmisc.mo
/usr/share/locale/ru/LC_MESSAGES/psmisc.mo
/usr/share/locale/sr/LC_MESSAGES/psmisc.mo
/usr/share/locale/sv/LC_MESSAGES/psmisc.mo
/usr/share/locale/uk/LC_MESSAGES/psmisc.mo
/usr/share/locale/vi/LC_MESSAGES/psmisc.mo
/usr/share/locale/zh_CN/LC_MESSAGES/psmisc.mo
/usr/share/locale/zh_TW/LC_MESSAGES/psmisc.mo
/usr/share/man/de/man1/fuser.1.gz
/usr/share/man/de/man1/killall.1.gz
/usr/share/man/de/man1/peekfd.1.gz
/usr/share/man/de/man1/prtstat.1.gz
/usr/share/man/de/man1/pslog.1.gz
/usr/share/man/de/man1/pstree.1.gz
/usr/share/man/fr/man1/fuser.1.gz
/usr/share/man/fr/man1/killall.1.gz
/usr/share/man/fr/man1/peekfd.1.gz
/usr/share/man/fr/man1/prtstat.1.gz
/usr/share/man/fr/man1/pslog.1.gz
/usr/share/man/fr/man1/pstree.1.gz
/usr/share/man/man1/fuser.1.gz
/usr/share/man/man1/killall.1.gz
/usr/share/man/man1/peekfd.1.gz
/usr/share/man/man1/prtstat.1.gz
/usr/share/man/man1/pslog.1.gz
/usr/share/man/man1/pstree.1.gz
/usr/share/man/pt_BR/man1/fuser.1.gz
/usr/share/man/pt_BR/man1/killall.1.gz
/usr/share/man/pt_BR/man1/peekfd.1.gz
/usr/share/man/pt_BR/man1/prtstat.1.gz
/usr/share/man/pt_BR/man1/pslog.1.gz
/usr/share/man/pt_BR/man1/pstree.1.gz
/usr/share/man/ru/man1/fuser.1.gz
/usr/share/man/ru/man1/killall.1.gz
/usr/share/man/ru/man1/peekfd.1.gz
/usr/share/man/ru/man1/prtstat.1.gz
/usr/share/man/ru/man1/pslog.1.gz
/usr/share/man/ru/man1/pstree.1.gz
/usr/share/man/uk/man1/fuser.1.gz
/usr/share/man/uk/man1/killall.1.gz
/usr/share/man/uk/man1/peekfd.1.gz
/usr/share/man/uk/man1/prtstat.1.gz
/usr/share/man/uk/man1/pslog.1.gz
/usr/share/man/uk/man1/pstree.1.gz

References

Summary

In this tutorial we learn how to install psmisc on Fedora 34 using yum and dnf.