Subject: Re: vmstat output: avm + free is too much?
To: Olaf Seibert <rhialto@polderland.nl>
From: Simon Burge <simonb@wasabisystems.com>
List: current-users
Date: 04/03/2001 10:49:13
Olaf Seibert wrote:
> This is some output from vmstat -w 5, on my quiet Alpha system (no user
> interaction) that has 64M of memory and is not paging:
>
> procs memory page disks faults cpu
> r b w avm fre flt re pi po fr sr w0 s0 in sy cs us sy id
> 1 1 0 66056 21152 27 0 0 0 0 0 1 2 1040 131 37 99 1 0
> 1 0 0 66064 21152 1 0 0 0 0 0 0 0 1034 90 26 100 0 0
> 1 0 0 66064 21152 1 0 0 0 0 0 0 1 1034 105 30 100 0 0
> 1 0 0 66064 21152 1 0 0 0 0 0 1 2 1038 89 32 100 0 0
>
> (some disks removed to make it fit in 80 columns)
>
> Should avm + fre not add up to the total amount of core when not paging?
> These numbers have been stable during more than 20 seconds.
At a guess, avm counts pages that are mapped multiple times (eg,
shared libraries).
Simon.
--
Simon Burge <simonb@wasabisystems.com>
NetBSD CDs, Support and Service: http://www.wasabisystems.com/