From: alan@shodha.enet.dec.com ( Alan's Home for Wayward Notes File.)
Subject: Re: vmstat question
Date: 24 Apr 92 23:42:25 GMT [thread overview]
Message-ID: <6692@shodha.enet.dec.com> (raw)
In-Reply-To: sherman.704002424@lea
In article <sherman.704002424@lea>, sherman@lea.csc.ncsu.edu (Chris Sherman) writes:
> I have a question about vmstat which, surprising, the man page doesn't cover.
See if you can find a copy of the "Reader's Comments" page and fill
it out.
>
> When I do a 'vmstat -v 5', I get the following output:
>
> procs memory
> r dw pw sl w vm avm rm arm fre
> 1 0 1 8 0 34k 10k 5664 3196 872
>
> The man page does no tell us what dw, pw, sl, w, vm, rm, nor arm
> are.
These are counted for processes whose status is SSLEEP or SSTOP.
dw - A process with the SLOAD flag set and the priority <= PZERO. Also
called Disk Wait, hence the dw.
pw - A process with the SPAGE flag set.
sl - Sleeping. Mostly the ones not in Disk Wait.
w - In the manual page ("runnable or short sleeper, but swapped")
The remaining words in your list are virtual memory related.
vm - Total Virtual memory. This is the sum of text, stack and data
spaces for all processes.
rm - Total Real memory. The sum of text, stack and data resident
set sizes for all processes.
avm - Active virtual memory. The total of stack and data spaces
of those process with status SRUN or SIDL.
>
> Is there a way to read this an ask how much virtual memory
> is left for me to use?
You have as much Virtual memory to use as you have page/swap
space to back it up. You want to look at pstat(8) and the -s
option to find that. Given the information in the -v listing
of vmstat(1) one other little bit of information you can get a
good guess at much real memory you can use before you start
paging. This other little bit of information is "lotsfree"
which is the amount of memory the kernel tries to keep free
when there isn't enough.
See Also: The "Performance Management Guide" in the V4.2A documentation
set. The part number is AA-PKDVA-TE if you want to order one.
>
> Thanx!
> -- Chris Sherman
--
Alan Rollow alan@nabeth.cxo.dec.com
next prev parent reply other threads:[~1992-04-24 23:42 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1992-04-23 4:13 vmstat question Chris Sherman
1992-04-24 23:42 ` Alan's Home for Wayward Notes File. [this message]
-- strict thread matches above, loose matches on Subject: below --
1998-04-22 4:00 vmstat Question Sylvan Creach
1998-04-22 4:00 ` Sylvan Creach
1998-04-24 4:00 ` Eric Werme - replace nobody with werme
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox