Commit Graph

24 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
garbled 9e44e9b578 More and more .Os cleanups. .Os is defined in the tmac.doc-common file,
so we shouldn't override it with versions in the manpages.  Many more to
come.
1999-03-22 18:16:34 +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 8ba07ab0b3 use CPPFLAGS instead of CFLAGS 1997-10-24 09:00:17 +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
jtc 8ba230d554 vmstat is in section 8; PR #1532 1995-09-27 19:20:24 +00:00
jtc 1d1682d63c vmunix -> netbsd (PR #375) 1994-08-06 06:11:03 +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
mycroft c3e42d1c64 Add RCS indentifiers. 1993-08-01 07:22:47 +00:00
mycroft cda4f8f6ee Add RCS identifiers. 1993-08-01 05:37:30 +00:00
mycroft 77f1922b02 Fix up FILES sections. 1993-06-13 23:06:41 +00:00
mycroft 9b971264a9 Update file names. 1993-06-13 22:29:02 +00:00
cgd 61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00