Install acct by entering the following commands in the terminal:
sudo apt update sudo apt install acct
Description:
GNU Accounting utilities for process and login accounting
GNU Accounting Utilities is a set of utilities which reports and summarizes data about user connect times and process execution statistics. . "Login accounting" provides summaries of system resource usage based on connect time, and "process accounting" provides summaries based on the commands executed on the system. . The 'last' command is provided by the sysvinit package and not included here.
Homepage: http://www.gnu.org/software/acct/
Version: 6.6.4-1
Section: admin