?
Solved

Linux CPU

Posted on 2012-03-26
6
Medium Priority
?
258 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
10 Questions to Ask when Buying Backup Software

Choosing the right backup solution for your organization can be a daunting task. To make the selection process easier, ask solution providers these 10 key questions.

 
LVL 11

Accepted Solution

by:
legolasthehansy earned 2000 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses
Course of the Month15 days, 6 hours left to enroll

770 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