History log of /freebsd-current/usr.bin/vmstat/vmstat.8
Revision Date Author Comments
# bdcbfde3 23-Nov-2023 Warner Losh <imp@FreeBSD.org>

usr.bin: Remove ancient SCCS tags.

Remove ancient SCCS tags from the tree, automated scripting, with two
minor fixup to keep things compiling. All the common forms in the tree
were removed with a perl script.

Sponsored by: Netflix


# d282badd 15-Nov-2023 Alexander Motin <mav@FreeBSD.org>

Add interface NVME to devstat

This allows to list only NVMe devices in systat, iostat, vmstat, etc.
Previously those were counted as OTHER.


# b2c76c41 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

Remove $FreeBSD$: one-line nroff pattern

Remove /^\.\\"\s*\$FreeBSD\$$\n/


# 3c22b4f8 21-Jun-2021 Warner Losh <imp@FreeBSD.org>

vmstat: correct history

vmstat dates back to 3BSD, but wasn't in 32V nor the 7th edition. It
does not seem to have been in AT&T's commercial offerings at all.

Sponsored by: Netflix


# 336ab722 26-Jul-2020 Ian Lepore <ian@FreeBSD.org>

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).


# e9c003e5 26-Jul-2020 Ian Lepore <ian@FreeBSD.org>

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.


# 1d733bbc 18-Jun-2020 Gordon Bergling <gbe@FreeBSD.org>

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


# 9a7a98a0 18-Jan-2018 John Baldwin <jhb@FreeBSD.org>

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


# fbbd9655 28-Feb-2017 Warner Losh <imp@FreeBSD.org>

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


# 0e51ea91 19-Nov-2015 Craig Rodrigues <rodrigc@FreeBSD.org>

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


# ff87ae35 27-May-2015 John Baldwin <jhb@FreeBSD.org>

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)


# e1ba604a 08-Aug-2014 Benjamin Kaduk <bjk@FreeBSD.org>

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)


# da52b4ca 11-Dec-2010 Joel Dahl <joel@FreeBSD.org>

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


# a7d5f7eb 19-Oct-2010 Jamie Gritton <jamie@FreeBSD.org>

A new jail(8) with a configuration file, to replace the work currently done
by /etc/rc.d/jail.


# 0d9deed5 07-Oct-2010 Ulrich Spörlein <uqs@FreeBSD.org>

mdoc: drop redundant .Pp and .LP calls

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


# 8b10473d 21-May-2010 Sean Bruno <sbruno@FreeBSD.org>

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


# fe0506d7 09-Mar-2010 Marcel Moolenaar <marcel@FreeBSD.org>

Create the altix project branch. The altix project will add support
for the SGI Altix 350 to FreeBSD/ia64. The hardware used for porting
is a two-module system, consisting of a base compute module and a
CPU expansion module. SGI's NUMAFlex architecture can be an excellent
platform to test CPU affinity and NUMA-aware features in FreeBSD.


# d7f03759 19-Oct-2008 Ulf Lilleengen <lulf@FreeBSD.org>

- Import the HEAD csup code which is the basis for the cvsmode work.


# 4adb5266 12-Dec-2007 Peter Wemm <peter@FreeBSD.org>

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.


# 29a055ac 02-Nov-2006 Robert Watson <rwatson@FreeBSD.org>

Cross-reference libmemstat(3), malloc(9), uma(9).


# e75d2f36 21-Oct-2006 Ruslan Ermilov <ru@FreeBSD.org>

The vm.zone sysctl has gone; zone stats are now supplied by libmemstat(3).


# cb29445a 29-Sep-2006 Ruslan Ermilov <ru@FreeBSD.org>

Markup fixes.


# e3f1789a 12-Feb-2006 Dmitry Morozovsky <marck@FreeBSD.org>

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


# 26d8ca83 26-May-2005 Giorgos Keramidas <keramida@FreeBSD.org>

Interlink systat(1), iostat(8) and vmstat(8) through their SEE ALSO
sections, so that users of one can learn about the others easily.


# 6c7216df 18-Jan-2005 Ruslan Ermilov <ru@FreeBSD.org>

Sort sections.


# 6a3e8b0a 02-Jul-2004 Ruslan Ermilov <ru@FreeBSD.org>

Mechanically kill hard sentence breaks.


