Forrest logo
back to the ac tool

ac:tldr:96a27

ac: Print how long users have been connected in hours.
$ ac --individual-totals
try on your machine

The "ac" command stands for "accounting," and it is used to display accounting statistics for login/logout times of users on a Unix-like system.

The option "--individual-totals" is a flag that specifies that the output should include individual totals for each user's usage. When this flag is used, the "ac" command will provide a summary of each user's login and logout times, along with the total amount of time they have spent logged in. This can be useful for tracking the activity and usage patterns of individual users on the system.

By running the command "ac --individual-totals," you will get a list of users with their respective total login and logout times, allowing you to see how much time each user has spent actively using the system.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the ac tool