You can use top: top -b -n 200 -d 60 >> /path/to/file This says to run 200 times in batch mode sleeping 60 seconds between updates.
Start it in cron or at. Denis On Tue, 2002-11-05 at 10:59, James Melin wrote: > Is there any logging that goes on in a 'out of the box' SuSE 7.0 linux > distribution that would show what task was using how much CPU at a given > hour? I'm seeing a spike around midnight to 2 AM of about 16.9% of the CPU > of the whole mainframe going to the linux partition Normal use is between > 0.5% and 3.3% (it's a test machine). I am running the Webalizer reports, > but those should not take 2-3 hours to complete, should they? Also, this is > in LPAR mode, not under VM. If someone can tell me how to enable some > logging that would give me this information that would be helpful also. -- Denis Beauchemin, analyste Universit� de Sherbrooke, S.T.I. T: 819.821.8000x2252 F: 819.821.8045
