History log of /src/usr.bin/systat/iostat.c |
Revision | | Date | Author | Comments |
1.39 |
| 25-Jan-2019 |
christos | PR/53906: Paul Ripke: systat(1) vmstat & syscall get "alternate system clock has died" on terminal resize (SIGWINCH)
|
1.38 |
| 15-Jul-2017 |
mlelstv | branches: 1.38.2; 1.38.4; 1.38.6; Use I/O timestamps to compute disk statistics for better precisison.
|
1.37 |
| 13-Apr-2009 |
lukem | branches: 1.37.38; Fix -Wsign-compare issues
|
1.36 |
| 14-Apr-2006 |
blymn | branches: 1.36.30; Update to use new kernel io statistics.
|
1.35 |
| 18-Mar-2006 |
dsl | Count both read bytes and write bytes when we are not showing separate read and write statistics. Discovered by go. Since I broke in in rev 1.31, I guess I'll fix it first!
|
1.34 |
| 05-Feb-2006 |
dsl | Match changes to vmstat.c (splitting of dkreadstats). Read tape stats if there are no disks found - is this possible?
|
1.33 |
| 07-Aug-2005 |
blymn | Add tape statistics.
|
1.32 |
| 26-Feb-2005 |
dsl | branches: 1.32.2; Add an extra digit to the kBps column - now overflows at 100MB/s
|
1.31 |
| 26-Feb-2005 |
dsl | Fix field widths for 'numbers' display, and allow it without 'secs'.
|
1.30 |
| 13-Feb-2004 |
wiz | Uppercase CPU, plural is CPUs.
|
1.29 |
| 12-Aug-2003 |
dsl | Correct boundary conditions for drive table for 'systat io num'. Correct fix for bin/18823 (which was incomplete and wrong!)
|
1.28 |
| 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.27 |
| 24-Feb-2003 |
dsl | Create subwins that end one line from the bottom of the screen even after the window is resized.
|
1.26 |
| 01-Feb-2003 |
dsl | When disk activity exceeds 100kB/s divide length of bar by 10s and report factor on RHS screen. (approved by christos)
|
1.25 |
| 29-Dec-2002 |
kristerw | Prevent the "kBps" field from overflowing for values > 1M/s.
From Paul Shupak in PR 18822.
|
1.24 |
| 06-Dec-2002 |
thorpej | Remove extra args from a printf.
|
1.23 |
| 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.22 |
| 25-Sep-2002 |
christos | PR/18408: Chris Demetriou: Kilo is abbreviated using a small k not a CAPITAL K.
|
1.21 |
| 30-Jun-2002 |
sommerfeld | Since the KERN_CP_TIME sysctl reports total clock ticks across all cpus and hz is measured in ticks per cpu, divide tick count by ncpu to determine elapsed time since last sample.
Fixes I/O rate deflation observed on multiprocessors.
|
1.20 |
| 09-Jun-2002 |
itojun | format fix in number mode. PR 16911
|
1.19 |
| 28-Jan-2002 |
augustss | branches: 1.19.2; 1.19.4; Make it compile (more vmstat fallout).
|
1.18 |
| 16-Jan-2001 |
cgd | comment or delete text after CPP directives.
|
1.17 |
| 01-Dec-2000 |
simonb | Remove extern variables and functions now declared in dkstats.h. While here, remove 77 (!) unneed #includes.
|
1.16 |
| 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.15 |
| 04-Jun-2000 |
mycroft | branches: 1.15.2; Use hline() and variants in a bunch of places.
|
1.14 |
| 03-Jun-2000 |
thorpej | Need to include <sys/sched.h> to get cp_time-related constants.
|
1.13 |
| 20-Dec-1999 |
jwise | branches: 1.13.2; 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.12 |
| 29-Jun-1999 |
mjl | branches: 1.12.4; Enlarge disk names in labels from 3 to 7 to cater for things like raid0.
|
1.11 |
| 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.10 |
| 12-Jul-1998 |
mrg | - KNF - use snprintf - don't overwrite the keyboard buffer (and make this sized on the window size).
|
1.9 |
| 19-Oct-1997 |
lukem | fix .Nm usage, deprecate register, getopt returns -1 not EOF, s/[br]*/[ms]*/
|
1.8 |
| 21-Jul-1997 |
mrg | - some KNF. - use __RCSID(). - WARNS=1
|
1.7 |
| 24-May-1997 |
jtc | Use the new getmaxx and getmaxy macros instead of directly accessing the private fields of WINDOW.
|
1.6 |
| 25-Oct-1996 |
scottr | Be explicit about iostat transfer rate by displaying `KBps' instead of `Kps'. As per (and noticed by) J.T.
|
1.5 |
| 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.4 |
| 15-Mar-1996 |
ragge | Removed a couple of #ifdef vax causing systat to malfunction.
|
1.3 |
| 17-May-1995 |
mycroft | Print out interrupt CPU time.
|
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.12.4.1 |
| 27-Dec-1999 |
wrstuden | Pull up to last week's -current.
|
1.13.2.1 |
| 23-Jun-2000 |
minoura | Sync w/ netbsd-1-5-base.
|
1.15.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.
icmp.c 1.5 iostat.c 1.16 ip.c 1.8 ip6.c 1.5, 1.7 ipsec.c 1.5 keyboard.c 1.12 main.c 1.26 mbufs.c 1.9 netcmds.c 1.16
|
1.19.4.2 |
| 30-Jun-2002 |
lukem | Pull up revision 1.21 (requested by sommerfeld in ticket #406): Since the KERN_CP_TIME sysctl reports total clock ticks across all cpus and hz is measured in ticks per cpu, divide tick count by ncpu to determine elapsed time since last sample. Fixes I/O rate deflation observed on multiprocessors.
|
1.19.4.1 |
| 10-Jun-2002 |
tv | Pull up revision 1.20 (requested by itojun in ticket #221): format fix in number mode. PR 16911
|
1.19.2.3 |
| 17-Jan-2003 |
thorpej | Sync with HEAD.
|
1.19.2.2 |
| 12-Nov-2002 |
skrll | Catch up to -current.
|
1.19.2.1 |
| 28-Jan-2002 |
skrll | file iostat.c was added on branch nathanw_sa on 2002-11-12 16:54:59 +0000
|
1.32.2.1 |
| 20-Mar-2006 |
riz | Pull up following revision(s) (requested by dsl in ticket #1208): usr.bin/systat/iostat.c: revision 1.35 Count both read bytes and write bytes when we are not showing separate read and write statistics. Discovered by go. Since I broke in in rev 1.31, I guess I'll fix it first!
|
1.36.30.1 |
| 13-May-2009 |
jym | Sync with HEAD.
Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
|
1.37.38.2 |
| 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)
|
1.37.38.1 |
| 25-Jul-2017 |
snj | Pull up following revision(s) (requested by mlelstv in ticket #138): usr.bin/systat/iostat.c: revision 1.38 usr.bin/systat/vmstat.c: revision 1.82 usr.bin/vmstat/drvstats.c: revision 1.11 usr.bin/vmstat/drvstats.h: revision 1.5 usr.bin/vmstat/vmstat.c: revision 1.217 usr.sbin/iostat/iostat.c: revision 1.65 Use I/O timestamps to compute disk statistics for better precision. Disk statistics are collected in a fixed size array, that got corrupted when a disk was detached. Adapt by skipping entries of detached disks and detect reused disknames at the array end. -- Use I/O timestamps to compute disk statistics for better precisison.
|
1.38.6.1 |
| 10-Jun-2019 |
christos | Sync with HEAD
|
1.38.4.1 |
| 26-Jan-2019 |
pgoyette | Sync with HEAD
|
1.38.2.2 |
| 15-Jul-2017 |
mlelstv | 3327190
|
1.38.2.1 |
| 15-Jul-2017 |
mlelstv | file iostat.c was added on branch perseant-stdc-iso10646 on 2017-07-15 08:22:24 +0000
|