On Thu, 17 Nov 2005, Rob wrote:

I have upgraded to 6-Stable.
The swapinfo command gives wrong output:

Device    1K-blocks     Used    Avail Capacity
/dev/md0     131072    11848   131072     9%

I guess, the math should be:
"1K-blocks" = "Used" + "Avail"

However, "1K-blocks" = "Avail", irrespective of what is used.

In case of more than one swap device, then the Total line shows the right numbers.

Is this a bug?

Very much so. I've committed a fix to HEAD as pstat.c:1.96, which I'll MFC to 6-STABLE in a few days. Thanks!

Robert N M Watson
_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to