TOP Command Examples to Monitor Server Performance

If you are server administrator you should know the server monitoring commands. The best and standard command program for checking cpu/memory/current process usage of processes is “top”. You can use the top command to find out which user is taking too much of load on the server. like, how much cpu consuming, how much memory consuming and how long this will active and which command is running. I have checked the top command with different option and posted in this article.

1. Top command Output.

By default the top command sorted output by CPU usage. In this top command output you can see the status of tasks, cpu’s, mem, swap, server uptime, how many users are currently logged in server and load average past 5,10 and 15 mins.

[email protected] [~]# top
top - 11:06:35 up 173 days, 18:29,  2 users,  load average: 0.32, 0.34, 0.47
Tasks: 250 total,   1 running, 249 sleeping,   0 stopped,   0 zombie
Cpu(s):  1.0%us,  0.7%sy,  0.0%ni, 98.1%id,  0.0%wa,  0.0%hi,  0.1%si,  0.0%st
Mem:  32949868k total, 15020676k used, 17929192k free,  1567888k buffers
Swap:  6144852k total,        0k used,  6144852k free, 11406512k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
24963 mysql     15   0 1386m 855m 5464 S  6.0  2.7  14107:44 mysqld
11628 2daygeek  15   0  176m  15m 9024 S  1.7  0.0   0:00.05 php
12011 root      20   0  105m  12m 1396 S  0.3  0.0   0:09.86 lfd - sleeping
    1 root      15   0 10376  640  544 S  0.0  0.0   0:14.37 init
    2 root      RT  -5     0    0    0 S  0.0  0.0   0:19.26 migration/0
    3 root      34  19     0    0    0 S  0.0  0.0   0:04.51 ksoftirqd/0
    4 root      RT  -5     0    0    0 S  0.0  0.0   0:00.00 watchdog/0
    5 root      RT  -5     0    0    0 S  0.0  0.0   0:10.44 migration/1
    6 root      34  19     0    0    0 S  0.0  0.0   0:11.38 ksoftirqd/1
    7 root      RT  -5     0    0    0 S  0.0  0.0   0:00.00 watchdog/1
    8 root      RT  -5     0    0    0 S  0.0  0.0   0:04.98 migration/2
    9 root      34  19     0    0    0 S  0.0  0.0   0:07.37 ksoftirqd/2
   10 root      RT  -5     0    0    0 S  0.0  0.0   0:00.00 watchdog/2
   11 root      RT  -5     0    0    0 S  0.0  0.0   0:08.65 migration/3
   12 root      34  19     0    0    0 S  0.0  0.0   0:06.96 ksoftirqd/3
   13 root      RT  -5     0    0    0 S  0.0  0.0   0:00.00 watchdog/3
   14 root      RT  -5     0    0    0 S  0.0  0.0   0:45.40 migration/4
   15 root      34  19     0    0    0 S  0.0  0.0   0:05.91 ksoftirqd/4
   16 root      RT  -5     0    0    0 S  0.0  0.0   0:00.00 watchdog/4

2. How to sort the Memory usage on top command Output.

Press (Shift+m) to Sort the top output by Memory usage.

top - 11:17:01 up 173 days, 18:39,  2 users,  load average: 0.69, 0.44, 0.41
Tasks: 230 total,   1 running, 229 sleeping,   0 stopped,   0 zombie
Cpu(s):  0.0%us,  0.1%sy,  0.0%ni, 99.9%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
Mem:  32949868k total, 14986784k used, 17963084k free,  1568352k buffers
Swap:  6144852k total,        0k used,  6144852k free, 11408940k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
24963 mysql     15   0 1386m 855m 5464 S  0.0  2.7  14109:25 mysqld
19054 root      15   0  513m 238m 7016 S  0.0  0.7   3:06.46 clamd
 5710 root      15   0 1417m  86m  12m S  0.0  0.3 913:06.95 java
19082 root      15   0  161m  51m 2968 S  0.0  0.2   0:01.91 /usr/local/cpan
19103 root      18   0  161m  49m 1212 S  0.0  0.2   0:00.00 spamd child
19104 root      18   0  161m  49m 1212 S  0.0  0.2   0:00.00 spamd child
 3184 root      10 -10 38936  32m 1740 S  0.0  0.1   0:00.00 iscsiuio
 5378 root      15   0 94580  17m 5268 S  0.0  0.1   8:02.73 cpsrvd-ssl
