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 06-02-2011, 09:22 AM   #1
bkarthick
Member
 
Registered: Apr 2009
Posts: 56

Rep: Reputation: 0
Need explanation for TOP command


HI,

I need explanation for top command.

If ran the TOP command,on top it shows few options like

cpu:0.5%us,0.0%sys,0.0%ni,99.5%id,

MEM:

Swap

Can you pls tell me what is %us,%sys,%ni etc..

And also temme what are the available commands to see cpu utilization.
Thanks
 
Old 06-02-2011, 09:34 AM   #2
Soadyheid
Senior Member
 
Registered: Aug 2010
Location: Near Edinburgh, Scotland
Distribution: Cinnamon Mint 17.0 at present.
Posts: 1,168

Rep: Reputation: 201Reputation: 201Reputation: 201
% User, %System % Nice %idle

They are showing you the percentage CPU utilisation for Processes running on your system (No, I don't know what "Nice" actually means.)
Have you checked out
Code:
man top
which will probably explain it better than I could here.

Play Bonny!
 
Old 06-02-2011, 09:36 AM   #3
SL00b
Member
 
Registered: Feb 2011
Location: LA, US
Distribution: SLES
Posts: 375

Rep: Reputation: 112Reputation: 112
From: http://www.seoforclients.com/hr/top/

us -> User CPU time: The time the CPU has spent running users’ processes that are not niced.

sy -> System CPU time: The time the CPU has spent running the kernel and its processes.

ni -> Nice CPU time: The time the CPU has spent running users’ proccess that have been niced.

wa -> iowait: Amount of time the CPU has been waiting for I/O to complete.

hi -> Hardware IRQ: The amount of time the CPU has been servicing hardware interrupts.

si -> Software Interrupts.: The amount of time the CPU has been servicing software interrupts.

id is idle, in other words CPU idle status

st is Time stolen from a virtual machine. Prior to Linux 2.6.11, unknown
 
Old 06-02-2011, 09:37 AM   #4
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,542
Blog Entries: 23

Rep: Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943
Hi,

Check out 'man top'.

FYI: I suggest that you look at 'How to Ask Questions the Smart Way' so in the future your queries provide information that will aid us in diagnosis of the problem or query.

Just a few links to aid you to gaining some understanding;



1 Linux Documentation Project
2 Rute Tutorial & Exposition
3 Linux Command Guide
4 Bash Beginners Guide
5 Bash Reference Manual
6 Advanced Bash-Scripting Guide
7 Linux Newbie Admin Guide
8 LinuxSelfHelp
9 Utimate Linux Newbie Guide
10 Linux Home Networking
11 Virtualization- Top 10

The above links and others can be found at 'Slackware-Links'. More than just SlackwareŽ links!


"Knowledge is of two kinds. We Know a subject ourselves, or we know where we can find information upon it."- Samuel Johnson
 
  


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
Netstat command output explanation. nobitavn Linux - Newbie 8 10-13-2010 12:21 PM
LXer: Can You Top This? 15 Practical Linux Top Command Examples LXer Syndicated Linux News 0 01-09-2010 10:42 PM
Finding the top CPU-using processes? "top" command does not help... catalytical Linux - Server 1 04-06-2009 05:50 PM
top command maooah Solaris / OpenSolaris 17 08-17-2008 08:43 PM
Top CPU usage explanation penguinco Fedora 3 11-30-2004 02:01 PM


All times are GMT -5. The time now is 06:29 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