Package: procps
Version: 1:3.2.7-11
Severity: normal

Hi,

The "free" cmd does not show properly used memory, as you can see,
slab is not taken into account, "used / buffer cache" is a useless information,
for instance on this server :

r...@vzb:/etc/apt# tail /dev/zero
Processus arrêté
r...@vzb:/etc/apt# free
             total       used       free     shared    buffers     cached
Mem:      33086568     137060   32949508          0        412       5468
-/+ buffers/cache:     131180   32955388
Swap:            0          0          0

r...@vzb:/etc/apt# updatedb

r...@vzb:/etc/apt# free
             total       used       free     shared    buffers     cached
Mem:      33086568    2664080   30422488          0     896132      24184
-/+ buffers/cache:    1743764   31342804
Swap:            0          0          0
r...@vzb:/etc/apt# tail /dev/zero

Processus arrêté
r...@vzb:/etc/apt# free
             total       used       free     shared    buffers     cached
Mem:      33086568     138980   32947588          0        396       5248
-/+ buffers/cache:     133336   32953232
Swap:            0          0          0

I may be necessary to substract slab usage from used col on the +/- buffer 
cache row.

Regards.

Nicolas



-- System Information:
Debian Release: 5.0.3
  APT prefers stable
  APT policy: (999, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-trunk-amd64 (SMP w/8 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages procps depends on:
ii  libc6                     2.10.2-5       Embedded GNU C Library: Shared lib
ii  libncurses5               5.7+20081213-1 shared libraries for terminal hand
ii  lsb-base                  3.2-20         Linux Standard Base 3.2 init scrip

Versions of packages procps recommends:
ii  psmisc                        22.6-1     Utilities that use the proc filesy

procps suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to