User status and activity monitoring in Linux with GNU acct

Linux has been a multi-user system since the beginning, and UNIX long before that, so there are built-in tools that go back 40 years to help you monitor who’s logged into your server, who’s using resources, and for what. The psacct package contains several commands to gather detailed reports about user status and activity.

Source: LXer – User status and activity monitoring in Linux with GNU acct