1.\" 2.\" SPDX-License-Identifier: BSD-2-Clause 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.Dd April 22, 2021 28.Dt STATS 7 29.Os 30.Sh NAME 31.Nm stats 32.Nd information about various and sundry statistics utilities 33.Sh DESCRIPTION 34The 35.Fx 36userland in part contains a series of utilities which can be used 37to ascertain system state at runtime and optionally from core files. 38.Sh COMMANDS 39The following commands 40.Pq sorted alphabetically 41are currently included in the base system, with more appearing periodically. 42.Bl -tag -width "zpool iostat" 43.It Nm btsockstat 44Show Bluetooth socket information 45.It Nm ctlstat 46CAM Target Layer statistics utility 47.It Nm dwatch 48Watch processes as they trigger a particular DTrace probe 49.It Nm fstat 50Identify active files 51.It Nm gstat 52Print statistics about GEOM disks 53.It Nm ibstat 54Display information from the InfiniBand driver 55.It Nm ifmcstat 56Dump multicast group management statistics per interface 57.It Nm iostat 58Report kernel subsystem I/O statistics 59.It Nm ipfstat 60Display IPF packet filter statistics and filter list 61.It Nm kldstat 62Display status of dynamic kernel linker 63.It Nm lockstat 64Report kernel lock and profiling statistics 65.It Nm mailstats 66Display mail statistics 67.It Nm netstat 68Show network status and statistics 69.It Nm nfsstat 70Display NFS statistics 71.It Nm plockstat 72Trace pthread lock statistics using DTrace 73.It Nm pmcstat 74Performance measurement with performance monitoring hardware 75.It Nm procstat 76Get detailed process information 77.It Nm pstat 78Display system data structures 79.It Nm sockstat 80List open sockets 81.It Nm stat 82Display file status 83.It Nm systat 84Display system statistics 85.It Nm vmstat 86Report virtual memory statistics 87.It Nm zpool iostat 88Report ZFS I/O statistics 89.El 90.Sh SEE ALSO 91.Xr btsockstat 1 , 92.Xr dwatch 1 , 93.Xr fstat 1 , 94.Xr intro 1 , 95.Xr lockstat 1 , 96.Xr netstat 1 , 97.Xr plockstat 1 , 98.Xr procstat 1 , 99.Xr sockstat 1 , 100.Xr stat 1 , 101.Xr systat 1 , 102.Xr intro 7 , 103.Xr ctlstat 8 , 104.Xr gstat 8 , 105.Xr ibstat 8 , 106.Xr ifmcstat 8 , 107.Xr intro 8 , 108.Xr iostat 8 , 109.Xr ipfstat 8 , 110.Xr kldstat 8 , 111.Xr mailstats 8 , 112.Xr pmcstat 8 , 113.Xr pstat 8 , 114.Xr vmstat 8 , 115.Xr zpool 8 116.Sh HISTORY 117The 118.Nm 119manual page first appeared in 120.Fx 13.0 . 121.Sh AUTHORS 122.An Daniel Ebdrup Jensen Aq Mt debdrup@FreeBSD.org 123