20065 root      18   0  106m  15m  604 S  0.0  0.0   0:00.00 cpdavd - accept
15590 root      34  19  250m  15m 2160 S  0.0  0.0   0:00.63 yum-updatesd
12969 cpanelro  15   0 94656  15m 2808 S  0.0  0.0   0:00.02 cpsrvd-ssl

3. How to sort the top command Output.

Press (Shift+o) to Sort field via field letter, for example press ‘h‘ letter to sort by priority. To continuously sort the column use (< or >).

Current Sort Field:  Q  for window 1:Def
Select sort field via field letter, type any other key to return

  a: PID        = Process Id
  b: PPID       = Parent Process Pid
  c: RUSER      = Real user name
  d: UID        = User Id
  e: USER       = User Name
  f: GROUP      = Group Name
  g: TTY        = Controlling Tty
* h: PR         = Priority
  i: NI         = Nice value
  j: P          = Last used cpu (SMP)
  k: %CPU       = CPU usage
  l: TIME       = CPU Time
  m: TIME+      = CPU Time, hundredths
  n: %MEM       = Memory usage (RES)
  o: VIRT       = Virtual Image (kb)
  p: SWAP       = Swapped size (kb)
  Q: RES        = Resident size (kb)
  r: CODE       = Code size (kb)
  s: DATA       = Data+Stack size (kb)
  t: SHR        = Shared Mem size (kb)
  u: nFLT       = Page Fault count
  v: nDRT       = Dirty Pages count
  w: S          = Process Status
  x: COMMAND    = Command name/line
  y: WCHAN      = Sleeping in Function
  z: Flags      = Task Flags 

Note1:
  If a selected sort field can't be
  shown due to screen width or your
  field order, the '<' and '>' keys
  will be unavailable until a field
  within viewable range is chosen.

Note2:
  Field sorting uses internal values,
  not those in column display.  Thus,
  the TTY & WCHAN fields will violate
  strict ASCII collating sequence.
  (shame on you if WCHAN is chosen)

Now, the top output is sorted by priority. See the below output.

top - 11:24:48 up 173 days, 18:47,  2 users,  load average: 0.46, 0.66, 0.54
Tasks: 253 total,   1 running, 252 sleeping,   0 stopped,   0 zombie
Cpu(s):  1.2%us,  0.8%sy,  0.0%ni, 98.0%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
Mem:  32949868k total, 15006212k used, 17943656k free,  1568480k buffers
Swap:  6144852k total,        0k used,  6144852k free, 11409820k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
    3 root      34  19     0    0    0 S  0.0  0.0   0:04.51 ksoftirqd/0
15590 root      34  19  250m  15m 2160 S  0.0  0.0   0:00.63 yum-updatesd
20068 root      33  18 24320 2952  756 S  0.0  0.0   0:00.35 cpanellogd - sl
18938 root      22   0  115m 1532 1124 S  0.0  0.0   0:00.11 automount
  319 root      20  -5     0    0    0 S  0.0  0.0   0:00.00 kacpid
 4560 named     20   0  349m 6820 1996 S  0.0  0.0 126:44.19 named
  485 root      19  -5     0    0    0 S  0.0  0.0   0:00.00 cqueue/0
 5720 root      19   0  3812  492  420 S  0.0  0.0   0:00.00 mingetty
 4929 root      18   0 74940 1268  592 S  0.0  0.0  71:00.04 crond
 4995 root      18   0 18752  512  360 S  0.0  0.0   0:00.57 atd
 5679 root      18   0 65940 1212 1016 S  0.0  0.0   0:00.00 sh

4. How to kill running process on top command.

Say for example any of the process is taking too much of load on server and you want to kill that process, just note that the process id and press ‘k’ it will ask the process id to do it. Enter the particular process id to kill it.

top - 12:08:24 up 173 days, 19:30,  2 users,  load average: 0.60, 0.43, 0.42
Tasks: 261 total,   2 running, 259 sleeping,   0 stopped,   0 zombie
Cpu(s): 11.6%us,  2.3%sy,  0.0%ni, 85.9%id,  0.1%wa,  0.0%hi,  0.1%si,  0.0%st
Mem:  32949868k total, 15057940k used, 17891928k free,  1569136k buffers
Swap:  6144852k total,        0k used,  6144852k free, 11421356k cached
PID to kill: 24963
  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
