summaryrefslogtreecommitdiffstats
path: root/lib/libdevstat
Commit message (Collapse)AuthorAgeFilesLines
* Remove 'register' keyword.obrien2002-03-211-2/+2
|
* Fixed wrong arg type in synopsis.bde2001-10-031-1/+1
|
* mdoc(7) police: Use the new .In macro for #include statements.ru2001-10-011-2/+2
|
* Turn on WARNS?= 2 for libdevstat.ken2001-09-233-24/+30
| | | | Submitted by: "Sergey A. Osokin" <osa@freebsd.org.ru>
* Implement __FBSDID()dillon2001-09-161-2/+3
|
* Remove a duplicate "that".ken2001-08-241-1/+1
| | | | Submitted by: "Sergey A. Osokin" <osa@freebsd.org.ru>
* mdoc(7) police: Fixed broken xrefs.ru2001-08-221-1/+1
|
* Fix some style inconsistencies introduced in rev 1.10, as well as someken2001-08-211-34/+36
| | | | | other inconsistencies that I missed in my review of rev 1.7. Also fix a cut-n-paste error from an earlier revision.
* Better snprintf() handling.brian2001-08-201-38/+23
| | | | Prompted by: bde
* Handle snprintf() returning -1.brian2001-08-201-2/+4
| | | | MFC after: 2 weeks
* Implement compute_stats() in terms of devstat_compute_statistics(). Thisken2001-08-183-104/+41
| | | | | | | | | | | 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>
* Add some features to libdevstat, and overhaul the interface a bit:tmm2001-08-044-193/+1217
| | | | | | | | | | | | | | | | | | | | | 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
* Remove whitespace at EOL.dd2001-07-151-21/+21
|
* mdoc(7) police: removed HISTORY info from the .Os call.ru2001-07-101-1/+1
|
* Removed -I${.CURDIR}/.../sys from CFLAGS.ru2001-05-181-1/+1
|
* MAN[1-9] -> MAN.ru2001-03-271-1/+1
|
* mdoc(7) police: split punctuation characters + misc fixes.ru2001-02-011-1/+1
|
* Prepare for mdoc(7)NG.ru2000-12-291-3/+3
|
* mdoc(7) police: removed history info from the .Os FreeBSD call.ru2000-12-141-1/+1
|
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-201-8/+8
|
* Introduce .Lb macro to libdevstat library manpagephantom2000-04-221-0/+2
|
* Replace beforeinstall target with new variables used by .mk system.rgrimes2000-01-141-4/+3
| | | | Reviewed by: marcel, and make world
* Clarify what getdevs() expects as input.ken1999-09-231-2/+9
| | | | Prompted by: grog
* Synchronization of NAME and SINOPSYS sections.phantom1999-09-211-3/+11
| | | | mdoc(7)'fy
* $Id$ -> $FreeBSD$peter1999-08-283-3/+3
|
* Add a MAINTAINER line to modules that I maintain.ken1999-06-181-0/+1
| | | | Suggested by: brian, markm
* Address our users in a civilized manner. (They may know better, but probablyphk1999-03-221-11/+5
| | | | just forgot it, it is certainly no reason to don't insult them.)
* Fixed missing header in synopsis (<devstat.h> unfortunately depends onbde1999-03-051-1/+2
| | | | <sys/dkstat.h>).
* add MLINKs for all the functions covered by the manpageobrien1999-01-061-0/+10
|
* spell checkobrien1999-01-061-4/+4
|
* Fix a couple of potential buffer overrun cases.ken1998-10-141-4/+8
| | | | Submitted by: imp
* Change the devstat generation number from an int to a long. The int-sizedken1998-09-203-23/+24
| | | | | | | | | | 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>
* Fix some error message format problems in checkversion() and getversion().ken1998-09-181-8/+35
| | | | Reported By: bde
* Device statistics library. Used by iostat, vmstat, and systat togibbs1998-09-154-0/+1755
format and analyze the output of the new device statistics sysctls. Submitted by: "Kenneth D. Merry" <ken@FreeBSD.org>
OpenPOWER on IntegriCloud