-   Solaris / OpenSolaris (
-   -   resource usage logging (

bigearsbilly 07-16-2007 03:43 AM

resource usage logging
I need to log or ascertain the resources used by a particular user.

I can think of using prstat and say logging it over a period of time
Is there a niftier way of doing it?

(over to you Jilliagre!)

jlliagre 07-16-2007 04:37 AM

prstat is fine:

nohup prstat -a -U bigearsbilly -c 60 480 >/var/tmp/prstat.out 2>&1 </dev/null &

bigearsbilly 07-16-2007 04:46 AM

thanks friend.

All times are GMT -5. The time now is 03:13 PM.