summaryrefslogtreecommitdiffstats
path: root/usr.bin/systat
Commit message (Collapse)AuthorAgeFilesLines
* Quiet many compiler warnings.obrien1998-10-0810-20/+31
|
* Fix a core-dump situation in ":boot" mode in the vmstat display.ken1998-10-051-2/+2
| | | | Reported by: bde
* Change the devstat generation number from an int to a long. The int-sizedken1998-09-202-5/+7
| | | | | | | | | | 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>
* Delete unused code. This has been obsoleted by the new devstat code.ken1998-09-161-207/+0
| | | | Reviewed by: imp
* Reference new files for device stat support.gibbs1998-09-151-5/+6
|
* Update system to new device statistics code.gibbs1998-09-155-213/+681
| | | | Submitted by: "Kenneth D. Merry" <ken@plutotech.com>
* Add missing comma.jkoshy1998-09-091-1/+1
| | | | | PR: 7841 Submitted by: NOKUBI Hirotaka <hnokubi@yyy.or.jp>
* Fixed type mismatches which were fatal when sizeof(long) > sizeof(int).bde1998-07-065-13/+13
|
* Update vmstat portion of man page to reflect the statistics currentlyghelmer1998-06-251-34/+29
| | | | | shown by systat's vmstat display. PR: docs/3764
* #include <arpa/inet.h>peter1998-06-122-2/+4
|
* o Use snprintf rather than sprintfimp1998-06-098-23/+32
| | | | | | | | | | | o Add more checks for buffer overflows o Use snprintf rather than strcat/cpy and have better checks for max length exceeded. Most of these changes are not exploitable buffer overruns, but it never hurts to be safe. Inspired by and obtained from: OpenBSD
* Correctly display the interrupt counts.jhay1998-05-271-1/+6
| | | | Reviewed with optimizations by: Tor Egge <tegge>
* Use 'proto <tcp|udp|all>' to select the protocol to displaysteve1997-12-042-12/+21
| | | | | | | | | in netstat-mode to avoid a conflict with tcp-mode. Also while documenting this new feature in the manpage, fix a minor display nit. PR: 5159 Submitted by: Sergei Chechetkin <csl@whale.sunbay.crimea.ua>
* Fix: too many arguments for format in call to sprintf().jdp1997-11-181-1/+1
|
* Sort cross refereces in section SEE ALSO.wosch1997-09-291-4/+4
|
* Having done ICMP, UDP, and IP, could a TCP display be far behind?wollman1997-09-275-14/+375
|
* Show size of vnode pool in vmstat mode.peter1997-09-251-2/+21
|
* Emboldened by the success of yesterday's ICMP statistics display,wollman1997-09-254-2/+353
| | | | I've now added one that does IP (and also UDP) statistics.
* Add a mode to display ICMP statistics.wollman1997-09-249-19/+520
| | | | Inspired by: IRIX netstat -C
* Main() returns int.charnier1997-08-261-2/+2
|
* Use err(3). /sys/dkstat.h -> /usr/include/sys/dkstat.hcharnier1997-08-133-31/+32
|
* Merge from Lite2 (print "??" instead NULL if devname() fails). Morebde1997-07-061-5/+9
| | | | faithful stealing from pstat would have given this already.
* Importing Lite2 broke lookup() to return -1 for the nmatches == 0 case.bde1997-07-061-1/+5
| | | | Fixed.
* This commit was generated by cvs2svn to compensate for changes in r27229,bde1997-07-061-2/+2
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Import Lite2's src/usr.bin/systat. cmds.c is still on the vendor branchbde1997-07-062-7/+6
| | | | | | | | and this import just breaks it.
* | Use new sysctl(3) interface to mbuf statistics. While we're at it,wollman1997-02-241-21/+45
| | | | | | | | count free mbufs correctly.
* | Revert $FreeBSD$ to $Id$peter1997-02-222-2/+2
| |
* | The screen layout of the lefthand side for the vmstat display was way off.obrien1997-02-151-11/+11
| | | | | | | | (based on my running it on 2.2-GAMMA)
* | Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-142-2/+2
| | | | | | | | | | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* | Fix the following old problem:joerg1997-01-121-79/+79
| | | | | | | | | | | | | | date: 1994/10/09 07:37:18; author: davidg; state: Exp; lines: +7 -1 #if 0'd out the meat of the swap code until I get a chance to rewrite it. ...mainly by stealing the code from pstat(8).
* | Now that systat's working again, bring the vmstat cleanup over fromjkh1996-11-121-14/+14
| | | | | | | | -stable.
* | Initialize interrupt counters. The boot time values were displayed as ***.bde1996-11-101-1/+1
| | | | | | | | | | | | Should be in 2.2. Pointed out by: /etc/malloc.conf -> AJ
* | bin/1942 curses problem in systatphk1996-11-021-2/+2
| | | | | | | | | | truncate if too long for field. 2.2 candidate.
* | Eliminate unnecessary include of <sys/mbuf.h>.wollman1996-10-282-2/+8
| |
* | Really eliminated includes of the "temporary" backwards compatibilitybde1996-09-241-1/+0
| | | | | | | | | | header <sys/dir.h> in applications. My previous sweep didn't find the places that included it without needing it.
* | Fixed DPADD.bde1996-09-051-1/+1
| |
* | Cosmetic fixes for drive names which are 4 chars long.jkh1996-06-113-9/+11
| | | | | | | | Submitted-By: Joe Greco <jgreco@ns.sol.net>
* | Fix a bug in the mbufs display, seen when there was a large numberjdp1996-05-271-3/+2
| | | | | | | | | | | | | | of mbufs in use. If the number reached, e.g., 4 digits, then later decreased to 3 digits, the last digit of the 4-digit number was not erased. This caused the display to show a wildly high number of mbufs in use.
* | Localize timeache1996-03-312-1/+7
| |
* | Renamed Proc-cache to Dir-cache for the same reasons as in vmstat.bde1996-03-291-3/+3
| | | | | | | | Tweaked screen positions to match.
* | Move #include of queue.h before #include of socketvar.h in preparation fordg1996-03-112-2/+2
| | | | | | | | struct socket changes.
* | Fix a variety of minor typos and cross references in a bunch ofmpp1996-01-201-2/+2
| | | | | | | | | | | | | | | | man pages. Masanobu Saitoh <msaitoh@spa.is.uec.ac.jp> Giles Lean <giles@nemeton.com.au> <soda@sra.co.jp>
* | Reduced vm dependencies. Only `struct vmmeter.h' is required.bde1995-12-131-2/+3
| | | | | | | | | | | | Unfortunately, the sysctl number for reading this struct is bogusly placed in <vm/vm_param.h> instead of with the declaration of the struct.
* | Add explicit #include of <sys/vmmeter.h> after the last round of <vm/vm.h>peter1995-12-131-0/+1
| | | | | | | | changes.
* | #include <sys/user.h>phk1995-10-291-0/+1
| |
* | Don't attempt to read the variable `total' from the kernel. `total'bde1995-07-121-4/+2
| | | | | | | | | | | | isn't used in systat or in the kernel (it was replaced by a sysctl() call involving VM_METER) and will go away when I clean up bogus common variables in the kernel.
* | Remove trailing whitespace.rgrimes1995-05-307-12/+12
| |
* | Updated for 4.4BSD queue macros. (Oops, I forgot to commit this last night;dg1995-04-092-11/+5
| | | | | | | | sorry Jordan).
* | From Mark Murray:dg1995-03-291-5/+5
| | | | | | | | | | | | I got irritated with not seeing the interrupt numbers in a (crowded) "systat -vmstat" display, so I fixed it. Here is a patch to please be applied in src/usr.bin/systat
* | Removed object lookup/hit count and changed the order of things a little.dg1995-03-251-28/+24
| |
OpenPOWER on IntegriCloud