Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Determining cause behind high load average Post 302384963 by dnbert on Wednesday 6th of January 2010 06:52:05 PM
Old 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

determining the load on a system

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

Sun: High kernel usage & very high load averages

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

High cpu load average

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

Prstat - Average Value too high

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

Determining load average over a period of time

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

apache high cpu load on high traffic

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

High load average troubleshoot

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

High load average in idle state

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

High Load average | vmstat hints what ?

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

Need help determining if %SI(software interrupts) are too high

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
UNIQ(1) 							   User Commands							   UNIQ(1)

NAME
uniq - report or omit repeated lines SYNOPSIS
uniq [OPTION]... [INPUT [OUTPUT]] DESCRIPTION
Filter adjacent matching lines from INPUT (or standard input), writing to OUTPUT (or standard output). With no options, matching lines are merged to the first occurrence. Mandatory arguments to long options are mandatory for short options too. -c, --count prefix lines by the number of occurrences -d, --repeated only print duplicate lines, one for each group -D print all duplicate lines --all-repeated[=METHOD] like -D, but allow separating groups with an empty line; METHOD={none(default),prepend,separate} -f, --skip-fields=N avoid comparing the first N fields --group[=METHOD] show all items, separating groups with an empty line; METHOD={separate(default),prepend,append,both} -i, --ignore-case ignore differences in case when comparing -s, --skip-chars=N avoid comparing the first N characters -u, --unique only print unique lines -z, --zero-terminated line delimiter is NUL, not newline -w, --check-chars=N compare no more than N characters in lines --help display this help and exit --version output version information and exit A field is a run of blanks (usually spaces and/or TABs), then non-blank characters. Fields are skipped before chars. Note: 'uniq' does not detect repeated lines unless they are adjacent. You may want to sort the input first, or use 'sort -u' without 'uniq'. Also, comparisons honor the rules specified by 'LC_COLLATE'. AUTHOR
Written by Richard M. Stallman and David MacKenzie. REPORTING BUGS
GNU coreutils online help: <http://www.gnu.org/software/coreutils/> Report uniq translation bugs to <http://translationproject.org/team/> COPYRIGHT
Copyright (C) 2017 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. SEE ALSO
comm(1), join(1), sort(1) Full documentation at: <http://www.gnu.org/software/coreutils/uniq> or available locally via: info '(coreutils) uniq invocation' GNU coreutils 8.28 January 2018 UNIQ(1)
All times are GMT -4. The time now is 08:07 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy