CentOS Linux Server Guide

CentOS Linux system information - Process Activities information

top

  • command used to display task that are currently running in real time.

  • It can  also used can be used to display system summary information as well as a list of tasks currently being managed by the Linux kernel.

  • This command can also used to troubleshoot CPU and memory hogging process.

  • The information is refreshed in every 5 seconds.

  • To quit from displaying information, press <q> button.

Synopsis

top [options]

 

options  description
-h  show application version and the usage prompt
-d  delay time, specifies the delay between screen updates

 

 

hot key  description
q  quit the application
t  toggle display of summary task information on/off
m  toggle display memory information off and on/off
a  sorting the display of process consuming highest system resources

 

 
# top
 

top - 22:41:30 up 1:41, 2 users, load average: 0.00, 0.01, 0.09
Tasks: 68 total, 1 running, 67 sleeping, 0 stopped, 0 zombie
Cpu(s): 0.0% us, 0.7% sy, 0.0% ni, 99.3% id, 0.0% wa, 0.0% hi, 0.0% si
Mem: 514440k total, 495676k used, 18764k free, 48672k buffers
Swap: 1048568k total, 0k used, 1048568k free, 376168k cached

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
4219 root 15 0 141m 8292 2432 S 0.3 1.6 0:12.61 X
4488 gdm 15 0 20184 9.8m 6412 S 0.3 2.0 0:04.90 gdmgreeter
1 root 16 0 2424 552 472 S 0.0 0.1 0:01.55 init
2 root RT 0 0 0 0 S 0.0 0.0 0:00.00 migration/0
3 root 34 19 0 0 0 S 0.0 0.0 0:00.01 ksoftirqd/0
4 root 5 -10 0 0 0 S 0.0 0.0 0:00.05 events/0
5 root 6 -10 0 0 0 S 0.0 0.0 0:00.02 khelper
6 root 15 -10 0 0 0 S 0.0 0.0 0:00.00 kacpid
87 root 5 -10 0 0 0 S 0.0 0.0 0:00.05 kblockd/0
88 root 15 0 0 0 0 S 0.0 0.0 0:00.00 khubd
105 root 20 0 0 0 0 S 0.0 0.0 0:00.00 pdflush
106 root 15 0 0 0 0 S 0.0 0.0 0:00.46 pdflush
108 root 6 -10 0 0 0 S 0.0 0.0 0:00.00 aio/0
107 root 15 0 0 0 0 S 0.0 0.0 0:00.08 kswapd0
254 root 25 0 0 0 0 S 0.0 0.0 0:00.00 kseriod
374 root 21 0 0 0 0 S 0.0 0.0 0:00.00 scsi_eh_0
395 root 8 -10 0 0 0 S 0.0 0.0 0:00.00 kmirrord

 

 

Read More about Obtaining CentOS Linux System Information

 



Copyright 2011 http://www.1a-centosserver.com All Rights Reserved

All trademarks are the property of their respective owners.

Contact Us | Terms of Use | Privacy Policy