Can we get process list using sar in Ubuntu?
By John Parsons •
Is able to get a processes list that runs on April 11 in the Ubuntu Server using sar or other tools.
1 Answer
No, this is not how sar (system activity report) works. The sar manpage details the possible options.
Common options are CPU, memory, network, I/O stats etc. But sar does not contain any information about which processes were running at a given time.
For detailed process information, you have to do some other kind of monitoring - for instance a script that takes a snapshot of ps aux every 10 minutes.