How To Install psmisc.x86_64 on Amazon Linux 2

In this tutorial we learn how to install psmisc.x86_64 in Amazon Linux 2. psmisc.x86_64 is Utilities for managing processes on your system

Introduction

In this tutorial we learn how to install psmisc.x86_64 on Amazon Linux 2.

What is psmisc.x86_64

The psmisc package contains utilities for managing processes on your system displays 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.

We can use yum to install psmisc.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install psmisc.x86_64.

Install psmisc.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install psmisc.x86_64

How To Uninstall psmisc.x86_64 on Amazon Linux 2

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

sudo yum remove psmisc.x86_64

psmisc.x86_64 Package Contents on Amazon Linux 2

/usr/bin/killall
/usr/bin/peekfd
/usr/bin/prtstat
/usr/bin/pstree
/usr/bin/pstree.x11
/usr/sbin/fuser
/usr/share/doc/psmisc-22.20
/usr/share/doc/psmisc-22.20/AUTHORS
/usr/share/doc/psmisc-22.20/COPYING
/usr/share/doc/psmisc-22.20/ChangeLog
/usr/share/doc/psmisc-22.20/README
/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/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/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/pstree.1.gz

References

Summary

In this tutorial we learn how to install psmisc.x86_64 on Amazon Linux 2 using yum.