LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 01-10-2012, 01:41 PM   #1
kopper27
Member
 
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 01:42 PM.
 
Old 01-10-2012, 05:39 PM   #2
loadedmind
Member
 
Registered: Sep 2003
Location: Texas
Distribution: Red Hat/CentOS
Posts: 290
Blog Entries: 1

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.

Quote:
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.
  


Reply


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 01:14 AM
cpu usage 100% ahhkyyda Linux - Enterprise 2 09-03-2009 08:26 AM
FF 2.0 100% CPU Usage cexshun Slackware 12 04-05-2007 02:11 AM
Is it normal for ATI Linux Drivers to have High CPU Usage? pjpeter Linux - Newbie 6 10-10-2004 09:51 PM
CPU usage 100% ecsfan Red Hat 17 11-19-2003 04:06 PM


All times are GMT -5. The time now is 07:10 AM.

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