community man page

ac

Print statistics on how long users have been connected.

9 examples·source: tldr · CC-BY·status: verified
Reading is open to everyone. Suggesting a flag, fixing an example or adding a recipe is opening to verified-email accounts soon — every change is moderated before it goes live.
curl https://curlhub.sh/man/ac
same page, in your terminal

Examples

Print how long the current user has been connected in hours GNU

ac

Print how long users have been connected in hours GNU

ac [-p|--individual-totals]

Print how long a particular user has been connected in hours GNU

ac [-p|--individual-totals] username

Print how long a particular user has been connected in hours per day (with total) GNU

ac [-d|--daily-totals] [-p|--individual-totals] username

Also display additional details GNU

ac --compatibility

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