History log of /freebsd/libexec/rpc.rstatd/rstat_proc.c (Results 26 – 50 of 64)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: release/3.2.0, release/3.1.0, release/3.0.0, release/2.2.8
# b994e535 08-Oct-1998 Kenneth D. Merry <ken@FreeBSD.org>

Fix a memory leak in rpc.rstatd that shows up when it's run in standalone
mode. (i.e., not from inetd)

PR: bin/8212


# 8223b746 16-Sep-1998 Doug Rabson <dfr@FreeBSD.org>

Work around an alpha compiler bug.

Reviewed by: Kenneth D. Merry <ken@plutotech.com>


# b2dfb1f9 15-Sep-1998 Justin T. Gibbs <gibbs@FreeBSD.org>

Update system to new device statistics code.

Submitted by: "Kenneth D. Merry" <ken@plutotech.com>
mike@smith.net.au (Mike Smith)


Revision tags: release/2.2.7, release/2.2.6
# e4a0e42b 20-Jan-1998 Bill Paul <wpaul@FreeBSD.org>

Make these programs compile and work correctly now that /usr/include/rpcsvc
has been ANSI-fied.

Pointed out by: bde


# 859c5407 07-Jan-1998 Philippe Charnier <charnier@FreeBSD.org>

Remove unused #include. Display if inetd started us in case of failure.


# 754c3c57 26-Nov-1997 Philippe Charnier <charnier@FreeBSD.org>

Remove \n at end of syslog string. -Wall cleaning. Cosmetics in man page.


Revision tags: release/2.2.5_cvs, release/2.2.2_cvs, release/2.2.1_cvs, release/2.2.0, release/2.1.7_cvs
# 9e522f7a 22-Feb-1997 Peter Wemm <peter@FreeBSD.org>

Revert $FreeBSD$ to $Id$


Revision tags: release/2.1.6_cvs, release/2.1.6.1
# 1130b656 14-Jan-1997 Jordan K. Hubbard <jkh@FreeBSD.org>

Make the long-awaited change from $Id$ to $FreeBSD$

This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so

Make the long-awaited change from $Id$ to $FreeBSD$

This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.

show more ...


# 702a1d01 03-Jan-1997 Garrett Wollman <wollman@FreeBSD.org>

Update to match changes in <net/if.h>.


# e831f308 11-Dec-1996 Garrett Wollman <wollman@FreeBSD.org>

