Quantcast
Channel: Getting dates associated to acct sa output stats - Server Fault
Viewing all articles
Browse latest Browse all 3

Getting dates associated to acct sa output stats

$
0
0

I'm trying to get stats on global CPU usage of a server on a per-user basis so I installed GNU Accounting (acct) (on Ubuntu server 16.04).

When asking for stats with sa -m, it takes data from the current /var/log/account/pacct, which is rotated by the acct service. I understood that I can give the archived rotated files as input to it, if I want to get statistics on older entries.

The problem is that sa gives no dates on the statistics that are displayed, and I couldn't find a way to have dates on it? This would allow me get statistics on a day or week manner.


Viewing all articles
Browse latest Browse all 3

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>