History log of /src/usr.bin/systat/extern.h |
Revision | | Date | Author | Comments |
1.49 |
| 28-Oct-2022 |
ozaki-r | Adjust userland commands for struct inpcb integration
Only kvm users are affected.
|
1.48 |
| 21-Aug-2021 |
christos | PR/56331: Paul Goyette: Add -z option to display 0 instead of ' ' in vmstat.
|
1.47 |
| 25-Jan-2019 |
christos | PR/53906: Paul Ripke: systat(1) vmstat & syscall get "alternate system clock has died" on terminal resize (SIGWINCH)
|
1.46 |
| 22-Oct-2016 |
christos | branches: 1.46.6; 1.46.12; 1.46.14; allow fractional intervals
|
1.45 |
| 02-Aug-2016 |
scole | PR bin/51204
Add ifstat command to systat.
Imported from FreeBSD
|
1.44 |
| 23-Aug-2015 |
mrg | branches: 1.44.2; if you change display types, the "Showing %s, refresh every %d seconds." message is retained, and you can't get rid of it. since it's dispalyed in inverse, it feels like there's always an error happening (which is really what the code has -- the above string is displayed via the error() function.) for several types of key press that largely are just "redraw" operation (space, ^L, etc.), clear the error string as well.
|
1.43 |
| 03-Jun-2014 |
joerg | Always use_sysctl in preparation of removing all kvm code.
|
1.42 |
| 06-Jan-2012 |
drochner | branches: 1.42.6; 1.42.16; kill ipsec support which hasn't been working for a long time (neither for KAME nor for FAST_IPSEC)
|
1.41 |
| 06-Sep-2011 |
joerg | branches: 1.41.2; Consistently use __dead and __printflike.
|
1.40 |
| 10-Apr-2008 |
thorpej | Use sysctl to fetch network statistics unless a memory file is specified on the command line.
|
1.39 |
| 07-Apr-2008 |
thorpej | Update for ICMP and UDP stats changes.
|
1.38 |
| 31-Dec-2007 |
christos | don't call curses from a signal handler!
|
1.37 |
| 18-Feb-2007 |
dsl | branches: 1.37.4; Include code to display per system call counts and times.
|
1.36 |
| 26-Feb-2005 |
dsl | branches: 1.36.12; 1.36.14; WARNS=3
|
1.35 |
| 16-Feb-2005 |
hubertf | Add "df" display to give information about filesystems, available diskspace and used disk capacity, similar to df(1):
Filesystem Avail Capacity /0% /10% /20% /30% /40% /50% /60% /70% /80% /90% /100% / 359M |XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX /tmp 180M | /home 146G |XXXXXXXXXXXXXXXX
|
1.34 |
| 27-Mar-2004 |
martin | A __attribute__((__noreturn__)) function better be void - gcc correctly complains at >= -O3 otherwise.
|
1.33 |
| 07-Dec-2003 |
christos | be more descriptive about what failed by printing the errno and the variable we were trying to fetch.
|
1.32 |
| 12-Sep-2003 |
mycroft | WRT disk commands, make the man page consistent with the program, and add the feature I expected.
|
1.31 |
| 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.30 |
| 03-Aug-2003 |
jdolecek | mark nlisterr() as 'noreturn'
|
1.29 |
| 20-Jan-2003 |
dsl | Make kernel address arg of kvm_ckread() const void * so caller doesn't need a cast. (approved by christos)
|
1.28 |
| 01-Nov-2002 |
mrg | iostat(8) and systat(8) support for separate read/write disk statistics. "iostat -x" now shows these (ala linux/solaris), but this is only splitting the read/write bytes/transactions, not adding any new metrics. "systat iostat" now has two new commands to switch between combined/separate mode for both it's numbers & bar modes.
|
1.27 |
| 14-Jul-2001 |
matt | branches: 1.27.2; Fetch maxslp from the kernel. Only use USPACE if it's defined.
|
1.26 |
| 01-Dec-2000 |
simonb | Remove extern variables and functions now declared in dkstats.h. While here, remove 77 (!) unneed #includes.
|
1.25 |
| 11-Oct-2000 |
is | More format string cleanup by sommerfeld.
|
1.24 |
| 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.23 |
| 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.22 |
| 04-Jun-2000 |
thorpej | branches: 1.22.2; Use kern.cp_time to fetch cp_time[]. Don't support fetching it from crash dumps yet, as that requires determining which CPU we should fetch it from, etc.
|
1.21 |
| 08-Jan-2000 |
itojun | branches: 1.21.2; - implement layered help. Suggested by: Andy Doran <ad@mr-magoo.sports.gov.uk> - inet6.ip6 and ipsec menu - u_quad_t printing fix - #ifdefs to allow compilation on 1.4.x
|
1.20 |
| 07-Jan-2000 |
itojun | add command line -n flag, which is same as "netstat numbers". without it, we can't disable name resolution before the resolution starts.
|
1.19 |
| 05-Jan-2000 |
itojun | support IPv6. commands under "netstat" are IPv6 ready. IPv6 is supported by filters (":ignore ssh") as well. TODO: do something about line truncation? TODO: inet6.icmp6? ":help" will not fit into single line...
|
1.18 |
| 25-Dec-1999 |
jwise | GC now-spurious prototype
|
1.17 |
| 22-Dec-1999 |
kleink | * Fix a display buglet: if the process list is exhausted before the window's bottom is reached, clear the remaining lines, lest there be stale process entries if the process list shrinks. * Implement a top(1)-like `user' command in the ps display.
|
1.16 |
| 20-Dec-1999 |
jwise | G/C function used in old command parsing
|
1.15 |
| 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.14 |
| 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.13 |
| 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.12 |
| 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.11 |
| 15-Nov-1999 |
simonb | - Add `bufcache' display which shows buffer cache usage per filesystem, ala the monitor(1) command for Ultrix. - Allow `h' or `?' to show the command list (same as `:help'). - Sort commands in cmdtab.c and systat.1
|
1.10 |
| 30-May-1999 |
ad | branches: 1.10.4; Add 4 new modes: ip, icmp, tcp, tcpsyn. XXX still some work to be done on aesthetics and update modes.
|
1.9 |
| 24-Apr-1999 |
ross | Kill incorrect const in previous.
|
1.8 |
| 24-Apr-1999 |
ross | Functional LP64 and type sanity fixes.
|
1.7 |
| 21-Feb-1999 |
jwise | branches: 1.7.2; Add a new `ps' view to systat, which shows process information. This view is identical to the output of `ps aux' except that a.) the RSS and VSZ fields are one character wider and b.) it shows a zero value for the RSS and %MEM columns of processes which report a negative RSS.
|
1.6 |
| 19-Jul-1998 |
drochner | Fix handling of privileges - the gid was given up before dkinit() was called. Pass the gid to use for KVM access explicitely to dkinit(), the caller decides whether to call setgid(getgid()) or not.
|
1.5 |
| 21-Jul-1997 |
mrg | - some KNF. - use __RCSID(). - WARNS=1
|
1.4 |
| 13-Dec-1996 |
scottr | Freshen up a bit:
- Replace deprecated sigblock() with sigprocmask() - Redraw the current display if SIGWINCH is caught - Style police
|
1.3 |
| 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.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.1 |
| 20-Jan-1995 |
jtc | imported from 44lite
|
1.7.2.2 |
| 19-Oct-2000 |
he | Pull up revision 1.25 (via patch, requested by he): Format string cleanup.
|
1.7.2.1 |
| 26-Sep-1999 |
he | Pull up revisions 1.8-1.9 (requested by he): LP64 and type sanity fixes, with visible effects of enabling echo on commands and correct cursor placement after update.
|
1.10.4.1 |
| 27-Dec-1999 |
wrstuden | Pull up to last week's -current.
|
1.21.2.1 |
| 23-Jun-2000 |
minoura | Sync w/ netbsd-1-5-base.
|
1.22.2.2 |
| 18-Oct-2000 |
tv | Pullup usr.bin string format fixes [is]. See "cvs log" for explicit revision numbers per file, from sommerfeld.
|
1.22.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.27.2.2 |
| 12-Nov-2002 |
skrll | Catch up to -current.
|
1.27.2.1 |
| 14-Jul-2001 |
skrll | file extern.h was added on branch nathanw_sa on 2002-11-12 16:54:59 +0000
|
1.36.14.1 |
| 03-Jun-2008 |
skrll | Sync with netbsd-4.
|
1.36.12.1 |
| 03-Feb-2008 |
riz | Pull up following revision(s) (requested by christos in ticket #1031): usr.bin/systat/keyboard.c: revision 1.24 usr.bin/systat/main.c: revision 1.41 usr.bin/systat/extern.h: revision 1.38 don't call curses from a signal handler!
|
1.37.4.1 |
| 09-Jan-2008 |
matt | sync with HEAD
|
1.41.2.1 |
| 17-Apr-2012 |
yamt | sync with head
|
1.42.16.1 |
| 10-Aug-2014 |
tls | Rebase.
|
1.42.6.1 |
| 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
1.44.2.2 |
| 04-Nov-2016 |
pgoyette | Sync with HEAD
|
1.44.2.1 |
| 06-Aug-2016 |
pgoyette | Sync with HEAD
|
1.46.14.1 |
| 10-Jun-2019 |
christos | Sync with HEAD
|
1.46.12.1 |
| 26-Jan-2019 |
pgoyette | Sync with HEAD
|
1.46.6.1 |
| 30-Jan-2019 |
martin | Pull up following revision(s) (requested by christos in ticket #1176):
usr.bin/systat/main.c: revision 1.55 usr.bin/systat/extern.h: revision 1.47 usr.bin/systat/syscall.c: revision 1.10 usr.bin/systat/iostat.c: revision 1.39 usr.bin/systat/vmstat.c: revision 1.85 usr.bin/systat/vmstat.c: revision 1.86
no need for curses.h
-
PR/53906: Paul Ripke: systat(1) vmstat & syscall get "alternate system clock has died" on terminal resize (SIGWINCH)
|