New answers tagged sar
There are several options: use a script which writes needed data on a regular basis to a logfile. You could use cron to write the output of ps (and other commands) every x minutes into a logfile. Better it would be to use a specialized program, which does this for you. atop is very good at this, at it takes care of logfile retention. atop is available ...
Top 50 recent answers are included