CVS log for src/usr.bin/systat/vmstat.c
Up to [cvs.NetBSD.org] / src / usr.bin / systat
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.81.8.3: download - view: text, markup, annotated - select for diffs
Mon Dec 11 12:29:30 2023 UTC (16 months, 1 week ago) by martin
Branches: netbsd-8
CVS tags: netbsd-8-3-RELEASE
Diff to: previous 1.81.8.2: preferred, colored; branchpoint 1.81: preferred, colored; next MAIN 1.82: preferred, colored
Changes since revision 1.81.8.2: +7 -10
lines
Pull up following revision(s) (requested by kre in ticket #1926):
usr.bin/systat/vmstat.c: revision 1.92
PR bin/56014 from Kouichi Hashikawa
Don't try to optimise away placing the "s" or " " after "N user"
(" " where N==1, "s" otherwise) when it seems unnecessary, as that
fails when the number of users hasn't changed, but the screen is
being redrawn from nothing (as in after being resumed from a ^Z,
as in the PR, but just doing a ^L would make the same thing happen).
Revision 1.87.2.1: download - view: text, markup, annotated - select for diffs
Mon Dec 11 12:28:06 2023 UTC (16 months, 1 week ago) by martin
Branches: netbsd-9
CVS tags: netbsd-9-4-RELEASE
Diff to: previous 1.87: preferred, colored; next MAIN 1.88: preferred, colored
Changes since revision 1.87: +7 -10
lines
Pull up following revision(s) (requested by kre in ticket #1777):
usr.bin/systat/vmstat.c: revision 1.92
PR bin/56014 from Kouichi Hashikawa
Don't try to optimise away placing the "s" or " " after "N user"
(" " where N==1, "s" otherwise) when it seems unnecessary, as that
fails when the number of users hasn't changed, but the screen is
being redrawn from nothing (as in after being resumed from a ^Z,
as in the PR, but just doing a ^L would make the same thing happen).
Revision 1.91.2.1: download - view: text, markup, annotated - select for diffs
Sun Dec 10 17:25:29 2023 UTC (16 months, 1 week ago) by martin
Branches: netbsd-10
CVS tags: netbsd-10-1-RELEASE,
netbsd-10-0-RELEASE,
netbsd-10-0-RC6,
netbsd-10-0-RC5,
netbsd-10-0-RC4,
netbsd-10-0-RC3,
netbsd-10-0-RC2
Diff to: previous 1.91: preferred, colored; next MAIN 1.92: preferred, colored
Changes since revision 1.91: +7 -10
lines
Pull up following revision(s) (requested by kre in ticket #489):
usr.bin/systat/vmstat.c: revision 1.92
PR bin/56014 from Kouichi Hashikawa
Don't try to optimise away placing the "s" or " " after "N user"
(" " where N==1, "s" otherwise) when it seems unnecessary, as that
fails when the number of users hasn't changed, but the screen is
being redrawn from nothing (as in after being resumed from a ^Z,
as in the PR, but just doing a ^L would make the same thing happen).
Revision 1.92: download - view: text, markup, annotated - select for diffs
Tue Mar 28 00:00:30 2023 UTC (2 years ago) by kre
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
perseant-exfatfs,
HEAD
Diff to: previous 1.91: preferred, colored
Changes since revision 1.91: +7 -10
lines
PR bin/56014 from Kouichi Hashikawa
Don't try to optimise away placing the "s" or " " after "N user"
(" " where N==1, "s" otherwise) when it seems unnecessary, as that
fails when the number of users hasn't changed, but the screen is
being redrawn from nothing (as in after being resumed from a ^Z,
as in the PR, but just doing a ^L would make the same thing happen).
XXX pullup -10 (maybe -9 as well - seems too trivial for -8).
Revision 1.91: download - view: text, markup, annotated - select for diffs
Tue Nov 9 09:19:01 2021 UTC (3 years, 5 months ago) by nia
Branches: MAIN
CVS tags: netbsd-10-base,
netbsd-10-0-RC1
Branch point for: netbsd-10
Diff to: previous 1.90: preferred, colored
Changes since revision 1.90: +3 -6
lines
systat(1): convert realloc(x * y) to reallocarr, eliminate a temp var
Revision 1.90: download - view: text, markup, annotated - select for diffs
Sat Aug 21 13:22:19 2021 UTC (3 years, 8 months ago) by christos
Branches: MAIN
Diff to: previous 1.89: preferred, colored
Changes since revision 1.89: +5 -5
lines
PR/56331: Paul Goyette: Add -z option to display 0 instead of ' ' in vmstat.
Revision 1.89: download - view: text, markup, annotated - select for diffs
Sat Jul 24 13:42:05 2021 UTC (3 years, 8 months ago) by simonb
Branches: MAIN
Diff to: previous 1.88: preferred, colored
Changes since revision 1.88: +3 -22
lines
Instead of getting an estimate of the number of kernel buffers,
allocating memory for them, requesting all the metadata contents of
these buffers (and repeating in the unlikely case of the number of
buffers increasing too much since the estimate) and then straight away
throwing all the contents out just to count how many buffers there were,
just get the initial estimate from the kernel and subtract the slop.
Reduces system CPU usage of "systat vm" by approx 80% for any system
with a reasonable number of buffers.
Revision 1.82.6.3: download - view: text, markup, annotated - select for diffs
Mon Apr 13 08:05:48 2020 UTC (5 years ago) by martin
Branches: phil-wifi
Diff to: previous 1.82.6.2: preferred, colored; branchpoint 1.82: preferred, colored; next MAIN 1.83: preferred, colored
Changes since revision 1.82.6.2: +26 -4
lines
Mostly merge changes from HEAD upto 20200411
Revision 1.82.6.2: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:09:18 2020 UTC (5 years ago) by martin
Branches: phil-wifi
Diff to: previous 1.82.6.1: preferred, colored; branchpoint 1.82: preferred, colored
Changes since revision 1.82.6.1: +4 -4
lines
Merge changes from current as of 20200406
Revision 1.88: download - view: text, markup, annotated - select for diffs
Mon Mar 2 09:50:12 2020 UTC (5 years, 1 month ago) by mrg
Branches: MAIN
CVS tags: phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
is-mlppp-base,
is-mlppp,
cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1,
cjep_staticlib_x-base,
cjep_staticlib_x
Diff to: previous 1.87: preferred, colored
Changes since revision 1.87: +4 -4
lines
increase slot slop space from 100 to 1000 before giving up.
from Paul Ripke on current-users. thanks!
Revision 1.87: download - view: text, markup, annotated - select for diffs
Sun Jun 30 19:57:23 2019 UTC (5 years, 9 months ago) by he
Branches: MAIN
CVS tags: phil-wifi-20191119,
netbsd-9-base,
netbsd-9-3-RELEASE,
netbsd-9-2-RELEASE,
netbsd-9-1-RELEASE,
netbsd-9-0-RELEASE,
netbsd-9-0-RC2,
netbsd-9-0-RC1
Branch point for: netbsd-9
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +28 -6
lines
Make the scaling of the "bytes written" sticky, so that if we go
to K, we don't return to unscaled, and similar for higher scales
(though it takes some effort, due to the wide field...)
Fixes PR#54334.
Revision 1.82.6.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:10:24 2019 UTC (5 years, 10 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +103 -49
lines
Sync with HEAD
Revision 1.81.8.2: download - view: text, markup, annotated - select for diffs
Wed Jan 30 13:46:25 2019 UTC (6 years, 2 months ago) by martin
Branches: netbsd-8
CVS tags: netbsd-8-2-RELEASE,
netbsd-8-1-RELEASE,
netbsd-8-1-RC1
Diff to: previous 1.81.8.1: preferred, colored; branchpoint 1.81: preferred, colored
Changes since revision 1.81.8.1: +3 -20
lines
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)
Revision 1.82.4.3: download - view: text, markup, annotated - select for diffs
Sat Jan 26 22:00:39 2019 UTC (6 years, 2 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.82.4.2: preferred, colored; branchpoint 1.82: preferred, colored; next MAIN 1.83: preferred, colored
Changes since revision 1.82.4.2: +3 -20
lines
Sync with HEAD
Revision 1.86: download - view: text, markup, annotated - select for diffs
Fri Jan 25 15:34:22 2019 UTC (6 years, 2 months ago) by christos
Branches: MAIN
CVS tags: phil-wifi-20190609,
pgoyette-compat-20190127
Diff to: previous 1.85: preferred, colored
Changes since revision 1.85: +2 -3
lines
no need for curses.h
Revision 1.85: download - view: text, markup, annotated - select for diffs
Fri Jan 25 15:31:11 2019 UTC (6 years, 2 months ago) by christos
Branches: MAIN
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +4 -20
lines
PR/53906: Paul Ripke: systat(1) vmstat & syscall get
"alternate system clock has died" on terminal resize (SIGWINCH)
Revision 1.82.4.2: download - view: text, markup, annotated - select for diffs
Fri Jan 18 08:51:01 2019 UTC (6 years, 3 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.82.4.1: preferred, colored; branchpoint 1.82: preferred, colored
Changes since revision 1.82.4.1: +3 -3
lines
Synch with HEAD
Revision 1.84: download - view: text, markup, annotated - select for diffs
Tue Jan 8 08:22:20 2019 UTC (6 years, 3 months ago) by tih
Branches: MAIN
CVS tags: pgoyette-compat-20190118
Diff to: previous 1.83: preferred, colored
Changes since revision 1.83: +3 -3
lines
Remove a format character from a non-format string.
Revision 1.82.4.1: download - view: text, markup, annotated - select for diffs
Wed Dec 26 14:02:11 2018 UTC (6 years, 3 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +102 -31
lines
Sync with HEAD, resolve a few conflicts
Revision 1.83: download - view: text, markup, annotated - select for diffs
Wed Dec 26 01:47:37 2018 UTC (6 years, 3 months ago) by sevan
Branches: MAIN
CVS tags: pgoyette-compat-1226
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +102 -31
lines
Extend "systat vm" output to provide better insight about buffercache and
document it.
From Greg A. Woods in PR bin/36542
Revision 1.81.8.1: download - view: text, markup, annotated - select for diffs
Tue Jul 25 01:43:37 2017 UTC (7 years, 8 months ago) by snj
Branches: netbsd-8
CVS tags: netbsd-8-0-RELEASE,
netbsd-8-0-RC2,
netbsd-8-0-RC1,
matt-nb8-mediatek-base,
matt-nb8-mediatek
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +14 -7
lines
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.
Revision 1.82.2.2: download - view: text, markup, annotated - select for diffs
Sat Jul 15 08:22:24 2017 UTC (7 years, 9 months ago) by mlelstv
Branches: perseant-stdc-iso10646
Diff to: previous 1.82.2.1: preferred, colored; branchpoint 1.82: preferred, colored; next MAIN 1.83: preferred, colored
Changes since revision 1.82.2.1: +859 -0
lines
3327190
Revision 1.82.2.1
Sat Jul 15 08:22:23 2017 UTC (7 years, 9 months ago) by mlelstv
Branches: perseant-stdc-iso10646
FILE REMOVED
Changes since revision 1.82: +0 -859
lines
file vmstat.c was added on branch perseant-stdc-iso10646 on 2017-07-15 08:22:24 +0000
Revision 1.82: download - view: text, markup, annotated - select for diffs
Sat Jul 15 08:22:23 2017 UTC (7 years, 9 months ago) by mlelstv
Branches: MAIN
CVS tags: phil-wifi-base,
pgoyette-compat-base,
pgoyette-compat-1126,
pgoyette-compat-1020,
pgoyette-compat-0930,
pgoyette-compat-0906,
pgoyette-compat-0728,
pgoyette-compat-0625,
pgoyette-compat-0521,
pgoyette-compat-0502,
pgoyette-compat-0422,
pgoyette-compat-0415,
pgoyette-compat-0407,
pgoyette-compat-0330,
pgoyette-compat-0322,
pgoyette-compat-0315,
perseant-stdc-iso10646-base
Branch point for: phil-wifi,
pgoyette-compat,
perseant-stdc-iso10646
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +14 -7
lines
Use I/O timestamps to compute disk statistics for better precisison.
Revision 1.81: download - view: text, markup, annotated - select for diffs
Wed Dec 24 20:01:22 2014 UTC (10 years, 3 months ago) by dennis
Branches: MAIN
CVS tags: prg-localcount2-base3,
prg-localcount2-base2,
prg-localcount2-base1,
prg-localcount2-base,
prg-localcount2,
pgoyette-localcount-base,
pgoyette-localcount-20170426,
pgoyette-localcount-20170320,
pgoyette-localcount-20170107,
pgoyette-localcount-20161104,
pgoyette-localcount-20160806,
pgoyette-localcount-20160726,
pgoyette-localcount,
netbsd-8-base,
localcount-20160914,
bouyer-socketcan-base1,
bouyer-socketcan-base,
bouyer-socketcan
Branch point for: netbsd-8
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +3 -3
lines
Update stats-keeping in sys/kern/vfs_cache.c to remove (most)
races while allowing consistent lockless sampling of the per-cpu
statistics without atomic operations. Update comment describing
the locking protocol to include this.
These files were fumble-fingered out of the last commit.
Revision 1.77.12.1: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:05:04 2014 UTC (10 years, 8 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.77: preferred, colored; next MAIN 1.78: preferred, colored
Changes since revision 1.77: +15 -17
lines
Rebase to HEAD as of a few days ago.
Revision 1.77.22.1: download - view: text, markup, annotated - select for diffs
Sun Aug 10 06:58:59 2014 UTC (10 years, 8 months ago) by tls
Branches: tls-earlyentropy
Diff to: previous 1.77: preferred, colored; next MAIN 1.78: preferred, colored
Changes since revision 1.77: +15 -17
lines
Rebase.
Revision 1.80: download - view: text, markup, annotated - select for diffs
Fri Jun 20 07:08:15 2014 UTC (10 years, 10 months ago) by njoly
Branches: MAIN
CVS tags: tls-maxphys-base,
tls-earlyentropy-base,
netbsd-7-nhusb-base-20170116,
netbsd-7-nhusb-base,
netbsd-7-nhusb,
netbsd-7-base,
netbsd-7-2-RELEASE,
netbsd-7-1-RELEASE,
netbsd-7-1-RC2,
netbsd-7-1-RC1,
netbsd-7-1-2-RELEASE,
netbsd-7-1-1-RELEASE,
netbsd-7-1,
netbsd-7-0-RELEASE,
netbsd-7-0-RC3,
netbsd-7-0-RC2,
netbsd-7-0-RC1,
netbsd-7-0-2-RELEASE,
netbsd-7-0-1-RELEASE,
netbsd-7-0,
netbsd-7
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +2 -6
lines
Remove fagile test which ensured that first namelist element (was
X_NCHSTATS) had a known type. Make disk stats available again for
vmstat display.
Revision 1.79: download - view: text, markup, annotated - select for diffs
Sat Jun 14 20:10:42 2014 UTC (10 years, 10 months ago) by joerg
Branches: MAIN
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +8 -11
lines
GC X_NCHSTATS
Revision 1.78: download - view: text, markup, annotated - select for diffs
Tue Jun 3 21:16:15 2014 UTC (10 years, 10 months ago) by joerg
Branches: MAIN
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +9 -4
lines
Provide sysctl for namecache statistics.
Revision 1.77: download - view: text, markup, annotated - select for diffs
Fri Apr 30 16:21:05 2010 UTC (14 years, 11 months ago) by njoly
Branches: MAIN
CVS tags: yamt-pagecache-tag8,
yamt-pagecache-base9,
yamt-pagecache-base8,
yamt-pagecache-base7,
yamt-pagecache-base6,
yamt-pagecache-base5,
yamt-pagecache-base4,
yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
yamt-pagecache,
riastradh-xf86-video-intel-2-7-1-pre-2-21-15,
riastradh-drm2-base3,
riastradh-drm2-base2,
riastradh-drm2-base1,
riastradh-drm2-base,
riastradh-drm2,
netbsd-6-base,
netbsd-6-1-RELEASE,
netbsd-6-1-RC4,
netbsd-6-1-RC3,
netbsd-6-1-RC2,
netbsd-6-1-RC1,
netbsd-6-1-5-RELEASE,
netbsd-6-1-4-RELEASE,
netbsd-6-1-3-RELEASE,
netbsd-6-1-2-RELEASE,
netbsd-6-1-1-RELEASE,
netbsd-6-1,
netbsd-6-0-RELEASE,
netbsd-6-0-RC2,
netbsd-6-0-RC1,
netbsd-6-0-6-RELEASE,
netbsd-6-0-5-RELEASE,
netbsd-6-0-4-RELEASE,
netbsd-6-0-3-RELEASE,
netbsd-6-0-2-RELEASE,
netbsd-6-0-1-RELEASE,
netbsd-6-0,
netbsd-6,
matt-nb6-plus-nbase,
matt-nb6-plus-base,
matt-nb6-plus,
matt-mips64-premerge-20101231,
cherry-xenmp-base,
cherry-xenmp,
bouyer-quota2-nbase,
bouyer-quota2-base,
bouyer-quota2,
agc-symver-base,
agc-symver
Branch point for: tls-maxphys,
tls-earlyentropy
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +4 -3
lines
Add per process cache values to the total name translations count.
Revision 1.76: download - view: text, markup, annotated - select for diffs
Fri Apr 30 13:49:22 2010 UTC (14 years, 11 months ago) by njoly
Branches: MAIN
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +11 -10
lines
In vmstat display, add one more column to output memory values. Avoid
overflow with more than 100GB.
Revision 1.71.10.1: download - view: text, markup, annotated - select for diffs
Wed Apr 21 05:27:12 2010 UTC (15 years ago) by matt
Branches: matt-nb5-mips64
CVS tags: matt-nb5-mips64-premerge-20101231,
matt-nb5-mips64-k15
Diff to: previous 1.71: preferred, colored; next MAIN 1.72: preferred, colored
Changes since revision 1.71: +3 -3
lines
sync to netbsd-5
Revision 1.71.4.1: download - view: text, markup, annotated - select for diffs
Tue Oct 27 21:37:52 2009 UTC (15 years, 5 months ago) by bouyer
Branches: netbsd-5
CVS tags: netbsd-5-2-RELEASE,
netbsd-5-2-RC1,
netbsd-5-2-3-RELEASE,
netbsd-5-2-2-RELEASE,
netbsd-5-2-1-RELEASE,
netbsd-5-2,
netbsd-5-1-RELEASE,
netbsd-5-1-RC4,
netbsd-5-1-RC3,
netbsd-5-1-RC2,
netbsd-5-1-RC1,
netbsd-5-1-5-RELEASE,
netbsd-5-1-4-RELEASE,
netbsd-5-1-3-RELEASE,
netbsd-5-1-2-RELEASE,
netbsd-5-1-1-RELEASE,
netbsd-5-1,
matt-nb5-pq3-base,
matt-nb5-pq3
Diff to: previous 1.71: preferred, colored; next MAIN 1.72: preferred, colored
Changes since revision 1.71: +3 -3
lines
Pull up following revision(s) (requested by wiz in ticket #1110):
usr.bin/systat/vmstat.c: revision 1.74
usr.bin/systat/syscall.c: revision 1.7
Fix problems with SIGWINCH. From Paul Ripke in PR 42161.
Revision 1.75: download - view: text, markup, annotated - select for diffs
Wed Oct 21 21:12:07 2009 UTC (15 years, 6 months ago) by rmind
Branches: MAIN
CVS tags: matt-premerge-20091211
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +3 -6
lines
Remove uarea swap-out functionality:
- Addresses the issue described in PR/38828.
- Some simplification in threading and sleepq subsystems.
- Eliminates pmap_collect() and, as a side note, allows pmap optimisations.
- Eliminates XS_CTL_DATA_ONSTACK in scsipi code.
- Avoids few scans on LWP list and thus potentially long holds of proc_lock.
- Cuts ~1.5k lines of code. Reduces amd64 kernel size by ~4k.
- Removes __SWAP_BROKEN cases.
Tested on x86, mips, acorn32 (thanks <mpumford>) and partly tested on
acorn26 (thanks to <bjh21>).
Discussed on <tech-kern>, reviewed by <ad>.
Revision 1.74: download - view: text, markup, annotated - select for diffs
Wed Oct 21 13:56:36 2009 UTC (15 years, 6 months ago) by wiz
Branches: MAIN
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +3 -3
lines
Fix problems with SIGWINCH. From Paul Ripke in PR 42161.
Revision 1.71.6.1: download - view: text, markup, annotated - select for diffs
Wed May 13 19:20:07 2009 UTC (15 years, 11 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.71: preferred, colored; next MAIN 1.72: preferred, colored
Changes since revision 1.71: +8 -8
lines
Sync with HEAD.
Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
Revision 1.73: download - view: text, markup, annotated - select for diffs
Mon Apr 13 23:20:27 2009 UTC (16 years ago) by lukem
Branches: MAIN
CVS tags: jym-xensuspend-nbase,
jym-xensuspend-base
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +5 -5
lines
Fix -Wsign-compare issues
Revision 1.72: download - view: text, markup, annotated - select for diffs
Mon Mar 9 19:48:02 2009 UTC (16 years, 1 month ago) by njoly
Branches: MAIN
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +5 -5
lines
In vmstat display, increase software interrupt count output from 5 to
6 columns.
Revision 1.70.6.1: download - view: text, markup, annotated - select for diffs
Thu Sep 18 04:29:22 2008 UTC (16 years, 7 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.70: preferred, colored; next MAIN 1.71: preferred, colored
Changes since revision 1.70: +2 -7
lines
Sync with wrstuden-revivesa-base-2.
Revision 1.71: download - view: text, markup, annotated - select for diffs
Sun Jul 13 20:07:48 2008 UTC (16 years, 9 months ago) by dholland
Branches: MAIN
CVS tags: wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2,
netbsd-5-base,
netbsd-5-0-RELEASE,
netbsd-5-0-RC4,
netbsd-5-0-RC3,
netbsd-5-0-RC2,
netbsd-5-0-RC1,
netbsd-5-0-2-RELEASE,
netbsd-5-0-1-RELEASE,
netbsd-5-0,
matt-nb5-mips64-u2-k2-k4-k7-k8-k9,
matt-nb5-mips64-u1-k1-k5,
matt-nb5-mips64-premerge-20091211,
matt-nb4-mips64-k7-u2a-k9b,
matt-mips64-base2
Branch point for: netbsd-5,
matt-nb5-mips64,
jym-xensuspend
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +2 -7
lines
Clarify how one is supposed to use the pointers returned by getutentries()
(the utmpentry.c code), specifically with respect to who owns them and
when to free them. Now they're owned by utmpentry.c, only. Abolish the
freeutentries() function, which was the wrong abstraction; add instead
endutentries(), which flushes out the internally managed memory.
Update callers as necessary. Some (e.g. talkd) had been leaking memory;
others (e.g. syslogd) had been accidentally freeing and reloading utmp
more often than necessary. There are a couple untidy bits in users and
rwhod that someone should look after sometime, maybe.
Fixes PR bin/35131, which was about talkd's memory leak.
Revision 1.69.8.1: download - view: text, markup, annotated - select for diffs
Sun Mar 23 00:49:03 2008 UTC (17 years, 1 month ago) by matt
Branches: matt-armv6
Diff to: previous 1.69: preferred, colored; next MAIN 1.70: preferred, colored
Changes since revision 1.69: +3 -3
lines
sync with HEAD
Revision 1.70: download - view: text, markup, annotated - select for diffs
Mon Feb 11 03:51:17 2008 UTC (17 years, 2 months ago) by dyoung
Branches: MAIN
CVS tags: yamt-pf42-baseX,
yamt-pf42-base4,
yamt-pf42-base3,
yamt-pf42-base2,
yamt-pf42-base,
yamt-pf42,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base,
matt-armv6-nbase,
keiichi-mipv6-nbase,
keiichi-mipv6-base,
keiichi-mipv6,
hpcarm-cleanup-nbase,
hpcarm-cleanup-base
Branch point for: wrstuden-revivesa
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +3 -3
lines
#include <sys/evcnt.h> instead of <sys/device.h>, since the former
is sufficient, anyway. Do not needlessly #include <sys/device.h>.
Note well: device_t is not part of the kernel ABI.
Revision 1.69: download - view: text, markup, annotated - select for diffs
Sun Oct 22 16:43:24 2006 UTC (18 years, 6 months ago) by christos
Branches: MAIN
CVS tags: wrstuden-fixsa-newbase,
wrstuden-fixsa-base-1,
wrstuden-fixsa-base,
wrstuden-fixsa,
netbsd-4-base,
netbsd-4-0-RELEASE,
netbsd-4-0-RC5,
netbsd-4-0-RC4,
netbsd-4-0-RC3,
netbsd-4-0-RC2,
netbsd-4-0-RC1,
netbsd-4-0-1-RELEASE,
netbsd-4-0,
netbsd-4,
matt-mips64-base,
matt-mips64,
matt-armv6-prevmlocking,
matt-armv6-base,
hpcarm-cleanup,
cube-autoconf-base,
cube-autoconf
Branch point for: matt-armv6
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +9 -9
lines
use c99 initializers
consistently terminate nlist arrays with NULL not ""
Revision 1.67.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 19 04:17:07 2006 UTC (18 years, 10 months ago) by chap
Branches: chap-midi
Diff to: previous 1.67: preferred, colored; next MAIN 1.68: preferred, colored
Changes since revision 1.67: +7 -7
lines
Sync with head.
Revision 1.68: download - view: text, markup, annotated - select for diffs
Sun May 21 20:22:34 2006 UTC (18 years, 11 months ago) by dsl
Branches: MAIN
CVS tags: chap-midi-nbase,
chap-midi-base,
abandoned-netbsd-4-base,
abandoned-netbsd-4
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +7 -7
lines
Reduce the field widths for the summary line of traps, system calls
and interrupts so that the numbers don't all run into one.
Revision 1.67: download - view: text, markup, annotated - select for diffs
Sun May 14 02:56:27 2006 UTC (18 years, 11 months ago) by christos
Branches: MAIN
Branch point for: chap-midi
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +3 -2
lines
Gcc 4 needs to have the enum declaration in scope to determine the enum size.
Revision 1.66: download - view: text, markup, annotated - select for diffs
Thu May 11 12:01:33 2006 UTC (18 years, 11 months ago) by yamt
Branches: MAIN
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +3 -3
lines
include errno.h directly rather than via user.h.
Revision 1.65: download - view: text, markup, annotated - select for diffs
Fri Apr 14 13:14:06 2006 UTC (19 years ago) by blymn
Branches: MAIN
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +14 -56
lines
Update to use new kernel io statistics.
Revision 1.64: download - view: text, markup, annotated - select for diffs
Mon Mar 20 20:36:38 2006 UTC (19 years, 1 month ago) by dsl
Branches: MAIN
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +11 -9
lines
free() intrnamebuf, intrname and intrloc on entry so we don't leak them
every time initvmstat() is called.
Change intrnamebuf to be static so this works.
Inspired by Coverty CID 2072 (incorrectly) reporting that the memory assigned
to intrnamebuf wasn't being freed.
Revision 1.63: download - view: text, markup, annotated - select for diffs
Sat Mar 18 14:58:49 2006 UTC (19 years, 1 month ago) by dsl
Branches: MAIN
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +215 -175
lines
Make the functions that display the top 8 lines externally visible so
they can be used to head other pages (not ready to commit yet...).
Use puthumanint() for oversize numbers when display_mode is RUN or BOOT (when
very big numbers are to be expected).
Allow an extra column for Csw..Flt.
Adjust some #defines to avoid use of global s & s1.
Revision 1.62: download - view: text, markup, annotated - select for diffs
Sun Feb 5 09:54:50 2006 UTC (19 years, 2 months ago) by dsl
Branches: MAIN
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +4 -2
lines
Split dkreadstats() into dkreadstats(), tkreadstats() and cpureadstats().
Similarly for dkswap().
Allows code to only call one of these.
Rename struct _disk to _vminfo to be nearer its contents.
Change 'systat vm' so that it always shows the 'current' cpu times, even
after ':run' or ':boot' commands. The code in vmstat.c doesn't support :run.
Revision 1.61: download - view: text, markup, annotated - select for diffs
Sun Aug 7 12:32:38 2005 UTC (19 years, 8 months ago) by blymn
Branches: MAIN
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +51 -8
lines
Add tape statistics.
Revision 1.60: download - view: text, markup, annotated - select for diffs
Sun May 22 14:00:59 2005 UTC (19 years, 11 months ago) by chs
Branches: MAIN
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +36 -29
lines
do not rely on the pre-evcnt interrupt counter kernel symbols being present.
if they do not exist, then interrupt stats are all in evcnts.
Revision 1.59: download - view: text, markup, annotated - select for diffs
Sat Feb 26 22:12:34 2005 UTC (20 years, 1 month ago) by dsl
Branches: MAIN
CVS tags: netbsd-3-base,
netbsd-3-1-RELEASE,
netbsd-3-1-RC4,
netbsd-3-1-RC3,
netbsd-3-1-RC2,
netbsd-3-1-RC1,
netbsd-3-1-1-RELEASE,
netbsd-3-1,
netbsd-3-0-RELEASE,
netbsd-3-0-RC6,
netbsd-3-0-RC5,
netbsd-3-0-RC4,
netbsd-3-0-RC3,
netbsd-3-0-RC2,
netbsd-3-0-RC1,
netbsd-3-0-3-RELEASE,
netbsd-3-0-2-RELEASE,
netbsd-3-0-1-RELEASE,
netbsd-3-0,
netbsd-3
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +22 -21
lines
WARNS=3
Revision 1.58: download - view: text, markup, annotated - select for diffs
Tue Feb 22 15:13:57 2005 UTC (20 years, 2 months ago) by christos
Branches: MAIN
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +10 -10
lines
PR/29505: Nicolas Joly: Increase width of csw value in systat vmstat.
Revision 1.57: download - view: text, markup, annotated - select for diffs
Thu Feb 3 16:16:00 2005 UTC (20 years, 2 months ago) by christos
Branches: MAIN
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +10 -10
lines
PR/29213: Nicolas Joly: sysstat(1) vmstat cannot display large memory values
Revision 1.56: download - view: text, markup, annotated - select for diffs
Sun Jun 13 08:56:21 2004 UTC (20 years, 10 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +4 -5
lines
Fix a display glitch when blanking out drive columns.
Revision 1.55: download - view: text, markup, annotated - select for diffs
Fri Sep 19 07:08:50 2003 UTC (21 years, 7 months ago) by itojun
Branches: MAIN
CVS tags: netbsd-2-base,
netbsd-2-1-RELEASE,
netbsd-2-1-RC6,
netbsd-2-1-RC5,
netbsd-2-1-RC4,
netbsd-2-1-RC3,
netbsd-2-1-RC2,
netbsd-2-1-RC1,
netbsd-2-1,
netbsd-2-0-base,
netbsd-2-0-RELEASE,
netbsd-2-0-RC5,
netbsd-2-0-RC4,
netbsd-2-0-RC3,
netbsd-2-0-RC2,
netbsd-2-0-RC1,
netbsd-2-0-3-RELEASE,
netbsd-2-0-2-RELEASE,
netbsd-2-0-1-RELEASE,
netbsd-2-0,
netbsd-2
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +6 -4
lines
realloc pedant
Revision 1.54: download - view: text, markup, annotated - select for diffs
Sat Aug 30 12:57:03 2003 UTC (21 years, 7 months ago) by dsl
Branches: MAIN
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +3 -3
lines
Use correct size when copying interrupt counters.
Fixes second part of bin/10095 (first part fixed in rev 1.25)
Revision 1.53: download - view: text, markup, annotated - select for diffs
Thu Aug 7 11:16:01 2003 UTC (21 years, 8 months ago) by agc
Branches: MAIN
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +3 -7
lines
Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22365, verified by myself.
Revision 1.52: download - view: text, markup, annotated - select for diffs
Tue Aug 5 20:01:25 2003 UTC (21 years, 8 months ago) by grant
Branches: MAIN
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +3 -3
lines
Discs->Disks
Revision 1.51: download - view: text, markup, annotated - select for diffs
Wed Jun 11 17:26:31 2003 UTC (21 years, 10 months ago) by drochner
Branches: MAIN
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +2 -3
lines
no need to #include <sys/dkstat.h>
Revision 1.50: download - view: text, markup, annotated - select for diffs
Thu May 15 01:00:07 2003 UTC (21 years, 11 months ago) by itojun
Branches: MAIN
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +3 -3
lines
use strlcpy
Revision 1.49: download - view: text, markup, annotated - select for diffs
Tue Feb 18 14:55:05 2003 UTC (22 years, 2 months ago) by dsl
Branches: MAIN
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +88 -44
lines
Pivot the disk stats into extra lines if they run out of columns
(approved by christos)
Revision 1.48: download - view: text, markup, annotated - select for diffs
Mon Feb 17 19:30:33 2003 UTC (22 years, 2 months ago) by dsl
Branches: MAIN
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +25 -23
lines
Fiddle with screen layout to generate room for longer labels on the
interrupt count fields.
(approved by christos)
Revision 1.47: download - view: text, markup, annotated - select for diffs
Thu Feb 13 08:09:33 2003 UTC (22 years, 2 months ago) by dsl
Branches: MAIN
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +31 -13
lines
Avoid displaying "intr" for all interrupt counter titles
(approved by christos)
Revision 1.46: download - view: text, markup, annotated - select for diffs
Mon Jan 20 18:24:03 2003 UTC (22 years, 3 months ago) by dsl
Branches: MAIN
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +4 -6
lines
Make kernel address arg of kvm_ckread() const void * so caller doesn't
need a cast.
(approved by christos)
Revision 1.45: download - view: text, markup, annotated - select for diffs
Sat Jan 18 21:18:18 2003 UTC (22 years, 3 months ago) by christos
Branches: MAIN
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +6 -4
lines
kill warns.
Revision 1.44: download - view: text, markup, annotated - select for diffs
Sat Jan 18 21:02:35 2003 UTC (22 years, 3 months ago) by dsl
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +162 -60
lines
pull interrupt stats from event counts
fix disk xfer byte count
fix absolute counts - were divided by time interval
Revision 1.37.2.2: download - view: text, markup, annotated - select for diffs
Tue Nov 12 16:55:00 2002 UTC (22 years, 5 months ago) by skrll
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.37.2.1: preferred, colored; next MAIN 1.38: preferred, colored
Changes since revision 1.37.2.1: +644 -0
lines
Catch up to -current.
Revision 1.43: download - view: text, markup, annotated - select for diffs
Fri Nov 1 12:47:58 2002 UTC (22 years, 5 months ago) by mrg
Branches: MAIN
CVS tags: nathanw_sa_before_merge,
nathanw_sa_base,
fvdl_fs64_base
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +6 -4
lines
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.
Revision 1.42: download - view: text, markup, annotated - select for diffs
Wed Sep 25 13:50:40 2002 UTC (22 years, 7 months ago) by christos
Branches: MAIN
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +4 -4
lines
PR/18408: Chris Demetriou: Kilo is abbreviated using a small k not a CAPITAL K.
Revision 1.41: download - view: text, markup, annotated - select for diffs
Thu Aug 8 17:06:32 2002 UTC (22 years, 8 months ago) by abs
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +29 -5
lines
introduce puthumanint() which calls humanize_number(), and use to
display disk transfer values (Suggested by Simon Burge). Also clip
%busy to 100 and display as an int which has the useful side effect
of stopping it overflowing into the next column (100.0).
Revision 1.40: download - view: text, markup, annotated - select for diffs
Thu Aug 1 23:36:55 2002 UTC (22 years, 8 months ago) by christos
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +13 -19
lines
scan utmpx/utmp.
Revision 1.38.2.1: download - view: text, markup, annotated - select for diffs
Sun Jun 30 05:47:25 2002 UTC (22 years, 9 months ago) by lukem
Branches: netbsd-1-6
CVS tags: netbsd-1-6-RELEASE,
netbsd-1-6-RC3,
netbsd-1-6-RC2,
netbsd-1-6-RC1,
netbsd-1-6-PATCH002-RELEASE,
netbsd-1-6-PATCH002-RC4,
netbsd-1-6-PATCH002-RC3,
netbsd-1-6-PATCH002-RC2,
netbsd-1-6-PATCH002-RC1,
netbsd-1-6-PATCH002,
netbsd-1-6-PATCH001-RELEASE,
netbsd-1-6-PATCH001-RC3,
netbsd-1-6-PATCH001-RC2,
netbsd-1-6-PATCH001-RC1,
netbsd-1-6-PATCH001
Diff to: previous 1.38: preferred, colored; next MAIN 1.39: preferred, colored
Changes since revision 1.38: +8 -15
lines
Pull up revision 1.39 (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.
Revision 1.39: download - view: text, markup, annotated - select for diffs
Sun Jun 30 00:10:34 2002 UTC (22 years, 9 months ago) by sommerfeld
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +8 -15
lines
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.
Revision 1.38: download - view: text, markup, annotated - select for diffs
Wed May 15 06:43:37 2002 UTC (22 years, 11 months ago) by kleink
Branches: MAIN
CVS tags: netbsd-1-6-base
Branch point for: netbsd-1-6
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +7 -9
lines
From Simon Burge: remove orphaned reference to _total; fixes PR bin/16804.
Revision 1.37.2.1
Mon Jan 28 13:20:43 2002 UTC (23 years, 2 months ago) by skrll
Branches: nathanw_sa
FILE REMOVED
Changes since revision 1.37: +0 -633
lines
file vmstat.c was added on branch nathanw_sa on 2002-11-12 16:55:00 +0000
Revision 1.37: download - view: text, markup, annotated - select for diffs
Mon Jan 28 13:20:43 2002 UTC (23 years, 2 months ago) by augustss
Branches: MAIN
Branch point for: nathanw_sa
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +3 -3
lines
Make it compile (more vmstat fallout).
Revision 1.36: download - view: text, markup, annotated - select for diffs
Fri Sep 28 11:58:51 2001 UTC (23 years, 6 months ago) by augustss
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +10 -10
lines
Since the system call and trap rates are often 5 digit numbers these
days we move the columns a little to avoid running into other numbers.
Revision 1.35: download - view: text, markup, annotated - select for diffs
Fri Dec 1 02:19:44 2000 UTC (24 years, 4 months ago) by simonb
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +3 -18
lines
Remove extern variables and functions now declared in dkstats.h.
While here, remove 77 (!) unneed #includes.
Revision 1.34: download - view: text, markup, annotated - select for diffs
Wed Nov 29 11:18:33 2000 UTC (24 years, 4 months ago) by simonb
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +4 -4
lines
Use the vm.uvmexp2 sysctl.
Revision 1.31.2.1: download - view: text, markup, annotated - select for diffs
Fri Sep 1 16:38:18 2000 UTC (24 years, 7 months ago) by ad
Branches: netbsd-1-5
CVS tags: netbsd-1-5-RELEASE,
netbsd-1-5-PATCH003,
netbsd-1-5-PATCH002,
netbsd-1-5-PATCH001,
netbsd-1-5-BETA2,
netbsd-1-5-BETA
Diff to: previous 1.31: preferred, colored; next MAIN 1.32: preferred, colored
Changes since revision 1.31: +27 -40
lines
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.
netstat.c 1.19
pigs.c 1.20
ps.c 1.16
swap.c 1.13
systat.1 1.20
systat.h 1.7
tcp.c 1.7
vmstat.c 1.33
Revision 1.33: download - view: text, markup, annotated - select for diffs
Wed Jul 5 11:03:23 2000 UTC (24 years, 9 months ago) by ad
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +27 -40
lines
- 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.
Revision 1.32: download - view: text, markup, annotated - select for diffs
Thu Jun 29 06:29:16 2000 UTC (24 years, 9 months ago) by mrg
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +2 -4
lines
remove include of <vm/vm.h>
Revision 1.24.2.1: download - view: text, markup, annotated - select for diffs
Fri Jun 23 16:40:02 2000 UTC (24 years, 10 months ago) by minoura
Branches: minoura-xpg4dl
Diff to: previous 1.24: preferred, colored; next MAIN 1.25: preferred, colored
Changes since revision 1.24: +25 -33
lines
Sync w/ netbsd-1-5-base.
Revision 1.31: download - view: text, markup, annotated - select for diffs
Mon Jun 5 21:36:34 2000 UTC (24 years, 10 months ago) by mycroft
Branches: MAIN
CVS tags: netbsd-1-5-base,
netbsd-1-5-ALPHA2
Branch point for: netbsd-1-5
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +4 -4
lines
Display disk busy statistics as `%busy', as it's less confusing.
Revision 1.30: download - view: text, markup, annotated - select for diffs
Sun Jun 4 18:29:14 2000 UTC (24 years, 10 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +6 -10
lines
Use hline() and variants in a bunch of places.
Revision 1.29: download - view: text, markup, annotated - select for diffs
Sun Jun 4 18:14:45 2000 UTC (24 years, 10 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +3 -3
lines
Fix a check so that holding down the space bar doesn't cause systat to lose.
Revision 1.28: download - view: text, markup, annotated - select for diffs
Sun Jun 4 18:10:40 2000 UTC (24 years, 10 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +6 -9
lines
Fix the CPU usage bar graph.
Revision 1.27: download - view: text, markup, annotated - select for diffs
Sun Jun 4 16:06:26 2000 UTC (24 years, 10 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +9 -11
lines
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.
Revision 1.26: download - view: text, markup, annotated - select for diffs
Sun Jun 4 01:53:51 2000 UTC (24 years, 10 months ago) by perry
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +3 -2
lines
include sys/sched.h to get definition of CPUSTATES
Revision 1.25: download - view: text, markup, annotated - select for diffs
Mon May 29 12:54:31 2000 UTC (24 years, 10 months ago) by simonb
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +6 -6
lines
Another cp_time size fix - also, there are 5 CPUSTATES now not four...
Revision 1.19.2.1: download - view: text, markup, annotated - select for diffs
Sun Jan 23 12:02:34 2000 UTC (25 years, 3 months ago) by he
Branches: netbsd-1-4
CVS tags: netbsd-1-4-PATCH003,
netbsd-1-4-PATCH002
Diff to: previous 1.19: preferred, colored; next MAIN 1.20: preferred, colored
Changes since revision 1.19: +2 -3
lines
Pull up revision 1.24 (requested by mycroft):
Always do the errno indirection hack, so that non-threaded
libraries get the right errno value when linked with -lpthread.
This means "always include <errno.h> and never declare errno
yourself".
Revision 1.24: download - view: text, markup, annotated - select for diffs
Fri Jan 21 17:08:36 2000 UTC (25 years, 3 months ago) by mycroft
Branches: MAIN
CVS tags: minoura-xpg4dl-base
Branch point for: minoura-xpg4dl
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +2 -3
lines
Nuke `extern int errno;' in code we compile with -Wstrict-prototypes. We get
the correct definition from errno.h.
Revision 1.19.4.1: download - view: text, markup, annotated - select for diffs
Mon Dec 27 18:37:12 1999 UTC (25 years, 4 months ago) by wrstuden
Branches: wrstuden-devbsize
Diff to: previous 1.19: preferred, colored; next MAIN 1.20: preferred, colored
Changes since revision 1.19: +45 -33
lines
Pull up to last week's -current.
Revision 1.23: download - view: text, markup, annotated - select for diffs
Mon Dec 20 23:11:51 1999 UTC (25 years, 4 months ago) by jwise
Branches: MAIN
CVS tags: wrstuden-devbsize-base,
wrstuden-devbsize-19991221
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +7 -6
lines
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.
Revision 1.22: download - view: text, markup, annotated - select for diffs
Mon Dec 20 03:45:03 1999 UTC (25 years, 4 months ago) by jwise
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +29 -25
lines
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.
Revision 1.21: download - view: text, markup, annotated - select for diffs
Sun Oct 10 01:07:03 1999 UTC (25 years, 6 months ago) by mrg
Branches: MAIN
CVS tags: comdex-fall-1999-base,
comdex-fall-1999
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +10 -3
lines
let "systat vmstat" say "1 user" not "1 users"
Revision 1.20: download - view: text, markup, annotated - select for diffs
Thu Sep 30 13:16:27 1999 UTC (25 years, 6 months ago) by soren
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +5 -5
lines
There's room in the systat-vmstat-iostat display, so allow four-letter
device names like e.g. ccd0 and print an extra digit of precision in
the 'sec' line like iostat(8) does.
Revision 1.19: download - view: text, markup, annotated - select for diffs
Wed Mar 24 05:51:32 1999 UTC (26 years, 1 month ago) by mrg
Branches: MAIN
CVS tags: netbsd-1-4-base,
netbsd-1-4-RELEASE,
netbsd-1-4-PATCH001
Branch point for: wrstuden-devbsize,
netbsd-1-4
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +3 -112
lines
completely remove Mach VM support. all that is left is the all the
header files as UVM still uses (most of) these.
Revision 1.18: download - view: text, markup, annotated - select for diffs
Sat Dec 26 06:38:42 1998 UTC (26 years, 4 months ago) by marc
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +3 -3
lines
display the seconds in the timestamp in the corner, too.
Revision 1.17: download - view: text, markup, annotated - select for diffs
Sat Dec 19 14:34:40 1998 UTC (26 years, 4 months ago) by drochner
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +4 -4
lines
avoid integer overflow in free memory report
Revision 1.16: download - view: text, markup, annotated - select for diffs
Sun Dec 6 16:53:44 1998 UTC (26 years, 4 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +5 -3
lines
Add missing braces, so PUTRATE() works correctly as an if clause.
Revision 1.15: download - view: text, markup, annotated - select for diffs
Sun Jul 19 17:47:08 1998 UTC (26 years, 9 months ago) by drochner
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +4 -3
lines
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.
Revision 1.14: download - view: text, markup, annotated - select for diffs
Sun Jul 12 05:59:01 1998 UTC (26 years, 9 months ago) by mrg
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +4 -5
lines
- KNF
- use snprintf
- don't overwrite the keyboard buffer (and make this sized on
the window size).
Revision 1.13: download - view: text, markup, annotated - select for diffs
Mon Feb 9 15:29:52 1998 UTC (27 years, 2 months ago) by mrg
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +31 -17
lines
clean up memory totals in UVM case.
Revision 1.12: download - view: text, markup, annotated - select for diffs
Mon Feb 9 14:14:43 1998 UTC (27 years, 2 months ago) by mrg
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +62 -43
lines
make "systat vmstat" much much much more UVM friendly.
Revision 1.11: download - view: text, markup, annotated - select for diffs
Sat Feb 7 14:08:23 1998 UTC (27 years, 2 months ago) by mrg
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +90 -15
lines
build and run with -DUVM. this isn't yet finished but it does run and partially work.
Revision 1.10: download - view: text, markup, annotated - select for diffs
Sun Oct 19 23:36:34 1997 UTC (27 years, 6 months ago) by lukem
Branches: MAIN
CVS tags: netbsd-1-3-base,
netbsd-1-3-RELEASE,
netbsd-1-3-PATCH003-CANDIDATE2,
netbsd-1-3-PATCH003-CANDIDATE1,
netbsd-1-3-PATCH003-CANDIDATE0,
netbsd-1-3-PATCH003,
netbsd-1-3-PATCH002,
netbsd-1-3-PATCH001,
netbsd-1-3-BETA,
netbsd-1-3
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +8 -8
lines
fix .Nm usage, deprecate register, getopt returns -1 not EOF, s/[br]*/[ms]*/
Revision 1.9: download - view: text, markup, annotated - select for diffs
Mon Aug 25 19:32:01 1997 UTC (27 years, 8 months ago) by kleink
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +3 -3
lines
Lseek(2) usage cleanup: the use of L_SET/L_INCR/L_XTND is deprecated,
use SEEK_SET/SEEK_CUR/SEEK_END instead.
Revision 1.8: download - view: text, markup, annotated - select for diffs
Mon Jul 21 07:05:10 1997 UTC (27 years, 9 months ago) by mrg
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +3 -2
lines
- some KNF.
- use __RCSID().
- WARNS=1
Revision 1.7: download - view: text, markup, annotated - select for diffs
Fri Dec 13 19:26:23 1996 UTC (28 years, 4 months ago) by scottr
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +6 -6
lines
Freshen up a bit:
- Replace deprecated sigblock() with sigprocmask()
- Redraw the current display if SIGWINCH is caught
- Style police
Revision 1.6: download - view: text, markup, annotated - select for diffs
Sun Aug 11 04:16:28 1996 UTC (28 years, 8 months ago) by explorer
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +7 -17
lines
remove nlist lookup of _dk_*
Revision 1.5: download - view: text, markup, annotated - select for diffs
Fri May 10 23:16:40 1996 UTC (28 years, 11 months ago) by thorpej
Branches: MAIN
CVS tags: netbsd-1-2-base,
netbsd-1-2-RELEASE,
netbsd-1-2-PATCH001,
netbsd-1-2-BETA,
netbsd-1-2
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +26 -51
lines
New userland code to read the statistics kept by the NetBSD generic
disk framework, from John M. Vinopal <banshee@gabriella.resort.com>
Revision 1.4: download - view: text, markup, annotated - select for diffs
Sat Apr 29 05:54:55 1995 UTC (30 years ago) by cgd
Branches: MAIN
CVS tags: netbsd-1-1-base,
netbsd-1-1-RELEASE,
netbsd-1-1-PATCH001,
netbsd-1-1
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +4 -3
lines
various includes, casts, and cleanups...
Revision 1.3: download - view: text, markup, annotated - select for diffs
Wed Mar 22 15:25:58 1995 UTC (30 years, 1 month ago) by mycroft
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +10 -10
lines
Use err*(3)/warn*(3).
Revision 1.2: download - view: text, markup, annotated - select for diffs
Fri Jan 20 08:52:16 1995 UTC (30 years, 3 months ago) by jtc
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +5 -0
lines
Changed to conform to NetBSD's new RCS Id convention.
Revision 1.1.1.1 (vendor branch): download - view: text, markup, annotated - select for diffs
Fri Jan 20 08:30:52 1995 UTC (30 years, 3 months ago) by jtc
Branches: CSRG
CVS tags: lite-2,
lite-1
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +0 -0
lines
imported from 44lite
Revision 1.1: download - view: text, markup, annotated - select for diffs
Fri Jan 20 08:30:51 1995 UTC (30 years, 3 months ago) by jtc
Branches: MAIN
Initial revision
CVSweb <webmaster@jp.NetBSD.org>