kern/77253: [linux] meminfo in linprocfs returns bad value
about swap.
Tsurutani Naoki
turutani at scphys.kyoto-u.ac.jp
Wed Jan 4 22:57:50 PST 2006
Alexander Leidinger <netchild at FreeBSD.org> wrote:
> Synopsis: [linux] meminfo in linprocfs returns bad value about swap.
>
> State-Changed-From-To: open->feedback
> State-Changed-By: netchild
> State-Changed-When: Thu Dec 29 16:15:04 UTC 2005
> State-Changed-Why:
> Is this still a problem with a recent FreeBSD?
Yes, it is still bogus...
polymer3 % uname -a
FreeBSD polymer3.scphys.kyoto-u.ac.jp 5.4-STABLE FreeBSD 5.4-STABLE #11:
Mon Dec 26 11:23:23 JST 2005 turutani at polymer3.scphys.kyotou.ac.jp:/usr/obj/usr/src/sys/POLYMER i386
polymer3 % cat /compat/linux/proc/meminfo
total: used: free: shared: buffers: cached:
Mem: 527863808 90378240 437485568 16003072 0 25706496
Swap: 18446744071562067968 229376 18446744071561838592
MemTotal: 515492 kB
MemFree: 427232 kB
MemShared: 15628 kB
Buffers: 0 kB
Cached: 25104 kB
SwapTotal:18014398507384832 kB
SwapFree: 18014398507384608 kB
polymer3 % swapinfo
Device 1K-blocks Used Avail Capacity
/dev/ad0s1b 1048576 88 1048488 0%
/dev/ad1s1b 1048576 136 1048440 0%
Total 2097152 224 2096928 0%
polymer3 % cat /var/run/dmesg.boot | grep memory
real memory = 536805376 (511 MB)
avail memory = 515629056 (491 MB)
More information about the freebsd-emulation
mailing list