Simpler Navigation coming for Servers and Operating Systems
Coming soon: a much simpler Servers and Operating Systems section of the Community. We will combine many of the older boards, and you won't have to click through so many levels to get at the information you need. If you are looking for an older board and do not find it, check the consolidated boards, as the posts are still there.
cancel
Showing results for 
Search instead for 
Did you mean: 

Performance monitor

Chandrahasa s
Valued Contributor

Performance monitor

HI gurus,

Utilization of cpu,monitor,mem may go behond limit
to trace what is the exact cause we need certain data in our hand
is any body have script which will collect data like
running process,sar -v,top output etc when mem,cpu,disk utilization
increases beyond threshold.

Thanks in advance.
Chandra
2 REPLIES
VVS
Regular Advisor

Re: Performance monitor

You can use UNIX 95 commands to gather the information as,

UNIX95= ps -ef -o pcpu="CPU %" -o ruser=USER -o pid,ppid,args|sort -rk1

UNIX95= ps -ef -o ruser=USER -o "vsz,pid,user,pcpu,cpu,args" |sort -rn -k2

You can also use extarct tool to gather this information.

Regards,
VVS

Work is life, you know, and without it, there's nothing but fear and insecurity.
Chandrahasa s
Valued Contributor

Re: Performance monitor

Here my requirement is data collection should happen when cpu,mem,disk threshold get cross.

Chandra