LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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, 08: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, 08:34 AM   #2
Soadyheid
Senior Member
 
Registered: Aug 2010
Location: Near Edinburgh, Scotland
Distribution: Cinnamon Mint 20.1 (Laptop) and 20.2 (Desktop)
Posts: 1,669

Rep: Reputation: 485Reputation: 485Reputation: 485Reputation: 485Reputation: 485
% 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, 08: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, 08:37 AM   #4
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,922
Blog Entries: 44

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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:05 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
Open Source Consulting | Domain Registration