/[base]/head/usr.bin/vmstat/vmstat.8
ViewVC logotype

Log of /head/usr.bin/vmstat/vmstat.8

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (download) (annotate)
Sticky Revision:

Revision 363576 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jul 26 18:33:29 2020 UTC (3 years, 11 months ago) by ian
File length: 9851 byte(s)
Diff to previous 363569
Describe the value in the 're' column of vmstat(8) in terms of freebsd's vm
implementation.  The old description was left over from the 4.4 BSD Lite
import in 1994, and was a bit misleading (not all arches use simulated
reference bits, some implement reference tracking in hardware).


Revision 363569 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jul 26 17:50:39 2020 UTC (3 years, 11 months ago) by ian
File length: 9837 byte(s)
Diff to previous 362327
Remove commented-out lines describing the old never-implemented -t option.

In 2018, r338094 removed the commented-out code for supporting the -t
command line option which had been present since the BSD 4.4 Lite import,
but was never implemented for freebsd.

This does the same for the man page.


Revision 362327 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jun 18 13:19:56 2020 UTC (4 years ago) by gbe
File length: 9970 byte(s)
Diff to previous 328134
Add HISTORY sections to banner(6), basename(1), limits(1) and vmstat(8)

Reviewed by:	bcr (mentor)
Approved by:	bcr (mentor)
MFC after:	7 days
Differential Revision:	https://reviews.freebsd.org/D25019


Revision 328134 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jan 18 19:43:02 2018 UTC (6 years, 5 months ago) by jhb
File length: 9918 byte(s)
Diff to previous 314436
Update various statements in vmstat(8) to match reality.

- The process stats are actually thread counts rather than process
  counts.
- Simplify various descriptions to remove mention of stats that are
  updated every 5 seconds (all VM related stats are now "instant",
  only the load average is updated every 5 seconds).
- Don't make any mention of special treatment for processes that have
  been active in the last 20 seconds.  We don't track that stat.
- Rework the description of active virtual memory.  Call it mapped
  virtual memory and explicitly point out it is not the same as the
  active page queue (which corresponds to "Active" in top(1)), and
  also hint at the possible bogusness of the value (e.g. if a process
  maps a single page out of a multiple GB file, the entire file's size
  is considered mapped).
- Simplify a few descriptions that implied their output was a value
  per interval.  All of the "rate" values are per-second rates scaled
  across the interval.
- Update a few comments for 'struct vmtotal' along similar lines.

Reported by:	mwlucas (indirectly)
Reviewed by:	kib
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D13905


Revision 314436 - (view) (download) (annotate) - [select for diffs]
Modified Tue Feb 28 23:42:47 2017 UTC (7 years, 4 months ago) by imp
File length: 10082 byte(s)
Diff to previous 291090
Renumber copyright clause 4

Renumber cluase 4 to 3, per what everybody else did when BSD granted
them permission to remove clause 3. My insistance on keeping the same
numbering for legal reasons is too pedantic, so give up on that point.

Submitted by:	Jan Schaumann <jschauma@stevens.edu>
Pull Request:	https://github.com/freebsd/freebsd/pull/96


Revision 291090 - (view) (download) (annotate) - [select for diffs]
Modified Fri Nov 20 05:15:34 2015 UTC (8 years, 7 months ago) by rodrigc
File length: 10082 byte(s)
Diff to previous 283624
Convert vmstat to use libxo.

This patch was based on this patch:
https://github.com/Juniper/libxo/blob/master/patches/vmstat.patch

by Phil Shafer at Juniper Networks, but updated to the latest
vmstat code.

Reviewed by:           allanjude
Differential Revision: https://reviews.freebsd.org/D3935


Revision 283624 - (view) (download) (annotate) - [select for diffs]
Modified Wed May 27 18:11:05 2015 UTC (9 years, 1 month ago) by jhb
File length: 9856 byte(s)
Diff to previous 269727
Export a list of VM objects in the system via a sysctl.  The list can be
examined via 'vmstat -o'.  It can be used to determine which files are
using physical pages of memory and how much each is using.

Differential Revision:	https://reviews.freebsd.org/D2277
Reviewed by:	alc, kib
MFC after:	2 weeks
Sponsored by:	Norse Corp, Inc. (forward porting to HEAD/10)


Revision 269727 - (view) (download) (annotate) - [select for diffs]
Modified Fri Aug 8 16:32:06 2014 UTC (9 years, 10 months ago) by bjk
File length: 9746 byte(s)
Diff to previous 216370
Update vmstat usage for last-argument count/wait parameters