Convert this program to use sysctl rather than kvm for some of its
statistics. Unfortunately, the coverage of sysctl isn't good enough to do
all of them :-( .


Revision tags: release/2.1.5_cvs, release/2.1.0_cvs, release/2.0.5_cvs
# 6c06b4e2 30-May-1995 Rodney W. Grimes <rgrimes@FreeBSD.org>

Remove trailing whitespace.


Revision tags: release/2.0
# 3e54d2c8 15-Oct-1994 David Greenman <dg@FreeBSD.org>

Updated to changes in struct vmmeter. There is a slight bogosity here:
"pageins/outs" now refers to vnode paging.


# 0c0b205c 28-Aug-1994 Geoff Rehmet <csgr@FreeBSD.org>

rstatd -- from FreeBSD-1.1.5.1, with changes for 4.4-Lite kvm interface.
Original rstatd by John Brezak
Submitted by: Geoff.


Revision tags: release/8.3.0_cvs, release/8.3.0, release/9.0.0, release/7.4.0_cvs, release/8.2.0_cvs, release/7.4.0, release/8.2.0, release/8.1.0_cvs, release/8.1.0, release/7.3.0_cvs, release/7.3.0, release/8.0.0_cvs, release/8.0.0, release/7.2.0_cvs, release/7.2.0, release/7.1.0_cvs, release/7.1.0, release/6.4.0_cvs, release/6.4.0
# 87f2ff4f 10-Jun-2008 John Baldwin <jhb@FreeBSD.org>

Use sysctl to fetch stats from the kernel instead of reading variables
directly via libkvm.

PR: kern/122875, bin/123014
Tested by: Danny Braniss danny cs.huji.ac.il
MFC after: 1 week


Revision tags: release/7.0.0_cvs, release/7.0.0, release/6.3.0_cvs, release/6.3.0, release/6.2.0_cvs, release/6.2.0, release/5.5.0_cvs, release/5.5.0, release/6.1.0_cvs, release/6.1.0, release/6.0.0_cvs, release/6.0.0, release/5.4.0_cvs, release/5.4.0, release/4.11.0_cvs, release/4.11.0, release/5.3.0_cvs, release/5.3.0, release/4.10.0_cvs, release/4.10.0, release/5.2.1_cvs, release/5.2.1, release/5.2.0_cvs, release/5.2.0, release/4.9.0_cvs, release/4.9.0, release/5.1.0_cvs, release/5.1.0
# bd273f0c 02-Jun-2003 David E. O'Brien <obrien@FreeBSD.org>

Add the variable's type to the declaration.


Revision tags: release/4.8.0_cvs, release/4.8.0
# 7194d335 15-Mar-2003 Poul-Henning Kamp <phk@FreeBSD.org>

Run a revision of the devstat interface:

Kernel:

Change statistics to use the *uptime() timescale (ie: relative to
boottime) rather than the UTC aligned timescale. This makes the
device statistics

Run a revision of the devstat interface:

Kernel:

Change statistics to use the *uptime() timescale (ie: relative to
boottime) rather than the UTC aligned timescale. This makes the
device statistics code oblivious to clock steps.

Change timestamps to bintime format, they are cheaper.

Remove the "busy_count", and replace it with two counter fields:
"start_count" and "end_count", which are updated in the down and
up paths respectively. This removes the locking constraint on
devstat.

Add a timestamp argument to devstat_start_transaction(), this will
normally be a timestamp set by the *_bio() function in bp->bio_t0.
Use this field to calculate duration of I/O operations.

Add two timestamp arguments to devstat_end_transaction(), one is
the current time, a NULL pointer means "take timestamp yourself",
the other is the timestamp of when this transaction started (see
above).

Change calculation of busy_time to operate on "the salami principle":
Only when we are idle, which we can determine by the start+end
counts being identical, do we update the "busy_from" field in the
down path. In the up path we accumulate the timeslice in busy_time
and update busy_from.

Change the byte_* and num_* fields into two arrays: bytes[] and
operations[].

Userland:

Change the misleading "busy_time" name to be called "snap_time" and
make the time long double since that is what most users need anyway,
fill it using clock_gettime(CLOCK_MONOTONIC) to put it on the same
timescale as the kernel fields.

Change devstat_compute_etime() to operate on struct bintime.

Remove the version 2 legacy interface: the change to bintime makes
compatibility far too expensive.

Fix a bug in systat's "vm" page where boot relative busy times would
be bogus.

Bump __FreeBSD_version to 500107

Review & Collaboration by: ken

show more ...


# a57042df 15-Mar-2003 Poul-Henning Kamp <phk@FreeBSD.org>

Update to current devstat API.


# fd3a502d 16-Feb-2003 Poul-Henning Kamp <phk@FreeBSD.org>

Add #include <sys/resource.h>


# 1b16b289 16-Feb-2003 Poul-Henning Kamp <phk@FreeBSD.org>

Remove <sys/dkstat.h> #include


Revision tags: release/5.0.0_cvs, release/5.0.0, release/4.7.0_cvs
# 821aa3b4 02-Oct-2002 Mike Barcroft <mike@FreeBSD.org>

Rename local function havedisk() to haveadisk() to avoid conflict a
with another function by the same name in a system header.


# 7309e024 18-Aug-2002 Bruce Evans <bde@FreeBSD.org>

Include <nlist.h> for nlist interfaces instead of depending on namespace
pollution in <kvm.h>.


Revision tags: release/4.6.2_cvs, release/4.6.2, release/4.6.1, release/4.6.0_cvs
# f249dbcc 28-Apr-2002 Dag-Erling Smørgrav <des@FreeBSD.org>

Spell void * as void * rather than caddr_t. This is complicated by the
fact that caddr_t is often misspelled as char *.

Sponsored by: DARPA, NAI Labs


# a174e5b1 07-Feb-2002 Warner Losh <imp@FreeBSD.org>

o __P removal
o use new style prototypes and function definitions
o signal handlers need an argument. Mark it unused.


Revision tags: release/4.5.0_cvs, release/4.4.0_cvs
# b9d45ceb 17-Oct-2001 Bill Fenner <fenner@FreeBSD.org>

The interface index space may be sparsely populated (e.g. when an
interface in the middle is if_detach()'d). Return (and handle)
ENOENT when the ifmib(4) is accessed for a nonexistent interface.

The interface index space may be sparsely populated (e.g. when an
interface in the middle is if_detach()'d). Return (and handle)
ENOENT when the ifmib(4) is accessed for a nonexistent interface.

MFC after: 14 days

show more ...


# 685233ab 03-Aug-2001 Jonathan Chen <jon@FreeBSD.org>

Fixes file descriptor leak in standalone mode.
Prevents simultaneous calls to updatestat() as function is not reentrant.

PR: bin/24857
Submitted by: Martin Butkus <mb@bagheera.thgwf.de>
MFC after:

Fixes file descriptor leak in standalone mode.
Prevents simultaneous calls to updatestat() as function is not reentrant.

PR: bin/24857
Submitted by: Martin Butkus <mb@bagheera.thgwf.de>
MFC after: 1 month

show more ...


123