History log of /src/usr.bin/systat/cmds.c |
Revision | | Date | Author | Comments |
1.30 |
| 22-Oct-2016 |
christos | allow fractional intervals
|
1.29 |
| 02-Aug-2016 |
scole | PR bin/51204
Add ifstat command to systat.
Imported from FreeBSD
|
1.28 |
| 04-Nov-2004 |
dsl | branches: 1.28.74; Add (unsigned char) cast to ctype functions Although, IIRC, there is another PR on all commands being converted to lower case.
|
1.27 |
| 03-Jul-2004 |
mycroft | Using timeout() to control refresh gets rid of a whole pile of signal-related lossage. Making ungetch() signal-safe, as ncurses seems to, would be better, though.
|
1.26 |
| 07-Aug-2003 |
agc | Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22365, verified by myself.
|
1.25 |
| 01-Dec-2000 |
simonb | Remove extern variables and functions now declared in dkstats.h. While here, remove 77 (!) unneed #includes.
|
1.24 |
| 04-Sep-2000 |
ad | - Ignore null commands, instead of inventing a bogus match. See PR 10596. - In switch_mode(), display status line even if switching to the same mode.
|
1.23 |
| 25-Aug-2000 |
hubertf | Add "all" mode to systat to cycle between all modes, sort of like VMS' "MONITOR ALL"-command.
Code was submitted by Jarkko Teppo <jate@uwasa.fi> in PR 10851, cleaned up and added 'turns' handling by me.
|
1.22 |
| 05-Jul-2000 |
ad | - Add `boot', `run', `time' and `zero' commands to all IP displays. These work as in the `vmstat' display mode. The default mode is now `time', not `boot'. - ANSIfy. - s@kre\(@vmstat\(@. - __RCSID() police. - Tweak inet.icmp display visual a little.
|
1.21 |
| 05-Jun-2000 |
mycroft | branches: 1.21.2; Fix bogons in command parsing for >1 arg.
|
1.20 |
| 11-Apr-2000 |
jwise | branches: 1.20.2; Two UI changes:
a.) restore the capability to enter a substring of a mode or command name. Pointed out by Soren Jorvang.
b.) (capital) Q now exits systat immediately
|
1.19 |
| 10-Jan-2000 |
itojun | don't choke on non-INET6 kernel, or non-IPSEC kernel. cleanup error handling on mode change failure.
TODO: non-IPv4 kernel support should be improved. "netstat" should be okay, "inet.ip" and "inet.icmp" needs more trick.
NetBSD PR: 9157
|
1.18 |
| 20-Dec-1999 |
jwise | Fix error handling throughout. First off, it is not true as claimed in swap.c that `systat doesn't handle errors'. Second off, errx should not be used directly, since the terminal should be cleaned up before bailing. Third off, whatever we do we need to be consistent.
There, I feel better now.
|
1.17 |
| 20-Dec-1999 |
jwise | Nuke assignment unneeded after last commit
|
1.16 |
| 20-Dec-1999 |
jwise | More cleanup -- use strtok() rather than rolling our own not-quite-correct version.
|
1.15 |
| 20-Dec-1999 |
jwise | G/C function used in old command parsing
|
1.14 |
| 20-Dec-1999 |
jwise | Two things:
1.) fix a bug which caused coredumps when starting with no mode arguments 2.) move to table-lookup for mode-specific command parsing as well. all command matching is now table-driven.
|
1.13 |
| 16-Dec-1999 |
jwise | End special-casing of `start' and `interval' global commands. Vastly simplify handling of mode switches, and short-syntax interval changes. Substring matching of mode names and commands will come shortly, however the previous method of substring matching modes (it was not available for commands) is currently not working.
TODO: implement table lookups for mode-specific commands.
|
1.12 |
| 16-Dec-1999 |
jwise | Handle arguments to global commands. Note that the `interval' and `start' global commands are still special cased, which will change
|
1.11 |
| 16-Dec-1999 |
jwise | Rototill global command matching -- switch from ad-hoc tomfoolery to a table lookup. This will make prefix matching and so on easier.
Expect a similar change for mode-specific commands before too long.
While there, rename some structures with misleading names.
Watch this space for more changes soon.
|
1.10 |
| 02-Aug-1999 |
sommerfeld | branches: 1.10.4; Fix from PR7655: translation of keyboard command in systat is Wrong. (breaks netstat's :ignore command for upper-case service names)
|
1.9 |
| 19-Dec-1998 |
christos | branches: 1.9.2; char -> unsigned char
|
1.8 |
| 19-Oct-1997 |
lukem | fix .Nm usage, deprecate register, getopt returns -1 not EOF, s/[br]*/[ms]*/
|
1.7 |
| 21-Jul-1997 |
mrg | - some KNF. - use __RCSID(). - WARNS=1
|
1.6 |
| 21-Dec-1996 |
matthias | * revert broken handling of subcommands to the (working) 4.4Lite version.
|
1.5 |
| 13-Dec-1996 |
scottr | Freshen up a bit:
- Replace deprecated sigblock() with sigprocmask() - Redraw the current display if SIGWINCH is caught - Style police
|
1.4 |
| 10-May-1996 |
thorpej | New userland code to read the statistics kept by the NetBSD generic disk framework, from John M. Vinopal <banshee@gabriella.resort.com>
|
1.3 |
| 31-Aug-1995 |
jtc | Sync with 4.4lite2
|
1.2 |
| 20-Jan-1995 |
jtc | Changed to conform to NetBSD's new RCS Id convention.
|
1.1 |
| 20-Jan-1995 |
jtc | branches: 1.1.1; Initial revision
|
1.1.1.2 |
| 31-Aug-1995 |
jtc | imported from 44lite2
|
1.1.1.1 |
| 20-Jan-1995 |
jtc | imported from 44lite
|
1.9.2.1 |
| 26-Sep-1999 |
he | Pull up revision 1.10 (requested by he): Do not downcase input, which prevented "ignore X11" in the "netstat" display from working. Fixes PR#7655.
|
1.10.4.1 |
| 27-Dec-1999 |
wrstuden | Pull up to last week's -current.
|
1.20.2.1 |
| 23-Jun-2000 |
minoura | Sync w/ netbsd-1-5-base.
|
1.21.2.2 |
| 04-Sep-2000 |
ad | Pull up revision 1.24 (approved by releng-1-5): - Ignore null commands, instead of inventing a bogus match. See PR 10596. - In switch_mode(), display status line even if switching to the same mode.
|
1.21.2.1 |
| 01-Sep-2000 |
ad | Pull up the following revisions, approved by releng-1-5:
- Add "boot", "run", "time" and "zero" commands to all IP displays. These work as in the "vmstat" display mode. The default mode is now "time", not "boot". - ANSIfy. - s@kre\(@vmstat\(@. - __RCSID() police. - Tweak inet.icmp display visual a little.
bufcache.c 1.8 cmds.c 1.22 cmdtab.c 1.16 disks.c 1.11 extern.h 1.23 fetch.c 1.7 globalcmds.c 1.8
|
1.28.74.2 |
| 04-Nov-2016 |
pgoyette | Sync with HEAD
|
1.28.74.1 |
| 06-Aug-2016 |
pgoyette | Sync with HEAD
|