sjg
008d7c831f
Add META_MODE support.
...
Off by default, build behaves normally.
WITH_META_MODE we get auto objdir creation, the ability to
start build from anywhere in the tree.
Still need to add real targets under targets/ to build packages.
Differential Revision: D2796
Reviewed by: brooks imp
2015-06-13 19:20:56 +00:00
sjg
75a137820d
dirdeps.mk now sets DEP_RELDIR
2015-06-08 23:35:17 +00:00
sjg
65145fa4c8
Merge sync of head
2015-05-27 01:19:58 +00:00
trasz
f9718e52b2
Make nfsstat(1) build with WARNS=6.
...
Sponsored by: The FreeBSD Foundation
2015-04-24 07:57:59 +00:00
trasz
c8f92b825a
Remove oldnfs support from nfsstat(1).
...
Reviewed by: rmacklem@ (earlier version)
Sponsored by: The FreeBSD Foundation
2015-04-23 14:36:01 +00:00
trasz
7ba042082b
Remove some oldnfs remnants.
...
Differential Revision: https://reviews.freebsd.org/D2287
Reviewed by: rmacklem@
Sponsored by: The FreeBSD Foundation
2015-04-18 16:08:06 +00:00
bapt
8d6c7a49a6
Convert to usr.bin/ to LIBADD
...
Reduce overlinking
2014-11-25 14:29:10 +00:00
sjg
5860f0d106
Updated dependencies
2014-05-16 14:09:51 +00:00
sjg
1a7e48acf1
Updated dependencies
2014-05-10 05:16:28 +00:00
sjg
5e568154a0
Merge head
2014-04-28 07:50:45 +00:00
jhb
f39931d6d5
Use the DELTA() macro to tidy the server-side interval stats code a bit.
...
MFC after: 2 weeks
2014-02-05 14:44:59 +00:00
jhb
1df1f0b354
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.
Reviewed by: rmacklem
MFC after: 2 weeks
2014-02-05 14:33:22 +00:00
sjg
62bb106222
Merge from head
2013-09-05 20:18:59 +00:00
rmacklem
55fa9cb194
Modify nfsstat.c so that it prints out an error when a non-root
...
user attempts to use the "-m" option and it fails.
Requested by: danny@cs.huji.ac.il
MFC after: 2 weeks
2013-06-09 21:54:19 +00:00
rmacklem
a7b320131e
Document that the NFSv4 server statistics are operation counts and
...
not RPC counts.
This is a content change.
MFC after: 2 weeks
2013-05-01 22:16:29 +00:00
sjg
6d37b86f2b
Updated dependencies
2013-03-11 17:21:52 +00:00
sjg
0ee5295509
Updated dependencies
2013-02-16 01:23:54 +00:00
obrien
3028e3f8ab
Sync with HEAD.
2013-02-08 16:10:16 +00:00
rmacklem
bc69f28c3b
Document the "-m" option added by r243783.
...
This is a content change.
Reviewed by: alfred
MFC after: 2 weeks
2012-12-02 01:25:19 +00:00
rmacklem
19f0571590
Add a "-m" option to nfsstat, which dumps out the
...
actual options used by all NFS mounts. Works for
the new/default NFS client only.
Reviewed by: alfred
MFC after: 2 weeks
2012-12-02 01:20:43 +00:00
sjg
778e93c51a
Sync from head
2012-11-04 02:52:03 +00:00
marcel
9dd41e3647
Sync FreeBSD's bmake branch with Juniper's internal bmake branch.
...
Requested by: Simon Gerraty <sjg@juniper.net>
2012-08-22 19:25:57 +00:00
hrs
9e3aea4852
Fix a bug which prevents "nfsstat -W" for server statistics from working.
2012-07-22 18:59:31 +00:00
rmacklem
6f1f963a1c
Fix nfsstat(1) so that it prints out correct stats for the
...
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)
2011-08-23 13:44:56 +00:00
rmacklem
96322898da
Fix nfsstat(1) so that it prints out correct stats for the
...
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
2011-08-23 13:17:09 +00:00
rmacklem
7eee820140
Change the sysctl naming for the old and new NFS clients
...
to vfs.oldnfs.xxx and vfs.nfs.xxx respectively. This makes
the default nfs client use vfs.nfs.xxx after r221124.
2011-05-15 20:52:43 +00:00
ru
1e6b02c145
- Add a forgotten -o to usage().
...
- Sync usage() with manpage's SYNOPSIS.
2011-05-05 10:17:49 +00:00
ru
163c172bf2
[mdoc] remove a hard sentence break.
2011-05-05 10:17:08 +00:00
rmacklem
416b5943ad
Update nfsstat.1 to reflect the changes done to nfsstat(1)
...
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.
2011-05-04 20:28:06 +00:00
rmacklem
eb23238cb2
Modify nfsstat(1) so that it reports statistics for the
...
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.
2011-05-04 20:13:26 +00:00
rmacklem
f7e5f59911
Modify nfsstat(1) so that it prints out the buffer cache
...
stats in the same way for the new client as the old one.
MFC after: 2 weeks
2011-05-04 19:28:44 +00:00
rmacklem
ab23d942ef
Fix nfsstat.c so that the "-z" option works for the new
...
NFS subsystem.
MFC after: 2 weeks
2011-05-04 13:50:37 +00:00
rmacklem
c5a0d73cf1
Revert r221308, since it incorrectly zero'd both client and
...
server stats when "-c" or "-s" was specified.
2011-05-04 13:20:44 +00:00
rmacklem
b4774e3dc9
Fix nfsstat.1 to indicate that "-z" now works for
...
the new NFS subsystems after r221308.
This is a content change.
MFC after: 2 weeks
2011-05-01 23:55:56 +00:00
rmacklem
986e90d21e
Fix nfsstat so that the "-z" option works for the
...
new NFS subsystem.
MFC after: 2 weeks
2011-05-01 23:41:35 +00:00
ru
8661978fee
Show client's access cache statistics.
2011-04-13 13:05:48 +00:00
joel
29af67e52c
Remove the advertising clause from UCB copyrighted files in usr.bin. This
...
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
2010-12-11 08:32:16 +00:00
ed
9b380e30d4
Build usr.bin/ with WARNS=6 by default.
...
Also add some missing $FreeBSD$ to keep svn happy.
2010-01-02 10:27:05 +00:00
delphij
0842b7d53f
Revert most part of 200420 as requested, as more review and polish is
...
needed.
2009-12-13 03:14:06 +00:00
delphij
b963db4652
Remove unneeded header includes from usr.bin/ except contributed code.
...
Tested with: make universe
2009-12-11 23:35:38 +00:00
dfr
ec9ddec04c
Don't use sys/nfs/rpcv2.h - it is part of the old kernel RPC implementation
...
and will be removed.
2009-06-24 18:42:21 +00:00
delphij
1a0c54bf10
Use C99 initialization when necessary; apply static to internal rountines.
...
This makes nfsstat WARNS=3 clean.
2009-06-23 23:18:19 +00:00
ed
2277167eed
Include <sys/module.h> for modfind().
...
Submitted by: Pawel Worach
2009-06-14 12:47:27 +00:00
rmacklem
9e9bf16671
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)
2009-06-01 20:34:00 +00:00
rmacklem
c46edbdb7c
Add the "-4" option to nfsstat, so that it will reports stats
...
for the experimental nfs subsystem when that option is specified.
Approved by: kib (mentor)
2009-05-25 15:48:10 +00:00
jhb
1f6b3a5f2c
Add a -z flag to nfsstat which zeros the NFS statistics after displaying
...
them.
MFC after: 1 week
Requested by: ps
Submitted by: ps (6 years ago)
2007-10-18 16:38:07 +00:00
ru
daaaed022c
Fix markup.
2006-12-25 20:30:10 +00:00
stefanf
e0b2a5b339
Fix a few cases that relied on 'implicit int' (constraint violation in C99).
2004-07-11 17:37:33 +00:00
ru
fb1d8b3724
Mechanically kill hard sentence breaks.
2004-07-02 22:22:35 +00:00
joe
36c976074e
Replace /kernel with /boot/kernel/kernel.
...
PR: docs/37757
Submitted by: Hiten Pandya <hiten@uk.FreeBSD.org>
2002-05-09 11:47:42 +00:00