24963 mysql     15   0 1386m 855m 5464 S 81.4  2.7  14117:13 mysqld
29019 jobtarin  15   0  174m  14m 8444 R  2.3  0.0   0:00.07 php
29009 jobtarin  15   0  173m  13m 7864 S  1.3  0.0   0:00.04 php
29011 jobtarin  15   0  175m  14m 8636 S  1.3  0.0   0:00.04 php
 5710 root      15   0 1417m  86m  12m S  1.0  0.3 913:19.61 java
29013 jobtarin  15   0  173m  13m 7864 S  1.0  0.0   0:00.03 php
14541 nobody    15   0 92540  10m 3368 S  0.7  0.0   0:00.54 httpd
  957 root      10  -5     0    0    0 S  0.3  0.0 214:34.33 kjournald
12653 nobody    15   0 92460  10m 2776 S  0.3  0.0   0:00.77 httpd
12697 nobody    15   0 92552  10m 3368 S  0.3  0.0   0:00.73 httpd
12870 nobody    15   0 92448  10m 3372 S  0.3  0.0   0:00.72 httpd
12879 nobody    15   0 92500  10m 2824 S  0.3  0.0   0:00.58 httpd
14490 nobody    15   0 92404  10m 3376 S  0.3  0.0   0:00.93 httpd
14505 nobody    15   0 92388  10m 3372 S  0.3  0.0   0:00.75 httpd
14544 nobody    15   0 92460  10m 3376 S  0.3  0.0   0:01.11 httpd

5. How to display the top command output to Megabyte.

To display the top command output to megabyte use the “top M”. It will clearly show the information with human readable formats.

top - 12:10:44 up 173 days, 19:33,  2 users,  load average: 0.49, 0.42, 0.41
Tasks: 257 total,   1 running, 256 sleeping,   0 stopped,   0 zombie
Cpu(s):  2.4%us,  1.0%sy,  0.7%ni, 89.5%id,  6.4%wa,  0.0%hi,  0.0%si,  0.0%st
Mem:    31.423G total,   14.337G used,   17.087G free, 1532.383M buffers
Swap: 6000.832M total,    0.000k used, 6000.832M free,   10.893G cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
30189 root      15   0 12896 1136  740 R  2.0  0.0   0:00.01 top
    1 root      15   0 10376  640  544 S  0.0  0.0   0:14.37 init
    2 root      RT  -5     0    0    0 S  0.0  0.0   0:19.26 migration/0
    3 root      34  19     0    0    0 S  0.0  0.0   0:04.51 ksoftirqd/0
    4 root      RT  -5     0    0    0 S  0.0  0.0   0:00.00 watchdog/0
    5 root      RT  -5     0    0    0 S  0.0  0.0   0:10.44 migration/1
    6 root      34  19     0    0    0 S  0.0  0.0   0:11.38 ksoftirqd/1
    7 root      RT  -5     0    0    0 S  0.0  0.0   0:00.00 watchdog/1
    8 root      RT  -5     0    0    0 S  0.0  0.0   0:04.98 migration/2
    9 root      34  19     0    0    0 S  0.0  0.0   0:07.37 ksoftirqd/2
   10 root      RT  -5     0    0    0 S  0.0  0.0   0:00.00 watchdog/2
   11 root      RT  -5     0    0    0 S  0.0  0.0   0:08.66 migration/3
   12 root      34  19     0    0    0 S  0.0  0.0   0:06.96 ksoftirqd/3
   13 root      RT  -5     0    0    0 S  0.0  0.0   0:00.00 watchdog/3
   14 root      RT  -5     0    0    0 S  0.0  0.0   0:45.42 migration/4

6. How to Highlight the Running process in top command output.

To display the Running process in top command output press the “z” option. It will highlighting the current Running process. So you can easly identified the running process.

top - 12:16:46 up 173 days, 19:39,  2 users,  load average: 0.39, 0.51, 0.45
Tasks: 256 total,   1 running, 255 sleeping,   0 stopped,   0 zombie
Cpu(s):  8.2%us,  0.7%sy,  0.0%ni, 91.0%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
Mem:  32949868k total, 15033760k used, 17916108k free,  1569208k buffers
Swap:  6144852k total,        0k used,  6144852k free, 11422948k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
24963 mysql     15   0 1386m 855m 5464 S 62.5  2.7  14119:01 mysqld
 5710 root      15   0 1417m  86m  12m S  1.0  0.3 913:21.51 java