# 79e44755 19-May-2004 Ruslan Ermilov <ru@FreeBSD.org>

Bumped the document date.


# ab82970e 26-Mar-2004 Ruslan Ermilov <ru@FreeBSD.org>

Properly document the -M and -N options.


# eb23b4e6 10-Dec-2003 Dag-Erling Smørgrav <des@FreeBSD.org>

Document the simpler -a semantics.


# c5163382 07-Dec-2003 Dag-Erling Smørgrav <des@FreeBSD.org>

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.


# bd67e96d 14-Apr-2003 Tim J. Robbins <tjr@FreeBSD.org>

Uncomment the description of the -f option. Add rfork() to the list of
system calls it displays stats about.

PR: 50924


# 084e1980 14-Jul-2002 Philippe Charnier <charnier@FreeBSD.org>

The .Nm utility


# 1063e126 09-May-2002 Josef Karthauser <joe@FreeBSD.org>

Replace /kernel with /boot/kernel/kernel.

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


# f247324d 15-Jul-2001 Dima Dorfman <dd@FreeBSD.org>

Remove whitespace at EOL.


# 62500372 10-Jul-2001 Ruslan Ermilov <ru@FreeBSD.org>

mdoc(7) police: removed HISTORY info from the .Os call.


# d0353b83 01-Feb-2001 Ruslan Ermilov <ru@FreeBSD.org>

mdoc(7) police: split punctuation characters + misc fixes.


# 0b5c9ae2 22-Jan-2001 Dag-Erling Smørgrav <des@FreeBSD.org>

Document that the -z option is equivalent to 'sysctl vm.zone'.


# 9b88faec 19-Dec-2000 Ruslan Ermilov <ru@FreeBSD.org>

Prepare for mdoc(7)NG.


# 8fe908ef 20-Nov-2000 Ruslan Ermilov <ru@FreeBSD.org>

mdoc(7) police: use the new features of the Nm macro.


# c3aac50f 27-Aug-1999 Peter Wemm <peter@FreeBSD.org>

$Id$ -> $FreeBSD$


# 735df156 06-Jun-1999 Kris Kennaway <kris@FreeBSD.org>

Correct description of -c and -w options

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


# d662d4b7 26-Apr-1999 Kris Kennaway <kris@FreeBSD.org>

Move an option outside of a nested list and up a bit to live free among
its brothers and sisters.


# 218221f3 15-Feb-1999 Bruce Evans <bde@FreeBSD.org>

Fixed disordering of options in previous commit.


# 2e8c5eae 13-Feb-1999 Matthew Dillon <dillon@FreeBSD.org>

Add -z option to vmstat to dump data from the zone allocator


# 4faf42f3 09-Feb-1999 Kenneth D. Merry <ken@FreeBSD.org>

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>


# 8d2fbde5 15-Sep-1998 Justin T. Gibbs <gibbs@FreeBSD.org>

Update system to new device statistics code.

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


# 495aecea 25-Aug-1997 Philippe Charnier <charnier@FreeBSD.org>

Use err(3). Add some %d to %ld changes.


# aeaa52db 23-Aug-1997 Steve Price <steve@FreeBSD.org>

Cleanup inconsistencies in the manpage.

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


# 9d16a728 08-Jan-1997 Mike Pritchard <mpp@FreeBSD.org>

Make the man page agree with the actual vmstat output
and options.


# 33d83c83 24-Aug-1996 Mike Pritchard <mpp@FreeBSD.org>

Change a stray reference to pstat to vmstat.

Pointed-out-by: bde


# 1c1f145f 23-Aug-1996 Mike Pritchard <mpp@FreeBSD.org>

Convert to mdoc format.


# c584e0e8 29-Apr-1996 Joerg Wunsch <joerg@FreeBSD.org>

Correct a typo.

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


# ab51dae9 11-Dec-1994 Andreas Schulz <ats@FreeBSD.org>

change a .TH VMSTAT 1 to a .TH VMSTAT 8 .


# b3bfc719 05-Aug-1994 David Greenman <dg@FreeBSD.org>

Converted 'vmunix' to 'kernel'.


# 9b50d902 26-May-1994 Rodney W. Grimes <rgrimes@FreeBSD.org>

BSD 4.4 Lite Usr.bin Sources