xref: /freebsd/share/man/man7/stats.7 (revision 1323ec57)
1.\"
2.\" SPDX-License-Identifier: BSD-2-Clause-FreeBSD
3.\"
4.\" Copyright (c) 2020 Daniel Ebdrup Jensen
5.\"
6.\" Redistribution and use in source and binary forms, with or without
7.\" modification, are permitted provided that the following conditions
8.\" are met:
9.\" 1. Redistributions of source code must retain the above copyright
10.\"    notice, this list of conditions and the following disclaimer.
11.\" 2. Redistributions in binary form must reproduce the above copyright
12.\"    notice, this list of conditions and the following disclaimer in the
13.\"    documentation and/or other materials provided with the distribution.
14.\"
15.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
16.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
17.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
18.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
19.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
20.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
21.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25.\" SUCH DAMAGE.
26.\"
27.\" $FreeBSD$
28.\"
29.Dd April 22, 2021
30.Dt STATS 7
31.Os
32.Sh NAME
33.Nm stats
34.Nd information about various and sundry statistics utilities
35.Sh DESCRIPTION
36The
37.Fx
38userland in part contains a series of utilities which can be used
39to ascertain system state at runtime and optionally from core files.
40.Sh COMMANDS
41The following commands
42.Pq sorted alphabetically
43are currently included in the base system, with more appearing periodically.
44.Bl -tag -width "zpool iostat"
45.It Nm btsockstat
46Show Bluetooth socket information
47.It Nm ctlstat
48CAM Target Layer statistics utility
49.It Nm dwatch
50Watch processes as they trigger a particular DTrace probe
51.It Nm fstat
52Identify active files
53.It Nm gstat
54Print statistics about GEOM disks
55.It Nm ibstat
56Display information from the InfiniBand driver
57.It Nm ifmcstat
58Dump multicast group management statistics per interface
59.It Nm iostat
60Report kernel subsystem I/O statistics
61.It Nm ipfstat
62Display IPF packet filter statistics and filter list
63.It Nm kldstat
64Display status of dynamic kernel linker
65.It Nm lockstat
66Report kernel lock and profiling statistics
67.It Nm mailstats
68Display mail statistics
69.It Nm netstat
70Show network status and statistics
71.It Nm nfsstat
72Display NFS statistics
73.It Nm plockstat
74Trace pthread lock statistics using DTrace
75.It Nm pmcstat
76Performance measurement with performance monitoring hardware
77.It Nm procstat
78Get detailed process information
79.It Nm pstat
80Display system data structures
81.It Nm sockstat
82List open sockets
83.It Nm stat
84Display file status
85.It Nm systat
86Display system statistics
87.It Nm vmstat
88Report virtual memory statistics
89.It Nm zpool iostat
90Report ZFS I/O statistics
91.El
92.Sh SEE ALSO
93.Xr btsockstat 1 ,
94.Xr dwatch 1 ,
95.Xr fstat 1 ,
96.Xr intro 1 ,
97.Xr lockstat 1 ,
98.Xr netstat 1 ,
99.Xr plockstat 1 ,
100.Xr procstat 1 ,
101.Xr sockstat 1 ,
102.Xr stat 1 ,
103.Xr systat 1 ,
104.Xr intro 7 ,
105.Xr ctlstat 8 ,
106.Xr gstat 8 ,
107.Xr ibstat 8 ,
108.Xr ifmcstat 8 ,
109.Xr intro 8 ,
110.Xr iostat 8 ,
111.Xr ipfstat 8 ,
112.Xr kldstat 8 ,
113.Xr mailstats 8 ,
114.Xr pmcstat 8 ,
115.Xr pstat 8 ,
116.Xr vmstat 8 ,
117.Xr zpool 8
118.Sh HISTORY
119The
120.Nm
121manual page first appeared in
122.Fx 13.0 .
123.Sh AUTHORS
124.An Daniel Ebdrup Jensen Aq Mt debdrup@FreeBSD.org
125