12874 nobody    16   0 92456  10m 2828 S  0.3  0.0   0:00.90 httpd
14512 nobody    15   0 92584  10m 2828 S  0.3  0.0   0:00.89 httpd
31656 root      15   0 12900 1252  844 R  0.3  0.0   0:00.04 top
    1 root      15   0 10376  640  544 S  0.0  0.0   0:14.37 init
    2 root      RT  -5     0    0    0 S  0.0  0.0   0:19.26 migration/0
    3 root      34  19     0    0    0 S  0.0  0.0   0:04.51 ksoftirqd/0
    4 root      RT  -5     0    0    0 S  0.0  0.0   0:00.00 watchdog/0
    5 root      RT  -5     0    0    0 S  0.0  0.0   0:10.44 migration/1
    6 root      34  19     0    0    0 S  0.0  0.0   0:11.38 ksoftirqd/1
    7 root      RT  -5     0    0    0 S  0.0  0.0   0:00.00 watchdog/1
    8 root      RT  -5     0    0    0 S  0.0  0.0   0:04.98 migration/2
    9 root      34  19     0    0    0 S  0.0  0.0   0:07.37 ksoftirqd/2
   10 root      RT  -5     0    0    0 S  0.0  0.0   0:00.00 watchdog/2
   11 root      RT  -5     0    0    0 S  0.0  0.0   0:08.66 migration/3
   12 root      34  19     0    0    0 S  0.0  0.0   0:06.96 ksoftirqd/3
   13 root      RT  -5     0    0    0 S  0.0  0.0   0:00.00 watchdog/3
   14 root      RT  -5     0    0    0 S  0.0  0.0   0:45.42 migration/4
   15 root      34  19     0    0    0 S  0.0  0.0   0:05.91 ksoftirqd/4
   16 root      RT  -5     0    0    0 S  0.0  0.0   0:00.00 watchdog/4
   17 root      RT  -5     0    0    0 S  0.0  0.0   0:29.17 migration/5

7. How to Display Specific User Process in top command output.

To Display Specific User Process in top command use “-u” option with top command. I’m goin to display mysql user process.

# top -u mysql
top - 12:36:07 up 173 days, 19:58,  2 users,  load average: 0.29, 0.43, 0.50
Tasks: 258 total,   1 running, 257 sleeping,   0 stopped,   0 zombie
Cpu(s):  2.4%us,  1.0%sy,  0.7%ni, 89.5%id,  6.4%wa,  0.0%hi,  0.0%si,  0.0%st
Mem:  32949868k total, 15050392k used, 17899476k free,  1569536k buffers
Swap:  6144852k total,        0k used,  6144852k free, 11427764k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
24963 mysql     15   0 1386m 857m 5464 S 100.2  2.7  14123:46 mysqld

8. How to Display All CPUs Cores in top command output.

By default the top command shows combined of all cpu’s. If you want to see all the cpu’s output in top command press “1” to saw it.

top - 13:04:30 up 173 days, 20:27,  2 users,  load average: 0.47, 0.46, 0.52
Tasks: 254 total,   1 running, 253 sleeping,   0 stopped,   0 zombie
Cpu0  :  3.3%us,  0.9%sy,  0.8%ni, 92.3%id,  2.6%wa,  0.0%hi,  0.0%si,  0.0%st
Cpu1  :  3.0%us,  1.2%sy,  0.8%ni, 57.2%id, 37.5%wa,  0.0%hi,  0.1%si,  0.0%st
Cpu2  :  2.5%us,  0.7%sy,  0.6%ni, 94.2%id,  1.9%wa,  0.0%hi,  0.0%si,  0.0%st
Cpu3  :  2.2%us,  0.7%sy,  0.6%ni, 94.1%id,  2.4%wa,  0.0%hi,  0.0%si,  0.0%st
Cpu4  :  1.8%us,  0.9%sy,  0.6%ni, 95.3%id,  1.4%wa,  0.0%hi,  0.0%si,  0.0%st
Cpu5  :  2.3%us,  1.2%sy,  0.7%ni, 93.1%id,  2.7%wa,  0.0%hi,  0.0%si,  0.0%st
Cpu6  :  2.0%us,  1.1%sy,  0.7%ni, 94.7%id,  1.5%wa,  0.0%hi,  0.0%si,  0.0%st
Cpu7  :  2.2%us,  1.1%sy,  0.5%ni, 94.9%id,  1.3%wa,  0.0%hi,  0.0%si,  0.0%st
Mem:  32949868k total, 15041336k used, 17908532k free,  1569852k buffers
Swap:  6144852k total,        0k used,  6144852k free, 11431840k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
24963 mysql     15   0 1386m 855m 5464 S  0.7  2.7  14130:05 mysqld
12879 nobody    15   0 92532  10m 2824 S  0.4  0.0   0:01.28 httpd
14372 nobody    16   0 92540  10m 3372 S  0.4  0.0   0:01.26 httpd
14507 nobody    15   0 92544  10m 3372 S  0.4  0.0   0:01.34 httpd
    1 root      15   0 10376  640  544 S  0.0  0.0   0:14.37 init
    2 root      RT  -5     0    0    0 S  0.0  0.0   0:19.28 migration/0
    3 root      34  19     0    0    0 S  0.0  0.0   0:04.51 ksoftirqd/0
    4 root      RT  -5     0    0    0 S  0.0  0.0   0:00.00 watchdog/0
    5 root      RT  -5     0    0    0 S  0.0  0.0   0:10.44 migration/1
    6 root      34  19     0    0    0 S  0.0  0.0   0:11.38 ksoftirqd/1
    7 root      RT  -5     0    0    0 S  0.0  0.0   0:00.00 watchdog/1

