did -s and -f for rodenstein

This commit is contained in:
albert
2002-11-28 09:07:59 +00:00
parent 4e7de4274d
commit c64633ab31
2 changed files with 99 additions and 17 deletions

View File

@ -11,6 +11,10 @@ vmstat \- Report virtual memory statistics
.RI [ delay " [ " count ]]
.br
.B vmstat
.RB [ "\-f" ]
.RB [ "\-s" ]
.br
.B vmstat
.RB [ "\-V" ]
.SH DESCRIPTION
\fBvmstat\fP reports information about processes, memory, paging,
@ -23,8 +27,17 @@ The process and memory reports are instantaneous in either case.
.SS Options
The \fB-a\fP switch displays active/inactive memory, given a 2.5.41 kernel or better.
.PP
The \fB-f\fP switch displays the number of forks since boot.
This includes the fork, vfork, and clone system calls, and is
equivalent to the total number of tasks created. Each process
is represented by one or more tasks, depending on thread usage.
This display does not repeat.
.PP
The \fB-n\fP switch causes the header to be displayed only once rather than periodically.
.PP
The \fB-s\fP switch displays a table of various event counters
and memory statistics. This display does not repeat.
.PP
.I delay
is the delay between updates in seconds. If no delay is specified,
only one report is printed with the average values since boot.