Solved

Linux CPU

Posted on 2012-03-26
6
253 Views
Last Modified: 2012-06-27
I am running RHEL 6.2

My machine usually shows about 100 percent idle

It is now running at 96 percent idle, and it is doing this somewhat persistently

How do I find out what is taking the 4 percent ?  What commands should I run
0
Comment
Question by:Los Angeles1
6 Comments
 
LVL 31

Expert Comment

by:farzanj
ID: 37766166
Try
top
0
 
LVL 11

Expert Comment

by:gmbaxter
ID: 37766169
"top" will show the current proceses, their PIDs, CPU load etc
0
 
LVL 11

Expert Comment

by:jgiordano
ID: 37766188
just curious how you are getting the idle information?
0
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 
LVL 11

Accepted Solution

by:
legolasthehansy earned 500 total points
ID: 37766254
Run this command,

ps -eo pcpu,pid,user,args | sort -r -k1 | less

It gives you which process takes the highest CPU cycles in descending order.
0
 
LVL 3

Expert Comment

by:rickygm
ID: 37766343
Hi , top -d2 and later Shift+M , press 1 a show cpu core

regardss
0
 

Author Closing Comment

by:Los Angeles1
ID: 37766351
I was using top to get idle, but I was looking for the ps command, sorry I did not post more clearly
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This is the error message I got (CODE) Error caused by incompatible libmp3lame 3.98-2 with ffmpeg I've googled this error message and found out sometimes it attaches this note "can be treated with downgrade libmp3lame to version 3.97 or 3.98" …
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

778 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question