summaryrefslogtreecommitdiffstats
path: root/usr.bin/nfsstat
Commit message (Collapse)AuthorAgeFilesLines
* MFC 261512,261514:jhb2014-02-191-35/+27
| | | | | | | - Partially revert r52493 and change client side interval statistics to report the actual number of RPCs issued, not the theoretical number that would be issued if all caching was disabled. - Use the DELTA() macro to tidy the server-side interval stats code a bit.
* Modify nfsstat.c so that it prints out an error when a non-rootrmacklem2013-06-091-0/+3
| | | | | | | user attempts to use the "-m" option and it fails. Requested by: danny@cs.huji.ac.il MFC after: 2 weeks
* Document that the NFSv4 server statistics are operation counts andrmacklem2013-05-011-1/+5
| | | | | | | not RPC counts. This is a content change. MFC after: 2 weeks
* Document the "-m" option added by r243783.rmacklem2012-12-021-2/+8
| | | | | | | This is a content change. Reviewed by: alfred MFC after: 2 weeks
* Add a "-m" option to nfsstat, which dumps out thermacklem2012-12-021-2/+24
| | | | | | | | actual options used by all NFS mounts. Works for the new/default NFS client only. Reviewed by: alfred MFC after: 2 weeks
* Fix a bug which prevents "nfsstat -W" for server statistics from working.hrs2012-07-221-2/+1
|
* Fix nfsstat(1) so that it prints out correct stats for thermacklem2011-08-231-23/+23
| | | | | | | | | new NFS server when the "-e" option is not used. The bug was that srvrpccnt[] was being indexed by NFSPROC_XXX when it needs to be indexed by NFSV4OP_XXX. Tested by: hrs Approved by: re (bz)
* Fix nfsstat(1) so that it prints out correct stats for thermacklem2011-08-231-18/+18
| | | | | | | | | | new NFS server when the "-w" option is used. The problem was spotted by hrs@ during testing where srvrpcnt[] must be indexed by NFSV4OP_XXX and not NFSPROC_XXX. Submitted by: hrs Approved by: re (bz) MFC after: 2 weeks
* Change the sysctl naming for the old and new NFS clientsrmacklem2011-05-151-2/+2
| | | | | to vfs.oldnfs.xxx and vfs.nfs.xxx respectively. This makes the default nfs client use vfs.nfs.xxx after r221124.
* - Add a forgotten -o to usage().ru2011-05-051-1/+1
| | | | - Sync usage() with manpage's SYNOPSIS.
* [mdoc] remove a hard sentence break.ru2011-05-051-1/+2
|
* Update nfsstat.1 to reflect the changes done to nfsstat(1)rmacklem2011-05-041-5/+10
| | | | | | | by r221455. This includes a new "-o" option for displaying statistics from the old NFS client/server and a slightly different description for the "-e" option. This is a content change.
* Modify nfsstat(1) so that it reports statistics for thermacklem2011-05-041-106/+253
| | | | | | | new NFS client/server by default, in a format compatible with the old NFS client/server. Also add a "-o" flag that forces nfsstat(1) to get statistics for the old NFS client/server.
* Modify nfsstat(1) so that it prints out the buffer cachermacklem2011-05-041-4/+6
| | | | | | stats in the same way for the new client as the old one. MFC after: 2 weeks
* Fix nfsstat.c so that the "-z" option works for the newrmacklem2011-05-041-5/+12
| | | | | | NFS subsystem. MFC after: 2 weeks
* Revert r221308, since it incorrectly zero'd both client andrmacklem2011-05-041-6/+3
| | | | server stats when "-c" or "-s" was specified.
* Fix nfsstat.1 to indicate that "-z" now works forrmacklem2011-05-011-2/+1
| | | | | | | the new NFS subsystems after r221308. This is a content change. MFC after: 2 weeks
* Fix nfsstat so that the "-z" option works for thermacklem2011-05-011-3/+6
| | | | | | new NFS subsystem. MFC after: 2 weeks
* Show client's access cache statistics.ru2011-04-131-3/+4
|
* Remove the advertising clause from UCB copyrighted files in usr.bin. Thisjoel2010-12-112-8/+0
| | | | | | | | | 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
* Build usr.bin/ with WARNS=6 by default.ed2010-01-021-0/+2
| | | | Also add some missing $FreeBSD$ to keep svn happy.
* Revert most part of 200420 as requested, as more review and polish isdelphij2009-12-131-0/+2
| | | | needed.
* Remove unneeded header includes from usr.bin/ except contributed code.delphij2009-12-111-2/+0
| | | | Tested with: make universe
* Don't use sys/nfs/rpcv2.h - it is part of the old kernel RPC implementationdfr2009-06-241-1/+0
| | | | and will be removed.
* Use C99 initialization when necessary; apply static to internal rountines.delphij2009-06-231-5/+5
| | | | This makes nfsstat WARNS=3 clean.
* Include <sys/module.h> for modfind().ed2009-06-141-0/+1
| | | | Submitted by: Pawel Worach
* Change the "-4" option flag to "-e" since it does not refer to IPv4rmacklem2009-06-012-5/+5
| | | | | | and to make it consistent with the flag used by nfsd and mountd. Approved by: kib (mentor)
* Add the "-4" option to nfsstat, so that it will reports statsrmacklem2009-05-252-7/+369
| | | | | | for the experimental nfs subsystem when that option is specified. Approved by: kib (mentor)
* Add a -z flag to nfsstat which zeros the NFS statistics after displayingjhb2007-10-182-24/+48
| | | | | | | | them. MFC after: 1 week Requested by: ps Submitted by: ps (6 years ago)
* Fix markup.ru2006-12-251-5/+9
|
* Fix a few cases that relied on 'implicit int' (constraint violation in C99).stefanf2004-07-111-0/+1
|
* Mechanically kill hard sentence breaks.ru2004-07-021-1/+2
|
* Replace /kernel with /boot/kernel/kernel.joe2002-05-091-3/+3
| | | | | PR: docs/37757 Submitted by: Hiten Pandya <hiten@uk.FreeBSD.org>
* remove __Pimp2002-03-221-6/+6
|
* Style improvements recommended by Bruce as a follow up to somedwmalone2001-12-101-1/+1
| | | | | | | | of the recent WARNS commits. The idea is: 1) FreeBSD id tags should follow vendor tags. 2) Vendor tags should not be compiled (though copyrights probably should). 3) There should be no blank line between including cdefs and __FBSDIF.
* Userland part of nfs client/server split and cleanup.peter2001-09-181-87/+106
|
* mdoc(7) police: removed HISTORY info from the .Os call.ru2001-07-101-1/+1
|
* Fix the error buffer passed to kvm_openfiles to have a correct lengthtmm2001-05-251-1/+2
| | | | | | of _POSIX2_LINE_MAX. MFC after: 3 days
* Take setgid kmem away from nfsstat, it has not needed it for some timetmm2001-03-222-7/+1
| | | | | | now. Approved by: rwatson
* getopt and friends are declared in <unistd.h>imp2000-09-041-2/+0
| | | | getopt returns -1 not EOF.
* Rev 1.9 did not follow style(9) in ordering.obrien1999-12-161-7/+5
|
* Options added in rev 1.14 were not documented in usage().obrien1999-12-161-1/+1
|
* Add -c, -s, and -W options to nfsstat. Improve interval output and adddillon1999-10-252-192/+276
| | | | | | | | | | | wide-format option to get client-side ops and cache statistics on a single line. Change client side ops to the number of attempted ops, whether cached or not, rather then just the number of rpc's that went through to the server. This brings nfsstat inline with systat -vm and vmstat and reduces confusion. The combined cache percentage stats now available via 'nfsstat -cW 1' becomes very useful.
* $Id$ -> $FreeBSD$peter1999-08-282-2/+2
|
* Backout out previous commit. The bug was in the kernel.bde1998-10-251-2/+9
|
* Use sysctlbyname() to locate the vfs.nfs.nfsstats node.msmith1998-10-241-9/+2
| | | | Submitted by: Daniel Rock <rock@cs.uni-sb.de>
* Merged from Lite2. This was mostly already done, mostly indirectlybde1998-01-201-5/+9
| | | | | | | via wollman's changes in rev.1.2 being adopted by Lite2 and the nfsv3 changes in rev.1.3 being adopted by both FreeBSD and Lite2. We were only missing lookup of the type number for nfs (MOUNT_NFS doesn't exist in Lite2).
* ``appears'' -> ``appeared'' (closes PR#3393, Submitted-by: Josh Gilliam)jmg1997-04-271-6/+7
| | | | | add missing Id's other minor clean ups
* compare return value from getopt against -1 rather than EOF, per the finalimp1997-03-291-2/+2
| | | | posix standard on the topic.
* Revert $FreeBSD$ to $Id$peter1997-02-222-2/+2
|
OpenPOWER on IntegriCloud