Correct the usage in both the manpage and in usage() to indicate
that the wait interval and repetition count may be given either
with the respective -w/-c arguments, or as the final positional
arguments. [0]

The corresponding code to implement the positional arguments has
been conditional on the (always-enabled) BACKWARD_COMPATIBILITY
macro since the original 4.4-lite import.  It's no longer reasonable
to remove the functionality, so remove the macro and conditional
instead.

Note that multiple disks may be given on the command line.

While here, sort arguments and apply minor mdoc fixes.

PR:		184755 [0]
Approved by:	hrs (mentor, src committer)


Revision 216370 - (view) (download) (annotate) - [select for diffs]
Modified Sat Dec 11 08:32:16 2010 UTC (13 years, 6 months ago) by joel
File length: 9385 byte(s)
Diff to previous 213573
Remove the advertising clause from UCB copyrighted files in usr.bin.  This
is in accordance with the information provided at
ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change

Also add $FreeBSD$ to a few files to keep svn happy.

Discussed with:	imp, rwatson


Revision 213573 - (view) (download) (annotate) - [select for diffs]
Modified Fri Oct 8 12:40:16 2010 UTC (13 years, 8 months ago) by uqs
File length: 9626 byte(s)
Diff to previous 208389
mdoc: drop redundant .Pp and .LP calls

They have no effect when coming in pairs, or before .Bl/.Bd


Revision 208389 - (view) (download) (annotate) - [select for diffs]
Modified Fri May 21 17:10:52 2010 UTC (14 years, 1 month ago) by sbruno
File length: 9630 byte(s)
Diff to previous 174573
Allow sub-second interval timings for iostat and vmstat.
e.g.
vmstat -w.5
iostat -w.5

Reviewed by:	jhb
Approved by:	scottl (mentor)
Obtained from:	Yahoo Inc.
MFC after:	2 weeks


Revision 174573 - (view) (download) (annotate) - [select for diffs]
Modified Thu Dec 13 02:36:11 2007 UTC (16 years, 6 months ago) by peter
File length: 9559 byte(s)
Diff to previous 163921
Add the -H, -h and -P flags to vmstat.  -P causes per-cpu output of
user/system/idle stats.  -h feeds the memory column through
humanize_number() to reduce the amount of column overflowing.  -H turns
this off.  -h is turned on by default if stdout is a tty.


Revision 163921 - (view) (download) (annotate) - [select for diffs]
Modified Thu Nov 2 19:53:57 2006 UTC (17 years, 8 months ago) by rwatson
File length: 9251 byte(s)
Diff to previous 163563
Cross-reference libmemstat(3), malloc(9), uma(9).


Revision 163563 - (view) (download) (annotate) - [select for diffs]
Modified Sat Oct 21 10:40:12 2006 UTC (17 years, 8 months ago) by ru
File length: 9217 byte(s)
Diff to previous 162792
The vm.zone sysctl has gone; zone stats are now supplied by libmemstat(3).


Revision 162792 - (view) (download) (annotate) - [select for diffs]
Modified Fri Sep 29 15:20:48 2006 UTC (17 years, 9 months ago) by ru
File length: 9305 byte(s)
Diff to previous 155567
Markup fixes.


Revision 155567 - (view) (download) (annotate) - [select for diffs]
Modified Sun Feb 12 10:30:52 2006 UTC (18 years, 4 months ago) by marck
File length: 9305 byte(s)
Diff to previous 146650
Default number of direct access devices had been changed from three to two.
Reflect this in other paragraphs.

PR:		93201
Submitted by:	Marian Cerny
MFC After:	1 week


Revision 146650 - (view) (download) (annotate) - [select for diffs]
Modified Thu May 26 17:54:16 2005 UTC (19 years, 1 month ago) by keramida
File length: 9315 byte(s)
Diff to previous 140420
Interlink systat(1), iostat(8) and vmstat(8) through their SEE ALSO
sections, so that users of one can learn about the others easily.


Revision 140420 - (view) (download) (annotate) - [select for diffs]
Modified Tue Jan 18 13:43:56 2005 UTC (19 years, 5 months ago) by ru
File length: 9301 byte(s)
Diff to previous 131491
Sort sections.


Revision 131491 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jul 2 22:22:35 2004 UTC (20 years ago) by ru
File length: 9301 byte(s)
Diff to previous 129435
Mechanically kill hard sentence breaks.


Revision 129435 - (view) (download) (annotate) - [select for diffs]
Modified Wed May 19 09:54:14 2004 UTC (20 years, 1 month ago) by ru
File length: 9307 byte(s)
Diff to previous 127452
Bumped the document date.


