How to Install and Uninstall psacct.x86_64 Package on Amazon Linux 2

Last updated: May 03,2024

1. Install "psacct.x86_64" package

Please follow the steps below to install psacct.x86_64 on Amazon Linux 2

$ sudo yum makecache $ sudo yum install psacct.x86_64

2. Uninstall "psacct.x86_64" package

Please follow the guidelines below to uninstall psacct.x86_64 on Amazon Linux 2:

$ sudo yum remove psacct.x86_64 $ sudo yum autoremove

3. Information about the psacct.x86_64 package on Amazon Linux 2

Loaded plugins: ovl, priorities
Available Packages
Name : psacct
Arch : x86_64
Version : 6.6.1
Release : 13.amzn2.0.2
Size : 93 k
Repo : amzn2-core/2/x86_64
Summary : Utilities for monitoring process activities
URL : http://www.gnu.org/software/acct/
License : GPLv3+
Description : The psacct package contains several utilities for monitoring
: process activities, including ac, lastcomm, accton and sa. The ac
: command displays statistics about how long users have been logged
: on. The lastcomm command displays information about previous
: executed commands. The accton command turns process accounting on
: or off. The sa command summarizes information about previously
: executed commands.