If the -I flag is specified, an I/O oriented view is presented with the following column changes.
| kthr | The column p will also be displayed besides columns r and b.
|
| page | New columns fi and fo will be displayed instead of re and cy columns.
|
If, while the vmstat command is running, there is a change in system configuration that will affect the output, vmstat prints a warning message about the configuration change. It then continues the output, after printing the updated system configuration information and the header.
If the -l flag is specified, an additional "large-page" section is displayed with the following columns:
- alp
- Indicates the number of large pages currently in use.
- flp
-
Indicates the number of large pages on the large page freelist.
If the -p option is specified, additional lines of VMM statistics are displayed for the specified page sizes. With -I and -t options, the -p option produces an additional line for the specified page size. This line contains the following VMM statistics relevant to the specified page size:
- avm
- fre
- re
- fi
- fo
- pi
- po
- fr
- sr
- cy Note: The disply of the re, fi, fo, and cy options are affected by the -I option.
These VMM statistics are preceded by a psz column and followed by an siz column. The description of these two columns follows:
- psz
- Page size (for example, 4K, 64K).
- siz
-
Number of frames of the specified page size that exist on the system.
With the -s option, the -p option produces a separate stanza of output that contains only the statistics relevant to the specified page size. This additional stanza is preceded by a page size header.
The -P option produces the following report for the specified page size:
- pgsz
- Indicates the page size (for example, 4K, 64K).
- Memory
- Indicates the memory statistics for the specified page sizes.
- siz
- The number of frames of the specified page size that exist on the system.
- avm
- Active virtual pages applicable to the specified page size.
- fre
- Size of the free list for the specified page size.
- Page
-
Indicates the relevant page faults and paging activity for the specified page size. The page related columns
re,
pi,
po,
fr,
sr,
cy,
fi, and
fo are also applicable to this report.
Flags
Note: If the -f (or -s) flag is entered on the command line, then the system will only accept the -f (or -s) flag and will ignore other flags. If both -f and -s flags are specified, the system will accept only the first flag and ignore the second flag.-f Reports the number of forks since system startup. -i Displays the number of interrupts taken by each device since system startup. Note: The -I, -t, -w, and -l flags are ignored when they are specified with the -i flag. -I Displays I/O oriented view with the new columns of output, p under heading kthr,and columns fi and fo under heading page instead of the columns re and cy in the page heading. -l Displays an additional "large-page" section with the alp and flp columns. -p pagesize Appends the VMM statistics for the specified page size to the regular vmstat output. -P pagesize Displays only the VMM statistics which are relevant for the specified page size. -s Writes to standard output the contents of the sum structure, which contains an absolute count of paging events since system initialization. The-s flag can only be used with the -v flag. These event --> 评论