6-Stable: swapinfo has wrong output?

Rob spamrefuse at yahoo.com
Thu Nov 17 08:13:00 PST 2005


Hi,

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?

Rob.



		
__________________________________ 
Start your day with Yahoo! - Make it your home page! 
http://www.yahoo.com/r/hs


More information about the freebsd-stable mailing list