Linux Use Top Command How to Show Current Task Rhel5 How to use Top command

Top command it will list out current task information. This command provides dynamic real time of running system. Top command there output it contains information of Process id PID. User who runs the specified process, CPU how much these process occupies the CPU process then it will list out Time of the process and the final one is command.

use top command in red hat Linux
[root@rhel5 ~]# top
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
3073 root 15 0 35984 9.8m 5660 R 26.8 6.4 0:51.55 Xorg
3374 root 16 0 62848 14m 9432 R 9.6 9.4 0:04.44 gnome-terminal
3446 root 15 0 2168 1036 792 R 1.0 0.7 0:00.12 top
139 root 15 0 0 0 0 S 0.3 0.0 0:00.02 pdflush
141 root 10 -5 0 0 0 S 0.3 0.0 0:00.32 kswapd0
2941 root 18 0 1928 612 536 S 0.3 0.4 0:00.31 hald-addon-stor
3181 root 15 0 17616 8488 6220 S 0.3 5.4 0:02.32 metacity
3234 root 15 0 2536 1132 936 S 0.3 0.7 0:00.10 gam_server
3248 root 15 0 47332 11m 8420 S 0.3 7.2 0:01.56 wnck-applet
1 root 15 0 2044 632 544 S 0.0 0.4 0:01.05 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.00 ksoftirqd/0
4 root RT 0 0 0 0 S 0.0 0.0 0:00.00 watchdog/0
5 root 10 -5 0 0 0 S 0.0 0.0 0:00.07 events/0
6 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 khelper
7 root 11 -5 0 0 0 S 0.0 0.0 0:00.00 kthread
10 root 10 -5 0 0 0 S 0.0 0.0 0:00.10 kblockd/0
11 root 20 -5 0 0 0 S 0.0 0.0 0:00.00 kacpid
72 root 20 -5 0 0 0 S 0.0 0.0 0:00.00 cqueue/0

Related post