ac
Print statistics on how long users have been connected. More information: https://man.openbsd.org/ac.
-
Print how long the current user has been connected in hours:
ac
-
Print how long users have been connected in hours:
ac -p
-
Print how long a particular user has been connected in hours:
ac -p {{username}}
-
Print how long a particular user has been connected in hours per day (with total):
ac -dp {{username}}
License and Disclaimer
The content on this page is copyright © 2014—present the tldr-pages team and contributors.This page is used with permission under Creative Commons Attribution 4.0 International License.
While we do attempt to make sure content is accurate, there isn't a warranty of any kind.