2.5.6 Swap weirdness

Petr.Titera@whitesoft.cz
Sun, 10 Mar 2002 11:18:30 +0100


Hello,

in linux kernel 2.5.6 swap statistics are displayed incorrectly. Used
space is added to total swap size and not subtracted from free space. See
attached output

[root@nevskij proc]# free
total used free shared buffers cached
Mem: 257348 159748 97600 0 9328 41004
-/+ buffers/cache: 109416 147932
Swap: 152800 24320 128480
[root@nevskij proc]# cat /proc/swaps
Filename Type Size Used
Priority
/dev/hda5 partition 128480 24316 -1
[root@nevskij proc]#

Petr Titera

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/