bb 1.7.0, top display 139% MEM used

Denys Vlasenko vda.linux at googlemail.com
Tue Nov 13 18:17:55 UTC 2007


On Tuesday 13 November 2007 10:12, Joakim Tjernlund wrote:
> One of our system ha a strange value in top:
>  PID  PPID USER     STAT   VSZ %MEM %CPU COMMAND
>  716     1 root     R    42744 139%   0% /bin/snmphndl
>
> 139% for %MEM column is a bit high :)
>
> the snmphndl process has a ton of
> 3ae94000-3ae9a000 rw-s 00000000 00:07 294921     /SYSV000007c4 (deleted)
> 3ae9a000-3aea0000 rw-s 00000000 00:07 294921     /SYSV000007c4 (deleted)
> 3aea0000-3aea6000 rw-s 00000000 00:07 294921     /SYSV000007c4 (deleted)
> 3aea6000-3aeac000 rw-s 00000000 00:07 294921     /SYSV000007c4 (deleted)
> 3aeac000-3aeb2000 rw-s 00000000 00:07 294921     /SYSV000007c4 (deleted)
> ....
>
> in /proc/716/task/716/maps, I guess this has someting to do with
> the 139% figure. Kernel is 2.6.19 on a CRIS CPU:

More data please. Show top -b -n1 output (for one, this will tell
totat RAM and swap on the machine).

If we'll take %MEM as VSZ/total_ram percentage, it can go above 100%.
I need to take a look how bbox calculates %MEM.
--
vda



More information about the busybox mailing list