01-06-2010
Do the following:
ps aux | awk '{print $11}' | sort | uniq -c | sort -nk1 | tail -n5
ps aux | awk '{print $1}' | sort | uniq -c | sort -nk1 | tail -n5
Both of those will provide information on how many threads are running of one service or user.
top will provide information in real time regarding CPU% Mem% Time%
ps auxf will show child processes of an instance, which you may want to look into. For example if an apache instance has 500 child threads of php for 1 user, you can just tail the apache log for more information on what's causing it.
I would also suggesting looking into both iotop and iftop -i eth0 (depending on your device) to see if there's any saturation over io or the network.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I know that top reports the load, but what other command line utility will display the load on a system running Solaris 2.6?
Thanks,
Chuck (3 Replies)
Discussion started by: 98_1LE
3 Replies
2. UNIX for Advanced & Expert Users
Hi,
I am seeing very high kernel usage and very high load averages on my system (Although we are not loading much data to our database). Here is the output of top...does anyone know what i should be looking at?
Thanks,
Lorraine
last pid: 13144; load averages: 22.32, 19.81, 16.78 ... (4 Replies)
Discussion started by: lorrainenineill
4 Replies
3. Red Hat
Hi Buddies,
Thanx for reading my first post...
After googling a lot and searching so many forums I am feeling down a bit...
Please don't mind my ignorence, and my grammer ... :)
My server is running RHEL 2.6.9-5.EL. The cpu load is going higher than roof, almost 100 sometimes.
I am... (2 Replies)
Discussion started by: squid04
2 Replies
4. Solaris
Hi All,
Please see to the prstat o/p of one of my sun box..
Total: 1 processes, 68 lwps, load averages: 531.00, 305.18, 144.77 Check the pstack ....
As i have read in all docs , people say a value of 5 is considered high CPU usage , i don't know then how we can even relate those... (3 Replies)
Discussion started by: mpics66
3 Replies
5. UNIX for Dummies Questions & Answers
How can i determine the load average of a centos server for the last 1 hour? (3 Replies)
Discussion started by: proactiveaditya
3 Replies
6. Red Hat
i have a Intel Quad Core Xeon X3440 (4 x 2.53GHz, 8MB Cache, Hyper Threaded) with 16gig and 1tb harddrive with a 1gb port and my apache is causing my cpu to go up to 100% on all four cores heres my http.config
<IfModule prefork.c>
StartServers 10
MinSpareServers 10
MaxSpareServers 15... (4 Replies)
Discussion started by: awww
4 Replies
7. UNIX for Advanced & Expert Users
Hi all, hope you can help me. I'm getting high load average and can't find a reason for this, please share your inputs.
load average: 7.78, 7.50, 7.31
Tasks: 330 total, 1 running, 329 sleeping, 0 stopped, 0 zombie
Cpu0 : 7.0%us, 1.0%sy, 0.0%ni, 23.9%id, 0.0%wa, 38.9%hi,... (4 Replies)
Discussion started by: erick_tuk
4 Replies
8. UNIX for Advanced & Expert Users
With linux kernel 2.4.22-1.2199.nptlsmp (I know, it's very old) Sometimes Load average increases to big value (over 7) but my 4 vCPU are in
idle state (5% busy every cpu). My web procedure was gone down so I found out that process (with 4732 process id, see my following output)
was in... (4 Replies)
Discussion started by: zio_mangrovia
4 Replies
9. UNIX for Dummies Questions & Answers
TOP:
top - 17:09:39 up 47 days, 1:34, 13 users, load average: 6.54, 10.96, 11.27
Tasks: 274 total, 3 running, 271 sleeping, 0 stopped, 0 zombie
Cpu0 : 6.0%us, 44.9%sy, 0.0%ni, 48.8%id, 0.0%wa, 0.0%hi, 0.3%si, 0.0%st
Cpu1 : 6.3%us, 44.4%sy, 0.0%ni, 48.0%id, 0.3%wa, ... (2 Replies)
Discussion started by: stunn3r
2 Replies
10. Linux
Hello,
The organization I work for uses SCOM(Microsoft Systems Center Operations Manager) for Data Center Management/alerting. Since the client was installed on our Linux servers we have been getting messages from SCOM stating "DPC Time Percentage is too high". This is happening on all our... (0 Replies)
Discussion started by: cdlaforc
0 Replies