Linux top command output (meaning of %id in cpu states)

70190 pts.
Tags:
CPU usage
Linux
Ubuntu Linux
Hello. I have not been able to find the meaning of the %id column of the CPU states section of the Linux top command. It is in the summary area. Man page for 'top' mention all other columns but this. I have read in the web that some people 'guess' it means IDLE, but I'm not sure. Could you please clarify this for me? Thank you in advance. cadlg

Answer Wiki

Thanks. We'll let you know when a new response is added.

%id <b>is</b> percent idle. For instance:
<pre>
Cpu(s): 1.0%us, 0.7%sy, 0.0%ni, 97.3%id, 0.0%wa, 0.0%hi, 1.0%si, 0.0%st
</pre>
That shows the CPU 97.3% idle.

Here’s the meaning of each of these (or so I understand… the man page doesn’t specifically mention it, so I did a web scouring):

1. us -> User CPU time: The time the CPU has spent running users’ processes that are not niced.
2. sy -> System CPU time: The time the CPU has spent running the kernel and its processes.
3. ni -> Nice CPU time: The time the CPU has spent running users’ proccess that have been niced.
4. wa -> iowait: Amount of time the CPU has been waiting for I/O to complete.
5. hi -> Hardware IRQ: The amount of time the CPU has been servicing hardware interrupts.
6. si -> Software Interrupts.: The amount of time the CPU has been servicing software interrupts.

source: http://www.idealwebtools.com/blog/top/

Discuss This Question: 3  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • petkoa
    Carlos, %id is just what you found on the web, idle. A small experiment with cat some.big.input.file > an.output.file will clarify the question.
    3,120 pointsBadges:
    report
  • carlosdl
    Hehe, yes. It seems pretty obvious now. Thank you, Petko.
    70,190 pointsBadges:
    report
  • Michael Tidmarsh
    Carlosdl is one of ITKE's top members! Check out all the questions he has contributed on throughout his time on ITKnowledgeExchange.
    33,120 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following