9. How to Change the Refresh Interval in top command output.

By default linux top command Refresh the Interval every 3.0 seconds. If you want to change the refresh interval press “d” and enter the interval time which you want. Here i’m going to change the interval time to 5 instead of 3

top - 13:09:38 up 173 days, 20:32,  2 users,  load average: 0.33, 0.42, 0.48
Tasks: 241 total,   1 running, 240 sleeping,   0 stopped,   0 zombie
Cpu(s):  4.6%us,  1.2%sy,  0.6%ni, 93.3%id,  0.2%wa,  0.0%hi,  0.0%si,  0.0%st
Mem:  32949868k total, 15037280k used, 17912588k free,  1570072k buffers
Swap:  6144852k total,        0k used,  6144852k free, 11433212k cached
Change delay from 3.0 to: 5
  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
24963 mysql     15   0 1386m 855m 5464 S 10.7  2.7  14131:33 mysqld
12011 root      18   0  105m  12m 1396 S  0.6  0.0   0:11.93 lfd - sleeping
12048 root      15   0 12900 1272  844 R  0.6  0.0   0:00.93 top
13287 nobody    15   0 92352  10m 2804 S  0.6  0.0   0:00.07 httpd
13288 nobody    15   0 92300 9.9m 2760 S  0.6  0.0   0:00.04 httpd
    1 root      15   0 10376  640  544 S  0.0  0.0   0:14.39 init
    2 root      RT  -5     0    0    0 S  0.0  0.0   0:19.28 migration/0
    3 root      34  19     0    0    0 S  0.0  0.0   0:04.51 ksoftirqd/0
    4 root      RT  -5     0    0    0 S  0.0  0.0   0:00.00 watchdog/0
    5 root      RT  -5     0    0    0 S  0.0  0.0   0:10.44 migration/1
    6 root      34  19     0    0    0 S  0.0  0.0   0:11.39 ksoftirqd/1
    7 root      RT  -5     0    0    0 S  0.0  0.0   0:00.00 watchdog/1
    8 root      RT  -5     0    0    0 S  0.0  0.0   0:04.98 migration/2
    9 root      34  19     0    0    0 S  0.0  0.0   0:07.37 ksoftirqd/2
   10 root      RT  -5     0    0    0 S  0.0  0.0   0:00.00 watchdog/2
   11 root      RT  -5     0    0    0 S  0.0  0.0   0:08.66 migration/3

10. How to Shows Absolute Path of command’s in top command output.

To Display the Absolute Path of command’s in top command press “c” option with top command. Here you can see the running process absolute path.

top - 13:14:18 up 173 days, 20:36,  2 users,  load average: 0.30, 0.38, 0.45
Tasks: 263 total,   1 running, 262 sleeping,   0 stopped,   0 zombie
Cpu(s):  0.9%us,  0.3%sy,  0.0%ni, 98.8%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
Mem:  32949868k total, 15049968k used, 17899900k free,  1570108k buffers
Swap:  6144852k total,        0k used,  6144852k free, 11434304k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
 5710 root      15   0 1417m  86m  12m S  1.0  0.3 913:33.82 ./jre/bin/java -Djava.compiler=NONE -cp /usr/StorMan/RaidMan.jar com.ibm.sysmgt.raidmgr.agent.ManagementAg
