One Day One GNU/Linux Command (AC)

3 views
Skip to first unread message

Bharathi Subramanian

unread,
May 7, 2008, 1:46:31 AM5/7/08
to VEC-FOSS, GNU/Linux Users Group - Trichy, GNU/Linux User Group of TCE
One Day One GNU/Linux Command
=============================

ac - Print statistics about users' connect time

Summary:

"ac" command will print the users' connect time details in different
formats (Total, Per day, Per user, etc..). It collect this information
from the /var/log/wtmp file.

Example:

$ ac -- Print total usage.

$ ac -f /var/log/wtmp.1 -- Read the info from different wtmp file.

$ ac -p -- Print individual user info.

$ ac -dy -- Print daily based report.

$ ac --complain -- Detect the time-warp, missing record, etc., and
show appropriate error message.

Read: man ac, wtmp

HTH :)
--
Bharathi S

Reply all
Reply to author
Forward
0 new messages