How to get timestamps with prstat?

January 23, 2005 at 16:51:44
Specs: Solaris 8, blah

I am trying to benchmark the cpu usage of applications. I am getting the cpu utilization every second using the prstat command, but the information is useless to me unless I have a timestamp of the utilization.

How would I accomplish this?

Thanks in advance,

See More: How to get timestamps with prstat?

Report •

mdhmi21 January 24, 2005 at 10:42:56

Please post your current command syntax. You might want to have a look at mpstat.


Report •

January 24, 2005 at 11:59:35


This is my command syntax:
prstat -u root 1 3600 > file_out
which gives me cpu utilization by process every second for an hour.
I would like to get the timestamps for each of these lines of output as well.

I tried mpstat and I like that it prints out utilization of each processor, but I also need to record utilization of each of a user's processes.


Report •

Related Solutions

Ask Question