summaryrefslogtreecommitdiffstats
path: root/usr.bin/systat
Commit message (Collapse)AuthorAgeFilesLines
* Replace a use of the hw.nintr sysctl as it has just gone away, casttmm2001-06-013-6/+11
| | | | | size_t variables when passing them to a printf-like function, and some minor cleanups.
* Display -tcp w/o load average so that all statistics fits on a 80x25 screen.ru2001-05-312-3/+3
|
* Show TCP checksum failures with -tcp display.ru2001-05-311-0/+3
| | | | | PR: bin/27786 Submitted by: Brooks Davis <brooks@one-eyed-alien.net>
* Mark error() as __printflike() and fix a non-exploitable format stringkris2001-05-252-2/+2
| | | | | | error. MFC after: 1 week
* Fix the error buffer passed to kvm_openfiles to have a length oftmm2001-05-251-2/+4
| | | | | | | _POSIX2_LINE_MAX as required. While being there, wrap an overly long line. MFC after: 3 days
* Removed -I${.CURDIR}/.../sys from CFLAGS.ru2001-05-181-1/+0
|
* Compensate for header dethreading.markm2001-05-011-0/+1
|
* numdirtybuffers is an int, not a long.gallatin2001-03-291-1/+1
|
* Get rid of setgid kmem for systat, and while being there, fix some bugstmm2001-03-2310-151/+397
| | | | | | | | | | | and compiler warnings. The data for network statistics are still obtained via the kvm interface if systat was started with the needed privileges, otherwise sysctls are used. The reason for this is that with really many open sockets, the sysctl method is probably slower, but it systat -netstat is probably not really usable in either mode under these conditions. Approved by: rwatson
* Don't attempt to parse %cache2001-03-211-2/+7
|
* Count and show incoming UDP datagrams with no checksum.ru2001-03-131-18/+20
|
* mdoc(7) police: split punctuation characters + misc fixes.ru2001-02-011-2/+8
|
* Catch up to new proc flags.jhb2001-01-241-1/+1
|
* My bad, committed the submitted patch rather than the fixed patch.phk2000-12-301-2/+3
|
* Use macro API to <sys/queue.h>phk2000-12-301-31/+16
| | | | | Submitted by: "Jason" <jsmethers@pdq.net> Reviewed by: phk
* Prepare for mdoc(7)NG.ru2000-12-191-1/+1
|
* o Fix up includes which built due to excessive nested including in therwatson2000-12-171-6/+5
| | | | | | | | | base system, but not in BruceBSD. o Fix up style violations of various sorts. o Remove redundant normalization of hertz variable, as the sysctl handler does this work (unlike when kread was used). Submitted by: bde
* Change the proc information returned from the kernel so that itmckusick2000-12-121-10/+6
| | | | | | | | | | | | no longer contains kernel specific data structures, but rather only scalar values and structures that are already part of the kernel/user interface, specifically rusage and rtprio. It no longer contains proc, session, pcred, ucred, procsig, vmspace, pstats, mtx, sigiolst, klist, callout, pasleep, or mdproc. If any of these changed in size, ps, w, fstat, gcore, systat, and top would all stop working. The new structure has over 200 bytes of unassigned space for future values to be added, yet is nearly 100 bytes smaller per entry than the structure that it replaced.
* Correct int/long type mismatch in the proper place this time. freevnodesgallatin2000-12-021-2/+2
| | | | | | | | | | | and numvnodes are longs in the kernel. They should remain longs in systat, what really needs to change is that they should be using SYSCTL_LONG rather than SYSCTL_INT. I also changed wantfreevnodes to SYSCTL_LONG because I happened to notice it. I wish there was a way to find all of these automatically.. Pointed out by: bde
* fix another int/long type mismatch. This one was causing pigs togallatin2000-12-011-1/+1
| | | | die with an fpe on alpha because fscale wasn't properly initted
* fix int/long type mismatches found on alphagallatin2000-12-011-4/+4
|
* o Make systat/vmstat.c use sysctl() to retrieve cp_time, bufspace,rwatson2000-11-251-29/+50
| | | | | | | | | | maxvnodes, numvnodes, freevnodes, nchstats, and numdirtybuffers. o Make the hw.ncpu error checking code a little more rigorous by sanity checking the returned data size. o Didn't fix machine-dependent non-sysctl-exported variables: intrnames, eintrnames, intrcnt, eintrcnt, as these variables are defined and exported from machine-dependent kernel code in assembly. This should probably be fixed somehow.
* o make systat/pigs.c use syctl() to retrieve cp_time, fscale, and ccpurwatson2000-11-251-27/+32
| | | | instead of using kmem.
* o Make systat/iostat.c use sysctl() to retrieve cp_time instead ofrwatson2000-11-251-23/+9
| | | | kmem.
* o Make systat use sysctl() to retrieve hz and stathz, instead ofrwatson2000-11-251-19/+14
| | | | using kmem.
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-201-3/+3
|
* Remove obsolete /dev/drum referencesjedgar2000-10-291-2/+1
| | | | Reviewed by: alex, asmodai, billf
* Remove unneded -ltermcapache2000-09-161-2/+3
|
* Quick Fix: swap.c doesn't appear to actually need <sys/conf.h>, so removepeter2000-08-241-1/+0
| | | | | it to try and get world building again. (sys/conf.h now depends on sys/types.h)
* Fix systat to use the kern.ipc.mbtypes sysctl instead of referencing aalfred2000-07-151-34/+44
| | | | | | | | | structure member that doesn't exist anymore. Use getsysctlbyname for kern.ipc.mbstat instead of sysctl. Use netstat's method of displaying values from mtnames. Submitted by: Ian Dowse <iedowse@maths.tcd.ie> Missed by PR: 19809
* Duh! get the scaling right.phk2000-06-011-3/+3
|
* Rescale the IOstat bars, modern disks are faster than old disks.phk2000-06-011-2/+2
|
* Don't include <sys/buf.h>phk2000-05-053-3/+0
|
* #include <errno.h> where needed. Kill extern int errno;.imp2000-04-141-1/+1
| | | | Minor warnings in tip corrected.
* Remove more single-space hard sentence breaks.sheldonh2000-03-021-1/+2
|
* s/curses/ncurses/nik2000-03-011-1/+1
| | | | | PR: docs/17061 Submitted by: Udo Erdelhoff <ue@nathan.ruhr.de>
* "Disks" is more correct than "Disks" could be.green1999-09-191-1/+1
|
* systat is way too comfortable with curses internals...peter1999-08-304-13/+13
|
* $Id$ -> $FreeBSD$peter1999-08-2818-18/+18
|
* Fix bad references:chris1999-08-141-3/+3
| | | | | vmstat(1) -> vmstat(8) iostat(1) -> iostat(8)
* Show dirty buffers and the percentage of time a disk was busy.des1999-07-302-14/+37
| | | | | PR: 12858 Submitted by: Arjan de Vet <Arjan.deVet@adv.iae.nl>
* Add $Id$, to make it simpler for members of the translation teams tonik1999-07-121-0/+1
| | | | | | | | | | | | | | | | | track. The $Id$ line is normally at the bottom of the main comment block in the man page, separated from the rest of the manpage by an empty comment, like so; .\" $Id$ .\" If the immediately preceding comment is a @(#) format ID marker than the the $Id$ will line up underneath it with no intervening blank lines. Otherwise, an additional blank line is inserted. Approved by: bde
* Tidy up references to <sys/rlist.h> and support for the old swap managementpeter1999-05-111-2/+1
| | | | that went away in January.
* Display floats with format %*.0f instead of as "*****" if there isbde1999-03-221-1/+5
| | | | | enough space for this but not enough space for the normal %*.*f format. Similarly for long doubles.
* Include discrete ozfod as well as ozfod/zfod percentage.dillon1999-02-081-7/+7
|
* If there are 4 or fewer disk devices, we have room to display additionaldillon1999-02-082-5/+39
| | | | | VM statistics. zfod is moved and %slo-z ( percentage of zero-fills that were slow, i.e. not pre-zero'd ), and number of pages freed per second.
* Be nice when no swap is configured in systemdillon1999-02-061-1/+11
|
* Fix labeling bugdillon1999-01-221-1/+3
|
* Make systat -swap use new kvm_swapinfo() functiondillon1999-01-221-137/+57
|
* revert to rev 1.29. (floppy drives will be gotten rid of another way)obrien1999-01-091-10/+1
|
OpenPOWER on IntegriCloud