>Number: 165208 >Category: misc >Synopsis: Incorrect unit/description in `vm.vmtotal' output >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Feb 16 18:00:24 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Arnaud Lacombe >Release: 8-STABLE >Organization: n/a >Environment: % uname -a FreeBSD shai 8.2-STABLE FreeBSD 8.2-STABLE #2: Mon May 9 14:29:02 EDT 2011 >Description: The description "Free Memory Pages" from the output of `vm.vmtotal' is clearly wrong:
% sysctl vm.vmtotal vm.vmtotal: System wide totals computed every five seconds: (values in kilobytes) =============================================== Processes: (RUNQ: 1 Disk Wait: 0 Page Wait: 0 Sleep: 147) Virtual Memory: (Total: 1075965600K, Active 2091112K) Real Memory: (Total: 199976K Active 122716K) Shared Virtual Memory: (Total: 63564K Active: 28088K) Shared Real Memory: (Total: 15200K Active: 11620K) Free Memory Pages: 507564K While the machine only really has 4G of memory, that's only at most 1 million pages. There is absolutely *no way* for this machine to have 519745536 free memory pages. >How-To-Repeat: run `sysctl vm.vmtotal', read output, think about what is written. >Fix: s/ Pages//. and break the ABI for all the people parsing sysctl(8) output. >Release-Note: >Audit-Trail: >Unformatted: _______________________________________________ freebsd-bugs@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"