summaryrefslogtreecommitdiff
path: root/lib/libdevstat/devstat.c
Commit message (Expand)AuthorAgeFilesLines
* devstat_selectdevs: resize dev_select only after copying data out of itAndriy Gapon2019-12-031-2/+7
* lib: further adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-261-1/+3
* Remove unused variable and silence clang warnings.Marcelo Araujo2015-06-041-2/+0
* Remove an obsolete comment in devstat(3) about the accuracy of theKenneth D. Merry2015-02-271-21/+3
* Fix a typo.Sergey Kandaurov2013-12-251-1/+1
* For vmcore, calculate time relative to device creation upon time_uptime.Sergey Kandaurov2013-12-251-4/+11
* New devstat metrics for devstat_compute_statistics():Mikolaj Golub2012-12-151-8/+39
* Handle memory allocation failures in devstat_getdevs(), devstat_selectdevs(),Guy Helmer2012-01-061-10/+30
* Do not increment num_args if strsep(3) returned an empty field.Sergey Kandaurov2011-04-041-3/+4
* Remove an unused variable.Stefan Farfeleder2005-10-041-2/+1
* Use __func__ throughout devstat.c instead of defining a func_nameMaxime Henrion2005-04-261-31/+21
* Make this compile with GCC4 by fixing a signedness issue.Maxime Henrion2005-04-261-1/+1
* Remove the use of cast as lvalue. GCC 3.4 isses a deprecation warningAlexander Kabaev2004-06-251-1/+1
* Include <nlist.h> for nlist-related declarations instead of depending onBruce Evans2003-10-131-0/+1
* It is not an error to have no devices.Poul-Henning Kamp2003-08-171-1/+1
* Add prototype for compute_stats() so that libdevstat is WARNS=4 clean.Poul-Henning Kamp2003-04-191-0/+8
* If rounding results in -epsilon device busy %, set it to zero.Poul-Henning Kamp2003-04-091-0/+2
* typoPoul-Henning Kamp2003-03-191-1/+1
* Further unbreak devstat: sort the index array in correct order too.Poul-Henning Kamp2003-03-191-10/+10
* Add more devstat calculations, mostly filling in holes, but also addingPoul-Henning Kamp2003-03-181-25/+117
* And I managed to make a regression here too.Poul-Henning Kamp2003-03-151-5/+5
* Run a revision of the devstat interface:Poul-Henning Kamp2003-03-151-94/+32
* Remove include of <sys/dkstat.h>Poul-Henning Kamp2003-02-161-1/+0
* Premptively include <sys/resource.h> to get the cp_time[CPUSTATES].Poul-Henning Kamp2003-02-161-0/+1
* Remove 'register' keyword.David E. O'Brien2002-03-211-2/+2
* Turn on WARNS?= 2 for libdevstat.Kenneth D. Merry2001-09-231-23/+27
* Implement __FBSDID()Matthew Dillon2001-09-161-2/+3
* Fix some style inconsistencies introduced in rev 1.10, as well as someKenneth D. Merry2001-08-211-34/+36
* Better snprintf() handling.Brian Somers2001-08-201-38/+23
* Handle snprintf() returning -1.Brian Somers2001-08-201-2/+4
* Implement compute_stats() in terms of devstat_compute_statistics(). ThisKenneth D. Merry2001-08-181-104/+28
* Add some features to libdevstat, and overhaul the interface a bit:Thomas Moestl2001-08-041-102/+657
* $Id$ -> $FreeBSD$Peter Wemm1999-08-281-1/+1
* Address our users in a civilized manner. (They may know better, but probablyPoul-Henning Kamp1999-03-221-11/+5
* Fix a couple of potential buffer overrun cases.Kenneth D. Merry1998-10-141-4/+8
* Change the devstat generation number from an int to a long. The int-sizedKenneth D. Merry1998-09-201-13/+14
* Fix some error message format problems in checkversion() and getversion().Kenneth D. Merry1998-09-181-8/+35
* Device statistics library. Used by iostat, vmstat, and systat toJustin T. Gibbs1998-09-151-0/+1102