14456 nobody    15   0 92336 9604 2168 S  0.3  0.0   0:00.15 /usr/local/apache/bin/httpd -k start -DSSL
14473 nobody    15   0 92448 9580 2160 S  0.3  0.0   0:00.06 /usr/local/apache/bin/httpd -k start -DSSL
24963 mysql     15   0 1386m 855m 5464 S  0.3  2.7  14132:38 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --log-error=/var/lib/mysql/server.anant
13727 root      15   0 12900 1276  844 R  0.7  0.0   0:00.84 top
    1 root      15   0 10376  640  544 S  0.0  0.0   0:14.39 init [3]
    2 root      RT  -5     0    0    0 S  0.0  0.0   0:19.28 [migration/0]
    3 root      34  19     0    0    0 S  0.0  0.0   0:04.51 [ksoftirqd/0]
    4 root      RT  -5     0    0    0 S  0.0  0.0   0:00.00 [watchdog/0]
    5 root      RT  -5     0    0    0 S  0.0  0.0   0:10.44 [migration/1]
    6 root      34  19     0    0    0 S  0.0  0.0   0:11.39 [ksoftirqd/1]
    7 root      RT  -5     0    0    0 S  0.0  0.0   0:00.00 [watchdog/1]
    8 root      RT  -5     0    0    0 S  0.0  0.0   0:04.98 [migration/2]
    9 root      34  19     0    0    0 S  0.0  0.0   0:07.37 [ksoftirqd/2]
   10 root      RT  -5     0    0    0 S  0.0  0.0   0:00.00 [watchdog/2]
   11 root      RT  -5     0    0    0 S  0.0  0.0   0:08.66 [migration/3]

11. How to Save Top Command Results.

To Save Top Command Results on server press “Shift+W”. It will save the running top output results to /root/.toprc.

top - 13:27:27 up 173 days, 20:50,  2 users,  load average: 0.47, 0.50, 0.47
Tasks: 255 total,   1 running, 253 sleeping,   0 stopped,   1 zombie
Cpu(s):  7.1%us,  2.1%sy,  0.0%ni, 90.5%id,  0.3%wa,  0.0%hi,  0.0%si,  0.0%st
Mem:  32949868k total, 15073100k used, 17876768k free,  1570500k buffers
Swap:  6144852k total,        0k used,  6144852k free, 11441112k cached
 Wrote configuration to '/root/.toprc'
  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
24963 mysql     15   0 1386m 857m 5464 S 54.5  2.7  14136:27 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --log-error=/var/lib/mysql/server.anant
19879 jobtarin  17   0  176m  16m 8632 S  2.0  0.0   0:00.06 /usr/bin/php /home/jobtarin/public_html/new/quick_create_resumebid.php
19881 jobtarin  16   0  174m  14m 8512 S  1.3  0.0   0:00.04 /usr/bin/php /home/jobtarin/public_html/new/chat/cometchat_receive.php
19883 jobtarin  16   0  173m  13m 8220 S  1.0  0.0   0:00.03 /usr/bin/php /home/jobtarin/public_html/new/email_availability.php
19876 jobtarin  15   0     0    0    0 Z  2.0  0.0   0:00.06 [php] 
13446 nobody    15   0 92340  10m 2812 S  0.7  0.0   0:00.44 /usr/local/apache/bin/httpd -k start -DSSL
13290 nobody    15   0 92476  10m 2824 S  0.3  0.0   0:00.40 /usr/local/apache/bin/httpd -k start -DSSL
13462 nobody    15   0 92304   9m 2816 S  0.3  0.0   0:00.27 /usr/local/apache/bin/httpd -k start -DSSL
13463 nobody    15   0 92476  10m 2824 S  0.3  0.0   0:00.22 /usr/local/apache/bin/httpd -k start -DSSL
13727 root      15   0 12900 1292  844 R  0.3  0.0   0:03.78 top
14473 nobody    15   0 92476  10m 2812 S  0.3  0.0   0:00.19 /usr/local/apache/bin/httpd -k start -DSSL
14588 nobody    16   0 92444 9720 2176 S  0.3  0.0   0:00.25 /usr/local/apache/bin/httpd -k start -DSSL
14648 nobody    15   0 92412 9.9m 2732 S  0.3  0.0   0:00.12 /usr/local/apache/bin/httpd -k start -DSSL

Magesh Maruthamuthu

Love to play with all Linux distribution

You may also like...

Close
Please support the site
By clicking any of these buttons you help our site to get better