1755591 Members
3834 Online
108836 Solutions
New Discussion юеВ

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 2
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