* vmstat Question
@ 1998-04-22 4:00 Sylvan Creach
1998-04-22 4:00 ` Sylvan Creach
0 siblings, 1 reply; 5+ messages in thread
From: Sylvan Creach @ 1998-04-22 4:00 UTC (permalink / raw)
I was wondering if anybody knows what the "iostat"
column from the command vmstat -w means.
I found this command by accident. It's not in the "man" pages.
I am running it on a DEC alpha OSF1 4.0 machine.
Obviously the command means some kind of I/O wait. What does
the numbers mean?
I trying to research what commands are available within DEC to monitor
system performance. I've been studying the iostat, ps and vmstat
commands. Does anybody know any other performance tips?
Thanks in advance!
Sylvan Creach (Oracle DBA)
Cobe Labs
Lakewood, CO 80215
EMAIL: sylvan@cobe.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: vmstat Question
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
0 siblings, 1 reply; 5+ messages in thread
From: Sylvan Creach @ 1998-04-22 4:00 UTC (permalink / raw)
Sorry, I stated the question wrong.
I was wondering if anybody knows what the "iowait" not "iostat"!
Original message...
>>I was wondering if anybody knows what the "iostat"
>>column from the command vmstat -w means.
>>
>> I found this command by accident. It's not in the "man" pages.
>>I am running it on a DEC alpha OSF1 4.0 machine.
>>Obviously the command means some kind of I/O wait. What does
>>the numbers mean?
>>I trying to research what commands are available within DEC to monitor
>>system performance. I've been studying the iostat, ps and vmstat
>>commands. Does anybody know any other performance tips?
>>Thanks in advance!
>>Sylvan Creach (Oracle DBA)
>>Cobe Labs
>>Lakewood, CO 80215
>>EMAIL: sylvan@cobe.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: vmstat Question
1998-04-22 4:00 ` Sylvan Creach
@ 1998-04-24 4:00 ` Eric Werme - replace nobody with werme
0 siblings, 0 replies; 5+ messages in thread
From: Eric Werme - replace nobody with werme @ 1998-04-24 4:00 UTC (permalink / raw)
Sylvan Creach <sylvan@cobe.com> writes:
>>>I was wondering if anybody knows what the "iowait"
>>>column from the command vmstat -w means.
>>>
>>> I found this command by accident. It's not in the "man" pages.
Without -w, idle time (id) includes time waiting for IO.
With -w, the two are split out. E.g., I did a "du /usr" while running
vmstat:
# vmstat -w 3
Virtual Memory Statistics: (pagesize = 8192)
procs memory pages intr cpu
r w u act free wire fault cow pin pout in sy cs us sy id iowait
4 132 23 11K 111 3562 10M 2M 2M 52K 53 654 155 1 1 98 0
2 134 23 11K 128 3562 39 14 9 0 87 710 201 1 1 98 0
2 134 24 11K 363 3569 48 17 16 0 103 1K 476 16 6 24 53
2 134 24 11K 357 3569 4 0 4 0 111 1K 693 33 6 0 61
2 134 24 11K 348 3569 9 0 6 0 98 2K 592 30 11 0 59
--
<> Eric (Ric) Werme <> The above is unlikely to contain <>
<> ROT-13 addresses: <> official claims or policies of <>
<> <jrezr@mx3.qrp.pbz> <> Digital Equipment Corp. <>
<> <jrezr@plorecbegny.arg> <> http://www.cyberportal.net/werme <>
^ permalink raw reply [flat|nested] 5+ messages in thread
* vmstat question
@ 1992-04-23 4:13 Chris Sherman
1992-04-24 23:42 ` Alan's Home for Wayward Notes File.
0 siblings, 1 reply; 5+ messages in thread
From: Chris Sherman @ 1992-04-23 4:13 UTC (permalink / raw)
I have a question about vmstat which, surprising, the man page doesn't cover.
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
1 0 0 9 0 35k 11k 5968 3500 664
1 0 0 9 0 35k 11k 5968 3500 572
1 0 0 9 0 35k 11k 5968 3504 544
<...>
The man page does no tell us what dw, pw, sl, w, vm, rm, nor arm
are.
Can anyone enlighten me to what these fields are, and briefly, what
they mean? Is there a way to read this an ask how much virtual memory
is left for me to use?
Thanx!
--
____/ / / __ / _ _/ ____/
/ / / / / / / Chris Sherman
/ ___ / _/ / /
_____/ __/ __/ __/ _\ _____/ _____/ sherman@lea.csc.ncsu.edu
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: vmstat question
1992-04-23 4:13 vmstat question Chris Sherman
@ 1992-04-24 23:42 ` Alan's Home for Wayward Notes File.
0 siblings, 0 replies; 5+ messages in thread
From: Alan's Home for Wayward Notes File. @ 1992-04-24 23:42 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~1998-04-24 4:00 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
-- strict thread matches above, loose matches on Subject: below --
1992-04-23 4:13 vmstat question Chris Sherman
1992-04-24 23:42 ` Alan's Home for Wayward Notes File.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox