This article covers how to monitor user activity with the acct tool on Ubuntu 20.04. In fact, Acct can monitor the user activity & getting the information about the user performance. It provides the information about last commands executed by users, user logins / logouts details in hours by day-wise, system activity information,& individuals user information.
How to install acct on ubuntu ?
1. Update the System:
$ apt-get update
2. Install the psacct or acct on system:
$ apt-get install acct
3. Check the acct version:
$ ac --version