Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 01-10-2012, 12:41 PM   #1
Registered: Nov 2009
Posts: 147

Rep: Reputation: 16
CPU Usage 100% normal 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

Last edited by kopper27; 01-10-2012 at 12:42 PM.
Old 01-10-2012, 04:39 PM   #2
Registered: Sep 2003
Location: Texas
Distribution: Red Hat/CentOS
Posts: 302
Blog Entries: 4

Rep: Reputation: Disabled
I suppose the typical questions need to be asked here:

- What are the specs of the hardware Red Hat is running on?
Ex. Dell R710 16-way w/ 16GB RAM, RAID 5 on Cheetahs (15kRPM), etc.

system was working fine until last week
What was the last change made to the system before you started experiencing these symptoms? Something must have changed. Anything from a yum update to a hardware change, e.g. swapping hard drives, upgrading RAM, etc.

What else is top showing you besides that particular bash process?

What is the output of free -m ?

What is the output of cat /proc/interrupts?

Have you installed the sar utils? If so, what are their outputs?

Look at your typical iostat, vmstat and relevant performance monitoring utilities. Anything out of the ordinary?

Disk space full? You can check it with df -h. Verify which directories are using how much disk space with du -sh /* from top level. Then, traverse into each applicable directory by using du -sh /etc/* then du -sh /etc/httpd/* and so forth.

Verify your processes by using ps aux and ps -elf

Use lsof to view open files. man lsof has lots of useful information on proper usage.

Have you checked for DDOS attacks? Perhaps something is hitting your server hard with packets. Check this with the typical tools, i.e. netstat, tcpdump, snort, etc.
1 members found this post helpful.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
cpu usage over 100%. huangxin1985 Linux - Kernel 1 12-27-2011 12:14 AM
cpu usage 100% ahhkyyda Linux - Enterprise 2 09-03-2009 07:26 AM
FF 2.0 100% CPU Usage cexshun Slackware 12 04-05-2007 01:11 AM
Is it normal for ATI Linux Drivers to have High CPU Usage? pjpeter Linux - Newbie 6 10-10-2004 08:51 PM
CPU usage 100% ecsfan Red Hat 17 11-19-2003 03:06 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:47 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration