summaryrefslogtreecommitdiffstats
path: root/usr.bin/systat/devs.c
Commit message (Collapse)AuthorAgeFilesLines
* Replace index() and rindex() calls with strchr() and strrchr().ed2012-01-031-1/+1
| | | | | | | | | | The index() and rindex() functions were marked LEGACY in the 2001 revision of POSIX and were subsequently removed from the 2008 revision. The strchr() and strrchr() functions are part of the C standard. This makes the source code a lot more consistent, as most of these C files also call into other str*() routines. In fact, about a dozen already perform strchr() calls.
* Fix whitespace inconsistencies in systat(1).ed2011-10-151-5/+5
| | | | According to md5(1), the resulting binary is the same.
* Remove the advertising clause from UCB copyrighted files in usr.bin. Thisjoel2010-12-111-4/+0
| | | | | | | | | is in accordance with the information provided at ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change Also add $FreeBSD$ to a few files to keep svn happy. Discussed with: imp, rwatson
* ANSIfy and remove register.delphij2008-01-161-1/+1
| | | | Resulting binary verified with strip(1)+md5(1).
* When a numeric field overflows its width, try formatting the number inphk2003-10-201-1/+1
| | | | | 'kilo' or 'mega' with appropriate suffix instead of filling the field with stars.
* Add #include <sys/resource.h>phk2003-02-161-0/+1
|
* Remove #include <sys/dkstat.h>phk2003-02-161-1/+0
|
* WARNS=2 fixes with NO_WERROR set, as there are some header issuesmarkm2001-12-121-30/+37
| | | | with namelists. use __FBSDID().
* Convert systat(1) to use the new devstat interface.ken2001-09-061-31/+24
| | | | Submitted by: "Sergey A. Osokin" <osa@freebsd.org.ru>
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Quiet many compiler warnings.obrien1998-10-081-2/+5
|
* Change the devstat generation number from an int to a long. The int-sizedken1998-09-201-3/+5
| | | | | | | | | | 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>
* Update system to new device statistics code.gibbs1998-09-151-0/+320
Submitted by: "Kenneth D. Merry" <ken@plutotech.com>
OpenPOWER on IntegriCloud