Change the "-4" option flag to "-e" since it does not refer to IPv4
and to make it consistent with the flag used by nfsd and mountd. Approved by: kib (mentor)
This commit is contained in:
parent
287078dd8e
commit
61a2fc1fbb
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=193258
@ -42,7 +42,7 @@
|
|||||||
statistics
|
statistics
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm
|
.Nm
|
||||||
.Op Fl cszW4
|
.Op Fl ceszW
|
||||||
.Op Fl M Ar core
|
.Op Fl M Ar core
|
||||||
.Op Fl N Ar system
|
.Op Fl N Ar system
|
||||||
.Op Fl w Ar wait
|
.Op Fl w Ar wait
|
||||||
@ -83,7 +83,7 @@ second intervals.
|
|||||||
.It Fl z
|
.It Fl z
|
||||||
Reset statistics after displaying them.
|
Reset statistics after displaying them.
|
||||||
(Not currently supported by the experimental nfs subsystem.)
|
(Not currently supported by the experimental nfs subsystem.)
|
||||||
.It Fl 4
|
.It Fl e
|
||||||
Gather statistics from the experimental nfs subsystem that includes
|
Gather statistics from the experimental nfs subsystem that includes
|
||||||
support for NFSv4 instead of the regular nfs subsystem.
|
support for NFSv4 instead of the regular nfs subsystem.
|
||||||
.El
|
.El
|
||||||
|
@ -113,7 +113,7 @@ main(int argc, char **argv)
|
|||||||
|
|
||||||
interval = 0;
|
interval = 0;
|
||||||
memf = nlistf = NULL;
|
memf = nlistf = NULL;
|
||||||
while ((ch = getopt(argc, argv, "csWM:N:w:z4")) != -1)
|
while ((ch = getopt(argc, argv, "cesWM:N:w:z")) != -1)
|
||||||
switch(ch) {
|
switch(ch) {
|
||||||
case 'M':
|
case 'M':
|
||||||
memf = optarg;
|
memf = optarg;
|
||||||
@ -140,7 +140,7 @@ main(int argc, char **argv)
|
|||||||
case 'z':
|
case 'z':
|
||||||
zflag = 1;
|
zflag = 1;
|
||||||
break;
|
break;
|
||||||
case '4':
|
case 'e':
|
||||||
run_v4 = 1;
|
run_v4 = 1;
|
||||||
break;
|
break;
|
||||||
case '?':
|
case '?':
|
||||||
@ -505,7 +505,7 @@ void
|
|||||||
usage(void)
|
usage(void)
|
||||||
{
|
{
|
||||||
(void)fprintf(stderr,
|
(void)fprintf(stderr,
|
||||||
"usage: nfsstat [-cszW] [-M core] [-N system] [-w interval]\n");
|
"usage: nfsstat [-ceszW] [-M core] [-N system] [-w interval]\n");
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user