History log of /freebsd-10.1-release/lib/libdevstat/devstat.3
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 272461 02-Oct-2014 gjb

Copy stable/10@r272459 to releng/10.1 as part of
the 10.1-RELEASE process.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


# 244270 15-Dec-2012 trociny

New devstat metrics for devstat_compute_statistics():

DSM_TOTAL_DURATION
DSM_TOTAL_DURATION_READ
DSM_TOTAL_DURATION_WRITE
DSM_TOTAL_DURATION_FREE
DSM_TOTAL_DURATION_OTHER
DSM_TOTAL_BUSY_TIME


# 231564 12-Feb-2012 ed

Globally replace u_int*_t from (non-contributed) man pages.

The reasoning behind this, is that if we are consistent in our
documentation about the uint*_t stuff, people will be less tempted to
write new code that uses the non-standard types.

I am not going to bump the man page dates, as these changes can be
considered style nits. The meaning of the man pages is unaffected.

MFC after: 1 month


# 210823 03-Aug-2010 joel

Spelling fixes.


# 148910 09-Aug-2005 ken

Remove a reference to compute_stats(), since it is no longer documented at
least.

Submitted by: osa
MFC after: 1 week


# 148093 17-Jul-2005 charnier

sync function prototype with reality.


# 147690 30-Jun-2005 ru

Tidy up the markup.

Approved by: re (blanket manpages)


# 131504 02-Jul-2004 ru

Mechanically kill hard sentence breaks.


# 119893 08-Sep-2003 ru

mdoc(7): Use the new feature of the .In macro.


# 115225 22-May-2003 ru

Assorted mdoc(7) fixes.

Approved by: re (blanket)


# 112375 18-Mar-2003 phk

Update to match reality closer.


# 111121 19-Feb-2003 phk

Don't tell people to include <sys/dkstat.h> any more.

Pointed out by: kuriyama


# 84395 03-Oct-2001 bde

Fixed wrong arg type in synopsis.


# 84306 01-Oct-2001 ru

mdoc(7) police: Use the new .In macro for #include statements.


# 82257 24-Aug-2001 ken

Remove a duplicate "that".

Submitted by: "Sergey A. Osokin" <osa@freebsd.org.ru>


# 82139 22-Aug-2001 ru

mdoc(7) police: Fixed broken xrefs.


# 81883 18-Aug-2001 ken

Implement compute_stats() in terms of devstat_compute_statistics(). This
gets rid of the duplicated code in compute_stats().

Add a new DSM_SKIP statistic type for devstat_compute_statistics() that
causes the subsequent variable argument to be skipped.

Thanks to Sergey Osokin for coding up my idea/code fragment.

Submitted by: "Sergey A. Osokin" <osa@freebsd.org.ru>


# 81133 04-Aug-2001 tmm

Add some features to libdevstat, and overhaul the interface a bit:

1.) prefix all functions in the library with devstat_ (compatability
functions are available for all functions that were chaned in an
incompatible way, but are deprecated).
2.) Add a pointer to a kvm_t as the first argument to functions that
used to get their information via sysctl; they behave the same
as before when NULL is passed as this argument, otherwise, the
information is obtained via libkvm using the supplied handle.
3.) Add a new function, devstat_compute_statistics(), that is intended
to replace the old compute_stats() function. It offers more
statistics data, and has a more flexible interface.

libdevstat does now require libkvm; a library depedency is added, so
that libkvm only needs to be explicitely specified for statically linked
programs.
The library major version number is bumped.

Submitted by: Sergey A. Osokin <osa@freebsd.org.ru>, ken (3)
Reviewed by: ken


# 79754 15-Jul-2001 dd

Remove whitespace at EOL.


# 79531 10-Jul-2001 ru

mdoc(7) police: removed HISTORY info from the .Os call.


# 71895 01-Feb-2001 ru

mdoc(7) police: split punctuation characters + misc fixes.


# 70481 29-Dec-2000 ru

Prepare for mdoc(7)NG.


# 70015 14-Dec-2000 ru

mdoc(7) police: removed history info from the .Os FreeBSD call.


# 68945 20-Nov-2000 ru

mdoc(7) police: use the new features of the Nm macro.


# 59505 22-Apr-2000 phantom

Introduce .Lb macro to libdevstat library manpage


# 51598 23-Sep-1999 ken

Clarify what getdevs() expects as input.

Prompted by: grog


# 51515 21-Sep-1999 phantom

Synchronization of NAME and SINOPSYS sections.
mdoc(7)'fy


# 50476 27-Aug-1999 peter

$Id$ -> $FreeBSD$


# 44490 05-Mar-1999 bde

Fixed missing header in synopsis (<devstat.h> unfortunately depends on
<sys/dkstat.h>).


# 42329 06-Jan-1999 obrien

spell check


# 39498 19-Sep-1998 ken

Change the devstat generation number from an int to a long. The int-sized
generation was causing unaligned access faults on the Alpha.

I have incremented the devstat version number, since this is an interface
change. You'll need to recompile libdevstat, systat, iostat, vmstat and
rpc.rstatd along with your kernel.

Partially Submitted by: Andrew Gallatin <gallatin@cs.duke.edu>


# 39211 15-Sep-1998 gibbs

Device statistics library. Used by iostat, vmstat, and systat to
format and analyze the output of the new device statistics sysctls.

Submitted by: "Kenneth D. Merry" <ken@FreeBSD.org>