2.5.6 Swap weirdness

From: Petr.Titera@whitesoft.cz
Date: Sun Mar 10 2002 - 05:18:30 EST


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/



This archive was generated by hypermail 2b29 : Fri Mar 15 2002 - 22:00:13 EST