Revision 127452 - (view) (download) (annotate) - [select for diffs]
Modified Fri Mar 26 11:01:45 2004 UTC (20 years, 3 months ago) by ru
File length: 9304 byte(s)
Diff to previous 123410
Properly document the -M and -N options.


Revision 123410 - (view) (download) (annotate) - [select for diffs]
Modified Wed Dec 10 22:12:06 2003 UTC (20 years, 6 months ago) by des
File length: 9011 byte(s)
Diff to previous 123250
Document the simpler -a semantics.


Revision 123250 - (view) (download) (annotate) - [select for diffs]
Modified Sun Dec 7 17:46:14 2003 UTC (20 years, 7 months ago) by des
File length: 9155 byte(s)
Diff to previous 113461
Finish the transition from libkvm to sysctl that I started a while ago.
The use of libkvm for post-mortem analysis is still supported (though it
could use more testing).  We can now remove vmstat's setgid bit.

While I'm here, hack the interrupt listing code to not display interrupts
that haven't occurred unless the -a option was given on the command line,
and document this change.


Revision 113461 - (view) (download) (annotate) - [select for diffs]
Modified Mon Apr 14 07:22:25 2003 UTC (21 years, 2 months ago) by tjr
File length: 8910 byte(s)
Diff to previous 99970
Uncomment the description of the -f option. Add rfork() to the list of
system calls it displays stats about.

PR:		50924


Revision 99970 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jul 14 15:12:00 2002 UTC (21 years, 11 months ago) by charnier
File length: 8921 byte(s)
Diff to previous 96247
The .Nm utility


Revision 96247 - (view) (download) (annotate) - [select for diffs]
Modified Thu May 9 11:47:42 2002 UTC (22 years, 2 months ago) by joe
File length: 8904 byte(s)
Diff to previous 79755
Replace /kernel with /boot/kernel/kernel.

PR:		docs/37757
Submitted by:	Hiten Pandya <hiten@uk.FreeBSD.org>


Revision 79755 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jul 15 08:06:20 2001 UTC (22 years, 11 months ago) by dd
File length: 8873 byte(s)
Diff to previous 79535
Remove whitespace at EOL.


Revision 79535 - (view) (download) (annotate) - [select for diffs]
Modified Tue Jul 10 14:16:33 2001 UTC (22 years, 11 months ago) by ru
File length: 8882 byte(s)
Diff to previous 71895
mdoc(7) police: removed HISTORY info from the .Os call.


Revision 71895 - (view) (download) (annotate) - [select for diffs]
Modified Thu Feb 1 16:38:02 2001 UTC (23 years, 5 months ago) by ru
File length: 8888 byte(s)
Diff to previous 71405
mdoc(7) police: split punctuation characters + misc fixes.


Revision 71405 - (view) (download) (annotate) - [select for diffs]
Modified Tue Jan 23 00:37:54 2001 UTC (23 years, 5 months ago) by des
File length: 8863 byte(s)
Diff to previous 70197
Document that the -z option is equivalent to 'sysctl vm.zone'.


Revision 70197 - (view) (download) (annotate) - [select for diffs]
Modified Tue Dec 19 16:00:12 2000 UTC (23 years, 6 months ago) by ru
File length: 8761 byte(s)
Diff to previous 68963
Prepare for mdoc(7)NG.


Revision 68963 - (view) (download) (annotate) - [select for diffs]
Modified Mon Nov 20 19:21:22 2000 UTC (23 years, 7 months ago) by ru
File length: 8780 byte(s)
Diff to previous 50477
mdoc(7) police: use the new features of the Nm macro.


Revision 50477 - (view) (download) (annotate) - [select for diffs]
Modified Sat Aug 28 01:08:13 1999 UTC (24 years, 10 months ago) by peter
File length: 8787 byte(s)
Diff to previous 47786
$Id$ -> $FreeBSD$


Revision 47786 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jun 6 14:16:51 1999 UTC (25 years, 1 month ago) by kris
File length: 8829 byte(s)
Diff to previous 46094
Correct description of -c and -w options

Inspired by:	PR docs/11774
Submitted by:	Chad R. Larson <chad@freeway.dcfinc.com>


Revision 46094 - (view) (download) (annotate) - [select for diffs]
Modified Mon Apr 26 14:08:04 1999 UTC (25 years, 2 months ago) by kris
File length: 8766 byte(s)
Diff to previous 44066
Move an option outside of a nested list and up a bit to live free among
its brothers and sisters.


