mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-23 11:18:54 +00:00
nfsstat: Add libxo output
Add libxo output support Merge exp41_intpr and exp_intpr function. The only difference is to print NFSV4.1 operations in exp41, add a third arguement to control that. printtitle was set to 1 and don't have a switch, add a -q options to control it. Reviewed by: bapt Sponsored by: Gandi.net Differential Revision: https://reviews.freebsd.org/D14012
This commit is contained in:
parent
f1824e85ef
commit
2145d321ac
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=328588
@ -4,6 +4,6 @@
|
||||
PROG= nfsstat
|
||||
CFLAGS+=-DNFS
|
||||
|
||||
LIBADD+= devstat
|
||||
LIBADD+= devstat xo
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -28,7 +28,7 @@
|
||||
.\" From: @(#)nfsstat.1 8.1 (Berkeley) 6/6/93
|
||||
.\" $FreeBSD$
|
||||
.\"
|
||||
.Dd November 23, 2016
|
||||
.Dd January 22, 2018
|
||||
.Dt NFSSTAT 1
|
||||
.Os
|
||||
.Sh NAME
|
||||
@ -38,6 +38,7 @@
|
||||
statistics
|
||||
.Sh SYNOPSIS
|
||||
.Nm
|
||||
.Op Fl -libxo
|
||||
.Op Fl cdEemszW
|
||||
.Op Fl M Ar core
|
||||
.Op Fl N Ar system
|
||||
@ -124,6 +125,15 @@ activity for both the client and server at
|
||||
second intervals.
|
||||
.It Fl z
|
||||
Reset statistics after displaying them.
|
||||
.It Fl q
|
||||
Do not print header
|
||||
.It Fl -libxo
|
||||
Generate output via
|
||||
.Xr libxo 3
|
||||
in a selection of different human and machine readable formats.
|
||||
See
|
||||
.Xr xo_parse_args 3
|
||||
for details on command line arguments.
|
||||
.El
|
||||
.Sh FILES
|
||||
.Bl -tag -width ".Pa /boot/kernel/kernel" -compact
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user