system performance monitoring

Hello Everyone,Hope y'all had a good weekend. Can someone share some scripts which monitors the CPU and Memory Usage for 2 particular users and print out in a file every 1 minutue.Thanks
[215 byte] By [nagarajan] at [2007-11-26 7:56:47]
# 1
From "man prstat"prstat -c -u USERID 60 > somefileThis will get you the process list. You'll need to write an awk script to do the summations.HTH,Roger S.Message was edited by: Jo_nage
Jo_nage at 2007-7-6 20:22:20 > top of Java-index,General,Talk to the Sysop...