Revision 44066 - (view) (download) (annotate) - [select for diffs]
Modified Mon Feb 15 13:57:18 1999 UTC (25 years, 4 months ago) by bde
File length: 8769 byte(s)
Diff to previous 43962
Fixed disordering of options in previous commit.


Revision 43962 - (view) (download) (annotate) - [select for diffs]
Modified Sat Feb 13 09:59:24 1999 UTC (25 years, 4 months ago) by dillon
File length: 8766 byte(s)
Diff to previous 43822
    Add -z option to vmstat to dump data from the zone allocator


Revision 43822 - (view) (download) (annotate) - [select for diffs]
Modified Wed Feb 10 00:46:27 1999 UTC (25 years, 4 months ago) by ken
File length: 8697 byte(s)
Diff to previous 39230
Fix vmstat display problems.  The header printout wasn't quite right, and
the display wrapped around.

This decreases the default maximum number of disks shown to 2, so things
don't wrap around so easily.  Also, it fixes the header display issues.

Submitted by:	Bruce Evans <bde@FreeBSD.ORG>


Revision 39230 - (view) (download) (annotate) - [select for diffs]
Modified Tue Sep 15 08:16:45 1998 UTC (25 years, 9 months ago) by gibbs
File length: 8699 byte(s)
Diff to previous 28693
Update system to new device statistics code.

Submitted by:	"Kenneth D. Merry" <ken@plutotech.com>


Revision 28693 - (view) (download) (annotate) - [select for diffs]
Modified Mon Aug 25 06:40:05 1997 UTC (26 years, 10 months ago) by charnier
File length: 6366 byte(s)
Diff to previous 28631
Use err(3). Add some %d to %ld changes.


Revision 28631 - (view) (download) (annotate) - [select for diffs]
Modified Sat Aug 23 21:42:46 1997 UTC (26 years, 10 months ago) by steve
File length: 6340 byte(s)
Diff to previous 21450
Cleanup inconsistencies in the manpage.

PR:		docs/3709
Submitted by:	Takahiro Yugawa <yugawa@orleans.rim.or.jp>


Revision 21450 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jan 9 06:49:33 1997 UTC (27 years, 5 months ago) by mpp
File length: 6307 byte(s)
Diff to previous 17814
Make the man page agree with the actual vmstat output
and options.


Revision 17814 - (view) (download) (annotate) - [select for diffs]
Modified Sat Aug 24 16:12:53 1996 UTC (27 years, 10 months ago) by mpp
File length: 6215 byte(s)
Diff to previous 17799
Change a stray reference to pstat to vmstat.

Pointed-out-by: bde


Revision 17799 - (view) (download) (annotate) - [select for diffs]
Modified Fri Aug 23 21:40:59 1996 UTC (27 years, 10 months ago) by mpp
File length: 6214 byte(s)
Diff to previous 15463
Convert to mdoc format.


Revision 15463 - (view) (download) (annotate) - [select for diffs]
Modified Tue Apr 30 05:20:32 1996 UTC (28 years, 2 months ago) by joerg
File length: 5933 byte(s)
Diff to previous 5064
Correct a typo.

Submitted by:	mbarkah@hemi.com (Ade Barkah)


Revision 5064 - (view) (download) (annotate) - [select for diffs]
Modified Mon Dec 12 00:26:08 1994 UTC (29 years, 6 months ago) by ats
File length: 5933 byte(s)
Diff to previous 1856
change a .TH VMSTAT 1 to a .TH VMSTAT 8 .


Revision 1856 - (view) (download) (annotate) - [select for diffs]
Modified Fri Aug 5 09:14:37 1994 UTC (29 years, 11 months ago) by dg
File length: 5933 byte(s)
Diff to previous 1591
Converted 'vmunix' to 'kernel'.


Revision 1591 - (view) (download) (annotate) - [select for diffs]
Modified Fri May 27 12:33:43 1994 UTC (30 years, 1 month ago) by rgrimes
File length: 5933 byte(s)
Copied from: vendor/CSRG/dist/usr.bin/vmstat/vmstat.8 revision 1590
Diff to previous 1590
This commit was generated by cvs2svn to compensate for changes in r1590,
which included commits to RCS files with non-trunk default branches.


Revision 1590 - (view) (download) (annotate) - [select for diffs]
Added Fri May 27 12:33:43 1994 UTC (30 years, 1 month ago) by rgrimes
Original Path: vendor/CSRG/dist/usr.bin/vmstat/vmstat.8
File length: 5933 byte(s)
BSD 4.4 Lite Usr.bin Sources


This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

  ViewVC Help
Powered by ViewVC 1.1.27