openlava/openlava — Issue #9: maxswp < swp
Author: robertomeda
Created: 2011-12-28 09:06:15+00:00
State: open

Hi

I noticed swp reported by lsload is equal to maxswp+1 , reported by lshosts:
(openlava project 1.0, Dec 16 2011)

# lsload
HOST_NAME status r15s r1m r15m ut pg ls it tmp swp mem
myhost ok 0.0 0.0 0.0 1% 0.0 0 1318 65G 8192M 4463M

# lshosts
HOST_NAME type model cpuf ncpus maxmem maxswp server RESOURCES
myhost LINUX64 DEFAULT 1.0 4 5966M 8191M Yes (linux)

Might it be a different approximation (trunc vs round)?

Here's the swap reported by proc:

Filename Type Size Used Priority
/dev/mapper/VolGroup00-swap partition 8388600 0 -1

and:
8388600/1024=8191.9921875

/have/a/nice/openlava/day