Operating System - HP-UX
1837418 Members
3616 Online
110116 Solutions
New Discussion

one is idle,the other is quite busy in my two web server

 
jiyl
Occasional Advisor

one is idle,the other is quite busy in my two web server

there are two web server hosting apache,one is idle,the other is quite busy using 'sar -u',load-balancing hardware in front of web server,from there it appears same connections,I want to know which process consume much resource,please give me an answer,i'm waiting for you reply,think you!!
2 REPLIES 2
Sridhar Bhaskarla
Honored Contributor

Re: one is idle,the other is quite busy in my two web server

Hi,

Do you have glance?. If so, run 'glance' and you will find the processes that are running heavy on the system. If you don't have glance, then try the following.

UNIX95= ps -e -o 'pcpu pid args' |sort -n

Will sort the processes by their CPU utilization. Note the space between = and ps.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
jiyl
Occasional Advisor

Re: one is idle,the other is quite busy in my two web server

think you reply!!!