Commit Graph

16 Commits

Author SHA1 Message Date
simonb 54736c4744 Use the NFS_NFSSTATS sysctl that has been around since Feb '96.
By using a common function to retrieve the NFS stats, the sysctl
aware binary is smaller than the old kvm-only binary on at least
two architectures!
2000-06-13 12:39:43 +00:00
simonb d88dfea295 Don't declare 'extern opt*' getopt variables. 2000-04-14 06:11:07 +00:00
mrg 80efe80bc9 - change setgid kmem programs (that lend themselves to this) so setegid(getgid())
and the top, and then set the effective gid back to kmem around the call to
  kvm_openfiles().  this reduces the time group kmem is available.
- for those above that also allow this, setgid(getgid()) after the call to
  kvm_openfiles() to fully revoke priviledges.
- some KNF
- use err(3) over fprintf(3) in some places
1998-07-06 07:50:18 +00:00
mrg d717877c6e KNF. 1998-07-05 08:15:16 +00:00
msaitoh d4d8503fa5 check return value of kvm_read() more safe 1998-07-03 15:49:25 +00:00
hubertf babf21e12e Update usage string for [-cs]; pointed out by Soren S. Jorvang <soren@t.dk> 1998-03-27 02:40:38 +00:00
hubertf b52322199c Choose only client/server statistics via -s/-c. 1998-03-25 19:54:20 +00:00
lukem 0ef9bf0033 WARNSify, fix .Nm usage, deprecate register, use <err.h> 1997-10-19 06:27:20 +00:00
explorer 5c1fdae73d Message buffer passed to kvm_openfiles() should _POSIX2_LINE_MAX long; PR#3266 1997-03-03 22:22:48 +00:00
thorpej c5f7cf3a9e RCS id police. 1996-03-03 17:21:25 +00:00
fvdl aa58cf9320 Bring in NFSv3 code by Rick Macklem (from Lite2). 1996-02-18 12:02:00 +00:00
mycroft b6109a207c Update from 4.4-Lite. 1994-06-13 21:02:17 +00:00
pk 1cb2ed4f0b off_t fix from <rhealey@aggregate.com> 1994-06-09 15:49:01 +00:00
cgd 9dd345a6c9 fix to use new KVM routines. bug 265. from arndt@mailhost.uni-koblenz.de. 1994-05-27 11:19:02 +00:00
mycroft e9d867ef50 Add RCS identifiers. 1993-08-01 17:54:45 +00:00
cgd 61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00