01-10-2012
100% CPU usage linux commands
hi guys
the application guy told me that his server was executing linux commands with some delay...let's say 1-2-3 seconds....
checking the system we found that when the delay took place CPU usage for that command in top was 100%.... this happens for bash, chkconfig, w, df, du among others in fact when you start working with command load average is normal and after executing commands load average is the double amount
has someone seen this before? a know issue?
something to check?
important to note is this the Red Hat Release is 5.4 Beta which I think is not good but the system was working fine until last week
by the way is it recommended to upgrade from Red Hat 5.4 Beta to 5.4 final release? or even 5.5?
thanks a lot guys
10 More Discussions You Might Find Interesting
1. HP-UX
how can I find cpu usage memory usage swap usage and
I want to know CPU usage above X% and contiue Y times and memory usage above X % and contiue Y times
my final destination is monitor process
logical volume usage above X % and number of Logical voluage above
can I not to... (3 Replies)
Discussion started by: alert0919
3 Replies
2. UNIX for Dummies Questions & Answers
Hi there. I was looking at the output from running top and for short amounts of time, when I see all the process running and add up the values in the %CPU column the value exceeds 100% (I just add them quickly in my head). I assume that if I were to add up all my processes in the entire list,... (2 Replies)
Discussion started by: Carl1976
2 Replies
3. Solaris
Hello Friends,
On one of my Solaris 10 box, CPU usage shows 100% using "sar", "vmstat". However, it has 4 CPUs and prstat and glance are not showing enough processes to justify high CPU utilization.
=========================================================================
$ prstat -a
... (4 Replies)
Discussion started by: mahive
4 Replies
4. AIX
How to monitor the IBM AIX server for I/O usage, memory usage, CPU usage, network usage, storage usage? (3 Replies)
Discussion started by: laknar
3 Replies
5. UNIX for Advanced & Expert Users
Hi
Is there any shell script that accesses multiple linux servers to get details such as CPU usage, RAM used etc. The access of the servers must be parallel not serial in the sense it must ping all the servers at a time to get information.The script has to be triggered from a host system and get... (7 Replies)
Discussion started by: mssrivatsa
7 Replies
6. UNIX for Dummies Questions & Answers
Hello
Is there a way to get CPU usage on UNIX environments (SunOS, Linux, HP-UX, AIX) without executing any commands?
The reason I ask is because I am asked to research any potential methods to monitor performance on UNIX environments but not use any commands because they want to 'poll'... (5 Replies)
Discussion started by: flagman5
5 Replies
7. Shell Programming and Scripting
We are using linux server. We have below script running on the crontab and it send the alert if the cpu usage is above 90%.
My question is, the below script tells the CPU usage for one CPU or all CPU in the server?
sar 1 1 | sed '$!d' | awk '{printf("%d", $8)}' > $SAR_LOG
Please let me... (4 Replies)
Discussion started by: govindts
4 Replies
8. Shell Programming and Scripting
Hi ,
Please some one help me How to write a shell script to monitor cpu usage vmstat in Redhat linux .
Thanks, (4 Replies)
Discussion started by: saanvi
4 Replies
9. Shell Programming and Scripting
I am looking for a way to log and graphically display cpu and RAM usage of linux processes over time. Since I couldn't find a simple tool to so (I tried zabbix and munin but installation failed) I started writing a shell script to do so
The script file parses the output of top command through... (2 Replies)
Discussion started by: andy_dufresne
2 Replies
10. Shell Programming and Scripting
Hi all
I was wondering if its possible to write a script to keep CPU usage at 90%-95%? for a single cpu linux server?
I have a perl script I run on servers with multple cpu's and all I do is max all but one cpu to get into the 90'% utilised area. I now need a script that raises the CPU to... (4 Replies)
Discussion started by: sudobash
4 Replies
xrestop(1) General Commands Manual xrestop(1)
NAME
xrestop - monitor server resources used by X11 clients
SYNOPSIS
xrestop -help
xrestop [ -display display ] [ --batch ] [ --delay-time seconds ]
DESCRIPTION
Xrestop uses the X-Resource extension to provide 'top'-like statistics of each connected X11 client's server-side resource usage. It is
intended as a developer tool to aid more efficient server resource usage and debug server-side resource leakage.
OPTIONS
--help Show usage.
--display, -d <display>
Specify X11 display to monitor.
--delay-time, -dt <seconds>
Time in seconds between taking samples. Default is 2 seconds.
--batch, -b
Run in batch mode. Slightly more detailed infomation is streamed to stdout rather than the usual curses interface. This mode is
intended for debugging a single client with something like
xrestop -b | grep -A 14 appname
--max-samples, -m <count>
Specify number of times to gather and display results. Default is continuous, which can be set with 0 (zero).
SEE ALSO
X(7), top(1).
BUGS
The X-Resource extension is very new and may not be 100% accurate.
AUTHOR
xrestop was written by Matthew Allum <mallum@handhelds.org>.
xrestop(1)