top lies ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Some data showed by top command looks like completly trashed.
Fragment from top output:

Mem:   2075784k total,  2053352k used,    22432k free,    19260k buffers
Swap:  2096472k total,      136k used,  2096336k free,  1335080k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  SWAP nFLT WCHAN     COMMAND
14515 mysql     20   0 1837m 563m 4132 S   39 27.8  27:14.20 1.2g   18 -         mysqld

How it is possible that swap ussage is 136k and swapped out portion of (in this case) mysqld process is 1.2g ?
Mayby some other data from /proc/<pid> shows some *real* data ?

Above is on procps 3.2.7 and kernel 2.6.22.12.

kloczek
--
-----------------------------------------------------------
*Ludzie nie mają problemów, tylko sobie sami je stwarzają*
-----------------------------------------------------------
Tomasz Kłoczko, sys adm @zie.pg.gda.pl|*e-mail: [email protected]*

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux