Home | History | Annotate | Download | only in rpc.rstatd
History log of /src/libexec/rpc.rstatd/rstat_proc.c
RevisionDateAuthorComments
 1.53  30-Oct-2018  kre sysctl(KERN_BOOTTIME) is a struct timespec, not struct timeval
and has eben since 2009. Adapt.

NFCI - while the tv_usec (now tv_nsec) field is used, we will
keep its uses to microsecond precision to avoid any compat issues.
 1.52  26-Jun-2014  dholland branches: 1.52.22; 1.52.24;
put the sccsids back here too
 1.51  06-Jun-2014  christos Although the kernel handles non-NUL terminated interface names, it is better
to avoid this, and all other places that create ifdr_name use strlcpy anyway
so make it conform.
 1.50  02-Jun-2014  joerg Remove remaining kvm glue.
 1.49  02-Jun-2014  joerg Remove majority of KVM usage.
 1.48  02-Jun-2014  joerg Remove !BSD and lint branches.
 1.47  19-Jun-2012  dholland branches: 1.47.2; 1.47.8;
Pass WARNS=5
 1.46  16-Sep-2011  plunky branches: 1.46.2;
NULL does not need a cast, here
 1.45  30-Aug-2011  plunky Apply casts to cases where xdrproc_t is expected but is not
strictly passed, for example because the second argument is
a different kind of pointer.
 1.44  16-Mar-2009  lukem WARNS=4
 1.43  14-Apr-2006  blymn branches: 1.43.28;
New io statistics
 1.42  11-Jun-2003  drochner no need to #include <sys/dkstat.h>
 1.41  09-Mar-2003  hannken Dont call gettimeofday on a rpc timeval.
This fails on sparc64 because rpc timeval elements are int
and timeval elements are long.
 1.40  02-Nov-2002  mrg update to new dkstats.c interface; no changes to how this program works.
pointed out by uwe@ in private email.
 1.39  28-Jan-2002  augustss Make it compile again (vmstat change fallout).
 1.38  01-Dec-2000  simonb Remove extern variables and functions now declared in dkstats.h.
 1.37  30-Nov-2000  simonb ANSIfy.
 1.36  29-Nov-2000  simonb Use the vm.uvmexp2 sysctl.
 1.35  29-Jun-2000  mrg remove include of <vm/vm.h>
 1.34  04-Jun-2000  perry include sys/sched.h to get definition of CPUSTATES
 1.33  03-Jun-2000  fvdl ANSIfy function prototypes and definitions.
 1.32  03-Jun-2000  fvdl Oops, remove debugging printf.
 1.31  02-Jun-2000  fvdl Adapt for new RPC interface.
 1.30  29-May-2000  simonb The cp_time array has had 5 members since 1994 - show them all in debug
output.
 1.29  25-Mar-1999  bgrayson branches: 1.29.8;
Avoid an open-file leak when not inetd-spawned: only call kvm_openfiles() once
 1.28  24-Mar-1999  mrg completely remove Mach VM support. all that is left is the all the
header files as UVM still uses (most of) these.
 1.27  11-Jan-1999  kleink In userland, pull in <errno.h> instead of <sys/errno.h> for the declaration
of errno.
 1.26  10-Aug-1998  perry bzero->memset, bcopy->memcpy, bcmp->memcmp
 1.25  19-Jul-1998  drochner adapt to changed dkinit() in ../../usr.bin/vmstat/dkstats.c
 1.24  30-Mar-1998  mrg use static int, not just static
 1.23  12-Feb-1998  mrg use sysctl for "kern.boottime" over kvm_read
 1.22  11-Feb-1998  bad Make this compile with -DUVM.
 1.21  07-Feb-1998  mrg make this work in the -DUVM case.
 1.20  07-Oct-1997  mrg WARNS?=1. RCS ids.
 1.19  19-Jul-1997  fvdl Make sure that the last fields in the transmitted stat structs are set
correctly. PR 809, from Jarle Greipsland
 1.18  22-Feb-1997  thorpej Fix reporting of disk statistics that's been broken since new disk
framework went in. From Jarle Greipsland <jarle@runit.sintef.no>, PR #3200.
 1.17  01-Oct-1996  cgd disable use of dk_xfer since it's no longer in the kernel. eventually,
this should be updated to use the new disk statistics structures, but it
would be good if there were an efficient way to get them from the kernel
before that's done. Also, while here, terminate nlist struct array with
an entry with a NULL name, not the name "".
 1.16  30-Aug-1996  thorpej RCS id police.
 1.15  10-Mar-1996  ragge Removed a couple of "ifdef vax" that caused rstatd not to work.
 1.14  09-Jul-1995  pk Use `xdrproc_t' to declare xdr_{args,result}. (takes care of PR#1182).
 1.13  24-Jun-1995  pk Conform to rpcgen generated prototypes.
 1.12  19-Jun-1995  cgd update for new network queues
 1.11  13-Jan-1995  mycroft Fix error messages.
 1.10  23-Dec-1994  cgd be a bit more careful with types, casts, and and function declarations.
 1.9  25-May-1994  pk Use new kvm interface (fixes bug 253)
Also, use the crummy protocol's idea of CPU times.
 1.8  14-May-1994  cgd more #undefs to get it to compile! perverted
 1.7  15-Apr-1994  cgd sum -> cnt
 1.6  01-Apr-1994  cgd long cast
 1.5  07-Dec-1993  mycroft Eliminate a compiler warning.
 1.4  23-Sep-1993  jtc Make sure we use rstat's protocol's values of FSCALE. We were picking up
the FSCALE from sys/param.h which caused our load averages to be sent
incorrectly to remote machines.
 1.3  01-Aug-1993  mycroft Add RCS identifiers.
 1.2  09-Jun-1993  brezak Fix number of args to svcerr_progvers()
 1.1  03-Jun-1993  brezak Add rpc.rstatd, rpc.rusersd, and rpc.rwalld.
 1.29.8.1  22-Jun-2000  minoura Sync w/ netbsd-1-5-base.
 1.43.28.1  13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.46.2.1  30-Oct-2012  yamt sync with head
 1.47.8.1  10-Aug-2014  tls Rebase.
 1.47.2.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.52.24.1  10-Jun-2019  christos Sync with HEAD
 1.52.22.1  26-Nov-2018  pgoyette Sync with HEAD, resolve a couple of conflicts

RSS XML Feed