Fix error in vmstat documentation.
Inspection of vmstat.c and experimentation with the binary itself both confirm that the units of the swap (si/so) fields are controlled by the --unit option. References: procps-ng/procps!69 procps-ng/procps#100 Signed-off-by: Craig Small <csmall@enc.com.au>
This commit is contained in:
parent
95df5a06f4
commit
463ed0049c
6
vmstat.8
6
vmstat.8
@ -71,8 +71,8 @@ Switches outputs between 1000
|
|||||||
.RI ( m ),
|
.RI ( m ),
|
||||||
or 1048576
|
or 1048576
|
||||||
.RI ( M )
|
.RI ( M )
|
||||||
bytes. Note this does not change the swap (si/so) or block (bi/bo)
|
bytes. Note this does not change the block (bi/bo) fields, which are always
|
||||||
fields.
|
measured in blocks.
|
||||||
.TP
|
.TP
|
||||||
\fB\-t\fR, \fB\-\-timestamp\fR
|
\fB\-t\fR, \fB\-\-timestamp\fR
|
||||||
Append timestamp to each line
|
Append timestamp to each line
|
||||||
@ -98,6 +98,7 @@ b: The number of processes in uninterruptible sleep.
|
|||||||
.PP
|
.PP
|
||||||
.SS
|
.SS
|
||||||
.B "Memory"
|
.B "Memory"
|
||||||
|
These are affected by the \-\-unit option.
|
||||||
.nf
|
.nf
|
||||||
swpd: the amount of virtual memory used.
|
swpd: the amount of virtual memory used.
|
||||||
free: the amount of idle memory.
|
free: the amount of idle memory.
|
||||||
@ -109,6 +110,7 @@ active: the amount of active memory. (\-a option)
|
|||||||
.PP
|
.PP
|
||||||
.SS
|
.SS
|
||||||
.B "Swap"
|
.B "Swap"
|
||||||
|
These are affected by the \-\-unit option.
|
||||||
.nf
|
.nf
|
||||||
si: Amount of memory swapped in from disk (/s).
|
si: Amount of memory swapped in from disk (/s).
|
||||||
so: Amount of memory swapped to disk (/s).
|
so: Amount of memory swapped to disk (/s).
|
||||||
|
Loading…
Reference in New Issue
Block a user