Monitoring user activity using acct
Acct is an open source application which helps monitor user activity on a Linux system. It runs in the background and tracks all the activities of the users and also maintains a track of the resources being used.
Getting started
To use the commands of acct
, we first need to install the package on our Linux system by using the following command:
apt-get install acct
In case the above method doesn't work properly, we can download the package manually by visiting the link http://packages.ubuntu.com/precise/admin/acct.
- After downloading the package, we need to extract it into a directory somewhere, such as on the desktop.
- Then, move it into the directory.
- Next, run the script to configure the package.
- Once it completes, next we run the command
make
: - Then, the command
make install
: - Once successfully done, it will install the package on your Linux system.
How to do it?
The acct
package has different commands for monitoring process activities:
- Based on a particular...