vmstat.8 (26d8ca837e1b17f46b1600bb53351f18eb02eed3) | vmstat.8 (e3f1789aa0cb42b00fd911a47b4fa459ac7d85ba) |
---|---|
1.\" Copyright (c) 1986, 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 18 unchanged lines hidden (view full) --- 27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30.\" SUCH DAMAGE. 31.\" 32.\" @(#)vmstat.8 8.1 (Berkeley) 6/6/93 33.\" $FreeBSD$ 34.\" | 1.\" Copyright (c) 1986, 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 18 unchanged lines hidden (view full) --- 27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30.\" SUCH DAMAGE. 31.\" 32.\" @(#)vmstat.8 8.1 (Berkeley) 6/6/93 33.\" $FreeBSD$ 34.\" |
35.Dd December 10, 2003 | 35.Dd February 11, 2005 |
36.Dt VMSTAT 8 37.Os 38.Sh NAME 39.Nm vmstat 40.Nd report virtual memory statistics 41.Sh SYNOPSIS 42.Nm 43.\" .Op Fl fimst --- 134 unchanged lines hidden (view full) --- 178.Fl p 179arguments are ORed together to form a matching expression against which 180all devices in the system are compared. 181Any device that fully matches 182any 183.Fl p 184argument will be included in the 185.Nm | 36.Dt VMSTAT 8 37.Os 38.Sh NAME 39.Nm vmstat 40.Nd report virtual memory statistics 41.Sh SYNOPSIS 42.Nm 43.\" .Op Fl fimst --- 134 unchanged lines hidden (view full) --- 178.Fl p 179arguments are ORed together to form a matching expression against which 180all devices in the system are compared. 181Any device that fully matches 182any 183.Fl p 184argument will be included in the 185.Nm |
186output, up to three devices, or the maximum number of devices specified | 186output, up to two devices, or the maximum number of devices specified |
187by the user. 188.It Fl s 189Display the contents of the 190.Em sum 191structure, giving the total number of several kinds of paging related 192events which have occurred since system startup. 193.\" .It Fl t 194.\" Report on the number of page in and page reclaims since system startup, --- 62 unchanged lines hidden (view full) --- 257.It sr 258pages scanned by clock algorithm, per-second 259.El 260.It disks 261Disk operations per second (this field is system dependent). 262Typically paging will be split across the available drives. 263The header of the field is the first two characters of the disk name and 264the unit number. | 187by the user. 188.It Fl s 189Display the contents of the 190.Em sum 191structure, giving the total number of several kinds of paging related 192events which have occurred since system startup. 193.\" .It Fl t 194.\" Report on the number of page in and page reclaims since system startup, --- 62 unchanged lines hidden (view full) --- 257.It sr 258pages scanned by clock algorithm, per-second 259.El 260.It disks 261Disk operations per second (this field is system dependent). 262Typically paging will be split across the available drives. 263The header of the field is the first two characters of the disk name and 264the unit number. |
265If more than three disk drives are configured in the system, | 265If more than two disk drives are configured in the system, |
266.Nm | 266.Nm |
267displays only the first three drives, unless the user specifies the | 267displays only the first two drives, unless the user specifies the |
268.Fl n 269argument to increase the number of drives displayed. 270This will probably 271cause the display to exceed 80 columns, however. 272To force 273.Nm 274to display specific drives, their names may be supplied on the command line. 275The 276.Nm 277utility 278defaults to show disks first, and then various other random devices in the | 268.Fl n 269argument to increase the number of drives displayed. 270This will probably 271cause the display to exceed 80 columns, however. 272To force 273.Nm 274to display specific drives, their names may be supplied on the command line. 275The 276.Nm 277utility 278defaults to show disks first, and then various other random devices in the |
279system to add up to three devices, if there are that many devices in the | 279system to add up to two devices, if there are that many devices in the |
280system. 281If devices are specified on the command line, or if a device type 282matching pattern is specified (see above), 283.Nm 284will only display the given devices or the devices matching the pattern, 285and will not randomly select other devices in the system. 286.It faults 287Trap/interrupt rate averages per second over last 5 seconds. --- 31 unchanged lines hidden (view full) --- 319will print what the system is doing every five 320seconds; this is a good choice of printing interval since this is how often 321some of the statistics are sampled in the system. 322Others vary every second and running the output for a while will make it 323apparent which are recomputed every second. 324.Pp 325The command: 326.Dl vmstat -p da -p cd -w 1 | 280system. 281If devices are specified on the command line, or if a device type 282matching pattern is specified (see above), 283.Nm 284will only display the given devices or the devices matching the pattern, 285and will not randomly select other devices in the system. 286.It faults 287Trap/interrupt rate averages per second over last 5 seconds. --- 31 unchanged lines hidden (view full) --- 319will print what the system is doing every five 320seconds; this is a good choice of printing interval since this is how often 321some of the statistics are sampled in the system. 322Others vary every second and running the output for a while will make it 323apparent which are recomputed every second. 324.Pp 325The command: 326.Dl vmstat -p da -p cd -w 1 |
327will tell vmstat to select the first three direct access or CDROM devices | 327will tell vmstat to select the first two direct access or CDROM devices |
328and display statistics on those devices, as well as other systems 329statistics every second. 330.Sh SEE ALSO 331.Xr fstat 1 , 332.Xr netstat 1 , 333.Xr nfsstat 1 , 334.Xr ps 1 , 335.Xr systat 1 , --- 13 unchanged lines hidden --- | 328and display statistics on those devices, as well as other systems 329statistics every second. 330.Sh SEE ALSO 331.Xr fstat 1 , 332.Xr netstat 1 , 333.Xr nfsstat 1 , 334.Xr ps 1 , 335.Xr systat 1 , --- 13 unchanged lines hidden --- |