ac
If you want to know the time each user login used by the server, you can use the ac command. This command requires you to install acct
package (Debian) or packet (RHEL, Centos). psacct
If we want to know the time of all user login used by the server and we can run directly ac command, without any parameters.
ac
If we want to know the time used by each user, you can add options. -p
and -p
We can also add the option to browse for users to use the server for each day and time. -d
ac -d | tail -10