ac

Print statistics on how long users have been connected. More information: https://man.openbsd.org/ac.

ac

ac -p

ac -p username

ac -dp username