How to get status for process

  • Follow


Is there a command that will collect statistics for a specified
process? What I need is a way to start a process and collect average,
min, and max cpu usage and memory usage.

I know I can use prstat to view process information but I would like to
collect information for one process from start to finish.

Thank you for your help

John

0
Reply tendengarci (112) 9/27/2005 3:25:50 PM

coltrane schrieb:
> Is there a command that will collect statistics for a specified
> process? What I need is a way to start a process and collect average,
> min, and max cpu usage and memory usage.
> 
> I know I can use prstat to view process information but I would like to
> collect information for one process from start to finish.
> 
> Thank you for your help
> 
> John
> 

sounds like you are looking for "collect" (no joke). This tool is part of Sun Studio.
Together with er_print or analyzer you will get very detailed reports about
resource usage, etc.

HTH,
Tom
0
Reply Thomas 9/27/2005 3:30:06 PM


check out the "time" command

0
Reply Aldo 9/27/2005 5:49:28 PM

thanks for the pointer

0
Reply coltrane 9/28/2005 6:44:44 PM

cool,

it's not everything but it it's a great start

thanks

john

0
Reply coltrane 9/28/2005 6:47:56 PM

4 Replies
272 Views

(page loaded in 0.095 seconds)

Similiar Articles:













7/24/2012 11:57:42 AM


Reply: