Maybe this one would help you. http://www.cyberciti.biz/tips/how-do-i-find-out-linux-cpu-utilization.html On Wed, Nov 26, 2008 at 2:55 PM, Rangi, Jai <jrangi@xxxxxxxxxxxxxx> wrote: > In top, I only see java and mysql showing part of user CPU, I need to > know what application/process is using system cpu. > > -Jai > > -----Original Message----- > From: redhat-list-bounces@xxxxxxxxxx > [mailto:redhat-list-bounces@xxxxxxxxxx] On Behalf Of gopanapalli pradeep > Sent: Tuesday, November 25, 2008 10:19 PM > To: General Red Hat Linux discussion list > Subject: Re: High System CPU Usage > > I think u can use top > which will show the processes running on each cpu > > > > > ________________________________ > From: "Rangi, Jai" <jrangi@xxxxxxxxxxxxxx> > To: redhat-list@xxxxxxxxxx > Sent: Wednesday, November 26, 2008 11:44:24 AM > Subject: High System CPU Usage > > All, > > I have a cluster of 7 servers (ns client) running hava application and 1 > NFS server. Sometime In the top output system CPU is 55%. > > Could some give me a clues what might be causing system CPU to be that > high. > > Tried these > > Ps -eo pid,user,%cpu,args -sort %cpu the top list was java process and > mysql using 39% and 4% max. > > Checked the output from sar -c, sar -b and at the peak time > > > > 04:10:02 PM proc/s > > 04:20:01 PM 40.02 > > 04:30:01 PM 34.65 > > 04:40:02 PM 35.74 > > 04:50:01 PM 36.13 > > 05:00:01 PM 40.61 > > 05:10:01 PM 38.42 > > 05:20:01 PM 32.75 > > > > Sar -P all > > 04:20:01 PM CPU %user %nice %system %iowait %idle > > 04:30:01 PM all 22.70 0.00 64.87 1.83 10.61 > > 04:30:01 PM 0 24.14 0.00 63.88 1.69 10.29 > > 04:30:01 PM 1 21.25 0.00 65.86 1.97 10.92 > > 04:40:02 PM all 22.21 0.00 66.27 1.51 10.01 > > 04:40:02 PM 0 23.53 0.00 65.23 1.53 9.71 > > 04:40:02 PM 1 20.89 0.00 67.30 1.50 10.31 > > 04:50:01 PM all 22.55 0.00 66.49 1.45 9.52 > > > > I can see the high usage by System CPU, but I want to find out what > might be causing this high so High System CPU. Any lead would be > appreciated. > > > > Jai > > -- > redhat-list mailing list > unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe > https://www.redhat.com/mailman/listinfo/redhat-list > > > > > -- > redhat-list mailing list > unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe > https://www.redhat.com/mailman/listinfo/redhat-list > > -- > redhat-list mailing list > unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe > https://www.redhat.com/mailman/listinfo/redhat-list > -- Best Regards, Nanda Linn Aung http://infomm.com My WHB web hosting http://infomm.com/z-whb.php -- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list