The NetBSD Project

CVS log for src/usr.bin/systat/vmstat.c

[BACK] Up to [cvs.NetBSD.org] / src / usr.bin / systat

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.81.8.3 / (download) - annotate - [select for diffs], Mon Dec 11 12:29:30 2023 UTC (3 months, 2 weeks ago) by martin
Branch: netbsd-8
Changes since 1.81.8.2: +7 -10 lines
Diff to previous 1.81.8.2 (colored) to branchpoint 1.81 (colored) next main 1.82 (colored) to selected 1.24.2.1 (colored)

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) - annotate - [select for diffs], Mon Dec 11 12:28:06 2023 UTC (3 months, 2 weeks ago) by martin
Branch: netbsd-9
Changes since 1.87: +7 -10 lines
Diff to previous 1.87 (colored) next main 1.88 (colored) to selected 1.24.2.1 (colored)

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) - annotate - [select for diffs], Sun Dec 10 17:25:29 2023 UTC (3 months, 2 weeks ago) by martin
Branch: netbsd-10
CVS Tags: netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2
Changes since 1.91: +7 -10 lines
Diff to previous 1.91 (colored) next main 1.92 (colored) to selected 1.24.2.1 (colored)

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) - annotate - [select for diffs], Tue Mar 28 00:00:30 2023 UTC (12 months ago) by kre
Branch: MAIN
CVS Tags: HEAD
Changes since 1.91: +7 -10 lines
Diff to previous 1.91 (colored) to selected 1.24.2.1 (colored)

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) - annotate - [select for diffs], Tue Nov 9 09:19:01 2021 UTC (2 years, 4 months ago) by nia
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10-0-RC1
Branch point for: netbsd-10
Changes since 1.90: +3 -6 lines
Diff to previous 1.90 (colored) to selected 1.24.2.1 (colored)

systat(1): convert realloc(x * y) to reallocarr, eliminate a temp var

Revision 1.90 / (download) - annotate - [select for diffs], Sat Aug 21 13:22:19 2021 UTC (2 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.89: +5 -5 lines
Diff to previous 1.89 (colored) to selected 1.24.2.1 (colored)

PR/56331: Paul Goyette: Add -z option to display 0 instead of ' ' in vmstat.

Revision 1.89 / (download) - annotate - [select for diffs], Sat Jul 24 13:42:05 2021 UTC (2 years, 8 months ago) by simonb
Branch: MAIN
Changes since 1.88: +3 -22 lines
Diff to previous 1.88 (colored) to selected 1.24.2.1 (colored)

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) - annotate - [select for diffs], Mon Apr 13 08:05:48 2020 UTC (3 years, 11 months ago) by martin
Branch: phil-wifi
Changes since 1.82.6.2: +26 -4 lines
Diff to previous 1.82.6.2 (colored) to branchpoint 1.82 (colored) next main 1.83 (colored) to selected 1.24.2.1 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.82.6.2 / (download) - annotate - [select for diffs], Wed Apr 8 14:09:18 2020 UTC (3 years, 11 months ago) by martin
Branch: phil-wifi
Changes since 1.82.6.1: +4 -4 lines
Diff to previous 1.82.6.1 (colored) to branchpoint 1.82 (colored) to selected 1.24.2.1 (colored)

Merge changes from current as of 20200406

Revision 1.88 / (download) - annotate - [select for diffs], Mon Mar 2 09:50:12 2020 UTC (4 years ago) by mrg
Branch: 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
Changes since 1.87: +4 -4 lines
Diff to previous 1.87 (colored) to selected 1.24.2.1 (colored)

increase slot slop space from 100 to 1000 before giving up.

from Paul Ripke on current-users.  thanks!

Revision 1.87 / (download) - annotate - [select for diffs], Sun Jun 30 19:57:23 2019 UTC (4 years, 8 months ago) by he
Branch: 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
Changes since 1.86: +28 -6 lines
Diff to previous 1.86 (colored) to selected 1.24.2.1 (colored)

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) - annotate - [select for diffs], Mon Jun 10 22:10:24 2019 UTC (4 years, 9 months ago) by christos
Branch: phil-wifi
Changes since 1.82: +103 -49 lines
Diff to previous 1.82 (colored) to selected 1.24.2.1 (colored)

Sync with HEAD

Revision 1.81.8.2 / (download) - annotate - [select for diffs], Wed Jan 30 13:46:25 2019 UTC (5 years, 1 month ago) by martin
Branch: netbsd-8
CVS Tags: netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1
Changes since 1.81.8.1: +3 -20 lines
Diff to previous 1.81.8.1 (colored) to branchpoint 1.81 (colored) to selected 1.24.2.1 (colored)

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) - annotate - [select for diffs], Sat Jan 26 22:00:39 2019 UTC (5 years, 2 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.82.4.2: +3 -20 lines
Diff to previous 1.82.4.2 (colored) to branchpoint 1.82 (colored) next main 1.83 (colored) to selected 1.24.2.1 (colored)

Sync with HEAD

Revision 1.86 / (download) - annotate - [select for diffs], Fri Jan 25 15:34:22 2019 UTC (5 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: phil-wifi-20190609, pgoyette-compat-20190127
Changes since 1.85: +2 -3 lines
Diff to previous 1.85 (colored) to selected 1.24.2.1 (colored)

no need for curses.h

Revision 1.85 / (download) - annotate - [select for diffs], Fri Jan 25 15:31:11 2019 UTC (5 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.84: +4 -20 lines
Diff to previous 1.84 (colored) to selected 1.24.2.1 (colored)

PR/53906: Paul Ripke: systat(1) vmstat & syscall get
"alternate system clock has died" on terminal resize (SIGWINCH)

Revision 1.82.4.2 / (download) - annotate - [select for diffs], Fri Jan 18 08:51:01 2019 UTC (5 years, 2 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.82.4.1: +3 -3 lines
Diff to previous 1.82.4.1 (colored) to branchpoint 1.82 (colored) to selected 1.24.2.1 (colored)

Synch with HEAD

Revision 1.84 / (download) - annotate - [select for diffs], Tue Jan 8 08:22:20 2019 UTC (5 years, 2 months ago) by tih
Branch: MAIN
CVS Tags: pgoyette-compat-20190118
Changes since 1.83: +3 -3 lines
Diff to previous 1.83 (colored) to selected 1.24.2.1 (colored)

Remove a format character from a non-format string.

Revision 1.82.4.1 / (download) - annotate - [select for diffs], Wed Dec 26 14:02:11 2018 UTC (5 years, 3 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.82: +102 -31 lines
Diff to previous 1.82 (colored) to selected 1.24.2.1 (colored)

Sync with HEAD, resolve a few conflicts

Revision 1.83 / (download) - annotate - [select for diffs], Wed Dec 26 01:47:37 2018 UTC (5 years, 3 months ago) by sevan
Branch: MAIN
CVS Tags: pgoyette-compat-1226
Changes since 1.82: +102 -31 lines
Diff to previous 1.82 (colored) to selected 1.24.2.1 (colored)

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) - annotate - [select for diffs], Tue Jul 25 01:43:37 2017 UTC (6 years, 8 months ago) by snj
Branch: netbsd-8
CVS Tags: netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, matt-nb8-mediatek-base, matt-nb8-mediatek
Changes since 1.81: +14 -7 lines
Diff to previous 1.81 (colored) to selected 1.24.2.1 (colored)

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) - annotate - [select for diffs], Sat Jul 15 08:22:24 2017 UTC (6 years, 8 months ago) by mlelstv
Branch: perseant-stdc-iso10646
Changes since 1.82.2.1: +859 -0 lines
Diff to previous 1.82.2.1 (colored) to branchpoint 1.82 (colored) next main 1.83 (colored) to selected 1.24.2.1 (colored)

3327190

Revision 1.82.2.1, Sat Jul 15 08:22:23 2017 UTC (6 years, 8 months ago) by mlelstv
Branch: perseant-stdc-iso10646
Changes since 1.82: +0 -859 lines
FILE REMOVED

file vmstat.c was added on branch perseant-stdc-iso10646 on 2017-07-15 08:22:24 +0000

Revision 1.82 / (download) - annotate - [select for diffs], Sat Jul 15 08:22:23 2017 UTC (6 years, 8 months ago) by mlelstv
Branch: 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
Changes since 1.81: +14 -7 lines
Diff to previous 1.81 (colored) to selected 1.24.2.1 (colored)

Use I/O timestamps to compute disk statistics for better precisison.

Revision 1.81 / (download) - annotate - [select for diffs], Wed Dec 24 20:01:22 2014 UTC (9 years, 3 months ago) by dennis
Branch: 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
Changes since 1.80: +3 -3 lines
Diff to previous 1.80 (colored) to selected 1.24.2.1 (colored)

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) - annotate - [select for diffs], Wed Aug 20 00:05:04 2014 UTC (9 years, 7 months ago) by tls
Branch: tls-maxphys
Changes since 1.77: +15 -17 lines
Diff to previous 1.77 (colored) next main 1.78 (colored) to selected 1.24.2.1 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.77.22.1 / (download) - annotate - [select for diffs], Sun Aug 10 06:58:59 2014 UTC (9 years, 7 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.77: +15 -17 lines
Diff to previous 1.77 (colored) next main 1.78 (colored) to selected 1.24.2.1 (colored)

Rebase.

Revision 1.80 / (download) - annotate - [select for diffs], Fri Jun 20 07:08:15 2014 UTC (9 years, 9 months ago) by njoly
Branch: 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
Changes since 1.79: +2 -6 lines
Diff to previous 1.79 (colored) to selected 1.24.2.1 (colored)

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) - annotate - [select for diffs], Sat Jun 14 20:10:42 2014 UTC (9 years, 9 months ago) by joerg
Branch: MAIN
Changes since 1.78: +8 -11 lines
Diff to previous 1.78 (colored) to selected 1.24.2.1 (colored)

GC X_NCHSTATS

Revision 1.78 / (download) - annotate - [select for diffs], Tue Jun 3 21:16:15 2014 UTC (9 years, 9 months ago) by joerg
Branch: MAIN
Changes since 1.77: +9 -4 lines
Diff to previous 1.77 (colored) to selected 1.24.2.1 (colored)

Provide sysctl for namecache statistics.

Revision 1.77 / (download) - annotate - [select for diffs], Fri Apr 30 16:21:05 2010 UTC (13 years, 11 months ago) by njoly
Branch: 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
Changes since 1.76: +4 -3 lines
Diff to previous 1.76 (colored) to selected 1.24.2.1 (colored)

Add per process cache values to the total name translations count.

Revision 1.76 / (download) - annotate - [select for diffs], Fri Apr 30 13:49:22 2010 UTC (13 years, 11 months ago) by njoly
Branch: MAIN
Changes since 1.75: +11 -10 lines
Diff to previous 1.75 (colored) to selected 1.24.2.1 (colored)

In vmstat display, add one more column to output memory values. Avoid
overflow with more than 100GB.

Revision 1.71.10.1 / (download) - annotate - [select for diffs], Wed Apr 21 05:27:12 2010 UTC (13 years, 11 months ago) by matt
Branch: matt-nb5-mips64
CVS Tags: matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-k15
Changes since 1.71: +3 -3 lines
Diff to previous 1.71 (colored) next main 1.72 (colored) to selected 1.24.2.1 (colored)

sync to netbsd-5

Revision 1.71.4.1 / (download) - annotate - [select for diffs], Tue Oct 27 21:37:52 2009 UTC (14 years, 5 months ago) by bouyer
Branch: 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
Changes since 1.71: +3 -3 lines
Diff to previous 1.71 (colored) next main 1.72 (colored) to selected 1.24.2.1 (colored)

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) - annotate - [select for diffs], Wed Oct 21 21:12:07 2009 UTC (14 years, 5 months ago) by rmind
Branch: MAIN
CVS Tags: matt-premerge-20091211
Changes since 1.74: +3 -6 lines
Diff to previous 1.74 (colored) to selected 1.24.2.1 (colored)

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) - annotate - [select for diffs], Wed Oct 21 13:56:36 2009 UTC (14 years, 5 months ago) by wiz
Branch: MAIN
Changes since 1.73: +3 -3 lines
Diff to previous 1.73 (colored) to selected 1.24.2.1 (colored)

Fix problems with SIGWINCH. From Paul Ripke in PR 42161.

Revision 1.71.6.1 / (download) - annotate - [select for diffs], Wed May 13 19:20:07 2009 UTC (14 years, 10 months ago) by jym
Branch: jym-xensuspend
Changes since 1.71: +8 -8 lines
Diff to previous 1.71 (colored) next main 1.72 (colored) to selected 1.24.2.1 (colored)

Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html

Revision 1.73 / (download) - annotate - [select for diffs], Mon Apr 13 23:20:27 2009 UTC (14 years, 11 months ago) by lukem
Branch: MAIN
CVS Tags: jym-xensuspend-nbase, jym-xensuspend-base
Changes since 1.72: +5 -5 lines
Diff to previous 1.72 (colored) to selected 1.24.2.1 (colored)

Fix -Wsign-compare issues

Revision 1.72 / (download) - annotate - [select for diffs], Mon Mar 9 19:48:02 2009 UTC (15 years ago) by njoly
Branch: MAIN
Changes since 1.71: +5 -5 lines
Diff to previous 1.71 (colored) to selected 1.24.2.1 (colored)

In vmstat display, increase software interrupt count output from 5 to
6 columns.

Revision 1.70.6.1 / (download) - annotate - [select for diffs], Thu Sep 18 04:29:22 2008 UTC (15 years, 6 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.70: +2 -7 lines
Diff to previous 1.70 (colored) next main 1.71 (colored) to selected 1.24.2.1 (colored)

Sync with wrstuden-revivesa-base-2.

Revision 1.71 / (download) - annotate - [select for diffs], Sun Jul 13 20:07:48 2008 UTC (15 years, 8 months ago) by dholland
Branch: 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
Changes since 1.70: +2 -7 lines
Diff to previous 1.70 (colored) to selected 1.24.2.1 (colored)

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) - annotate - [select for diffs], Sun Mar 23 00:49:03 2008 UTC (16 years ago) by matt
Branch: matt-armv6
Changes since 1.69: +3 -3 lines
Diff to previous 1.69 (colored) next main 1.70 (colored) to selected 1.24.2.1 (colored)

sync with HEAD

Revision 1.70 / (download) - annotate - [select for diffs], Mon Feb 11 03:51:17 2008 UTC (16 years, 1 month ago) by dyoung
Branch: 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
Changes since 1.69: +3 -3 lines
Diff to previous 1.69 (colored) to selected 1.24.2.1 (colored)

#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) - annotate - [select for diffs], Sun Oct 22 16:43:24 2006 UTC (17 years, 5 months ago) by christos
Branch: 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
Changes since 1.68: +9 -9 lines
Diff to previous 1.68 (colored) to selected 1.24.2.1 (colored)

use c99 initializers
consistently terminate nlist arrays with NULL not ""

Revision 1.67.2.1 / (download) - annotate - [select for diffs], Mon Jun 19 04:17:07 2006 UTC (17 years, 9 months ago) by chap
Branch: chap-midi
Changes since 1.67: +7 -7 lines
Diff to previous 1.67 (colored) next main 1.68 (colored) to selected 1.24.2.1 (colored)

Sync with head.

Revision 1.68 / (download) - annotate - [select for diffs], Sun May 21 20:22:34 2006 UTC (17 years, 10 months ago) by dsl
Branch: MAIN
CVS Tags: chap-midi-nbase, chap-midi-base, abandoned-netbsd-4-base, abandoned-netbsd-4
Changes since 1.67: +7 -7 lines
Diff to previous 1.67 (colored) to selected 1.24.2.1 (colored)

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) - annotate - [select for diffs], Sun May 14 02:56:27 2006 UTC (17 years, 10 months ago) by christos
Branch: MAIN
Branch point for: chap-midi
Changes since 1.66: +3 -2 lines
Diff to previous 1.66 (colored) to selected 1.24.2.1 (colored)

Gcc 4 needs to have the enum declaration in scope to determine the enum size.

Revision 1.66 / (download) - annotate - [select for diffs], Thu May 11 12:01:33 2006 UTC (17 years, 10 months ago) by yamt
Branch: MAIN
Changes since 1.65: +3 -3 lines
Diff to previous 1.65 (colored) to selected 1.24.2.1 (colored)

include errno.h directly rather than via user.h.

Revision 1.65 / (download) - annotate - [select for diffs], Fri Apr 14 13:14:06 2006 UTC (17 years, 11 months ago) by blymn
Branch: MAIN
Changes since 1.64: +14 -56 lines
Diff to previous 1.64 (colored) to selected 1.24.2.1 (colored)

Update to use new kernel io statistics.

Revision 1.64 / (download) - annotate - [select for diffs], Mon Mar 20 20:36:38 2006 UTC (18 years ago) by dsl
Branch: MAIN
Changes since 1.63: +11 -9 lines
Diff to previous 1.63 (colored) to selected 1.24.2.1 (colored)

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) - annotate - [select for diffs], Sat Mar 18 14:58:49 2006 UTC (18 years ago) by dsl
Branch: MAIN
Changes since 1.62: +215 -175 lines
Diff to previous 1.62 (colored) to selected 1.24.2.1 (colored)

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) - annotate - [select for diffs], Sun Feb 5 09:54:50 2006 UTC (18 years, 1 month ago) by dsl
Branch: MAIN
Changes since 1.61: +4 -2 lines
Diff to previous 1.61 (colored) to selected 1.24.2.1 (colored)

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) - annotate - [select for diffs], Sun Aug 7 12:32:38 2005 UTC (18 years, 7 months ago) by blymn
Branch: MAIN
Changes since 1.60: +51 -8 lines
Diff to previous 1.60 (colored) to selected 1.24.2.1 (colored)

Add tape statistics.

Revision 1.60 / (download) - annotate - [select for diffs], Sun May 22 14:00:59 2005 UTC (18 years, 10 months ago) by chs
Branch: MAIN
Changes since 1.59: +36 -29 lines
Diff to previous 1.59 (colored) to selected 1.24.2.1 (colored)

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) - annotate - [select for diffs], Sat Feb 26 22:12:34 2005 UTC (19 years, 1 month ago) by dsl
Branch: 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
Changes since 1.58: +22 -21 lines
Diff to previous 1.58 (colored) to selected 1.24.2.1 (colored)

WARNS=3

Revision 1.58 / (download) - annotate - [select for diffs], Tue Feb 22 15:13:57 2005 UTC (19 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.57: +10 -10 lines
Diff to previous 1.57 (colored) to selected 1.24.2.1 (colored)

PR/29505: Nicolas Joly: Increase width of csw value in systat vmstat.

Revision 1.57 / (download) - annotate - [select for diffs], Thu Feb 3 16:16:00 2005 UTC (19 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.56: +10 -10 lines
Diff to previous 1.56 (colored) to selected 1.24.2.1 (colored)

PR/29213: Nicolas Joly: sysstat(1) vmstat cannot display large memory values

Revision 1.56 / (download) - annotate - [select for diffs], Sun Jun 13 08:56:21 2004 UTC (19 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.55: +4 -5 lines
Diff to previous 1.55 (colored) to selected 1.24.2.1 (colored)

Fix a display glitch when blanking out drive columns.

Revision 1.55 / (download) - annotate - [select for diffs], Fri Sep 19 07:08:50 2003 UTC (20 years, 6 months ago) by itojun
Branch: 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
Changes since 1.54: +6 -4 lines
Diff to previous 1.54 (colored) to selected 1.24.2.1 (colored)

realloc pedant

Revision 1.54 / (download) - annotate - [select for diffs], Sat Aug 30 12:57:03 2003 UTC (20 years, 7 months ago) by dsl
Branch: MAIN
Changes since 1.53: +3 -3 lines
Diff to previous 1.53 (colored) to selected 1.24.2.1 (colored)

Use correct size when copying interrupt counters.
Fixes second part of bin/10095 (first part fixed in rev 1.25)

Revision 1.53 / (download) - annotate - [select for diffs], Thu Aug 7 11:16:01 2003 UTC (20 years, 7 months ago) by agc
Branch: MAIN
Changes since 1.52: +3 -7 lines
Diff to previous 1.52 (colored) to selected 1.24.2.1 (colored)

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) - annotate - [select for diffs], Tue Aug 5 20:01:25 2003 UTC (20 years, 7 months ago) by grant
Branch: MAIN
Changes since 1.51: +3 -3 lines
Diff to previous 1.51 (colored) to selected 1.24.2.1 (colored)

Discs->Disks

Revision 1.51 / (download) - annotate - [select for diffs], Wed Jun 11 17:26:31 2003 UTC (20 years, 9 months ago) by drochner
Branch: MAIN
Changes since 1.50: +2 -3 lines
Diff to previous 1.50 (colored) to selected 1.24.2.1 (colored)

no need to #include <sys/dkstat.h>

Revision 1.50 / (download) - annotate - [select for diffs], Thu May 15 01:00:07 2003 UTC (20 years, 10 months ago) by itojun
Branch: MAIN
Changes since 1.49: +3 -3 lines
Diff to previous 1.49 (colored) to selected 1.24.2.1 (colored)

use strlcpy

Revision 1.49 / (download) - annotate - [select for diffs], Tue Feb 18 14:55:05 2003 UTC (21 years, 1 month ago) by dsl
Branch: MAIN
Changes since 1.48: +88 -44 lines
Diff to previous 1.48 (colored) to selected 1.24.2.1 (colored)

Pivot the disk stats into extra lines if they run out of columns
(approved by christos)

Revision 1.48 / (download) - annotate - [select for diffs], Mon Feb 17 19:30:33 2003 UTC (21 years, 1 month ago) by dsl
Branch: MAIN
Changes since 1.47: +25 -23 lines
Diff to previous 1.47 (colored) to selected 1.24.2.1 (colored)

Fiddle with screen layout to generate room for longer labels on the
interrupt count fields.
(approved by christos)

Revision 1.47 / (download) - annotate - [select for diffs], Thu Feb 13 08:09:33 2003 UTC (21 years, 1 month ago) by dsl
Branch: MAIN
Changes since 1.46: +31 -13 lines
Diff to previous 1.46 (colored) to selected 1.24.2.1 (colored)

Avoid displaying "intr" for all interrupt counter titles
(approved by christos)

Revision 1.46 / (download) - annotate - [select for diffs], Mon Jan 20 18:24:03 2003 UTC (21 years, 2 months ago) by dsl
Branch: MAIN
Changes since 1.45: +4 -6 lines
Diff to previous 1.45 (colored) to selected 1.24.2.1 (colored)

Make kernel address arg of kvm_ckread() const void * so caller doesn't
need a cast.
(approved by christos)

Revision 1.45 / (download) - annotate - [select for diffs], Sat Jan 18 21:18:18 2003 UTC (21 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.44: +6 -4 lines
Diff to previous 1.44 (colored) to selected 1.24.2.1 (colored)

kill warns.

Revision 1.44 / (download) - annotate - [select for diffs], Sat Jan 18 21:02:35 2003 UTC (21 years, 2 months ago) by dsl
Branch: MAIN
Changes since 1.43: +162 -60 lines
Diff to previous 1.43 (colored) to selected 1.24.2.1 (colored)

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) - annotate - [select for diffs], Tue Nov 12 16:55:00 2002 UTC (21 years, 4 months ago) by skrll
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.37.2.1: +644 -0 lines
Diff to previous 1.37.2.1 (colored) next main 1.38 (colored) to selected 1.24.2.1 (colored)

Catch up to -current.

Revision 1.43 / (download) - annotate - [select for diffs], Fri Nov 1 12:47:58 2002 UTC (21 years, 5 months ago) by mrg
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base, fvdl_fs64_base
Changes since 1.42: +6 -4 lines
Diff to previous 1.42 (colored) to selected 1.24.2.1 (colored)

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) - annotate - [select for diffs], Wed Sep 25 13:50:40 2002 UTC (21 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.41: +4 -4 lines
Diff to previous 1.41 (colored) to selected 1.24.2.1 (colored)

PR/18408: Chris Demetriou: Kilo is abbreviated using a small k not a CAPITAL K.

Revision 1.41 / (download) - annotate - [select for diffs], Thu Aug 8 17:06:32 2002 UTC (21 years, 7 months ago) by abs
Branch: MAIN
Changes since 1.40: +29 -5 lines
Diff to previous 1.40 (colored) to selected 1.24.2.1 (colored)

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) - annotate - [select for diffs], Thu Aug 1 23:36:55 2002 UTC (21 years, 8 months ago) by christos
Branch: MAIN
Changes since 1.39: +13 -19 lines
Diff to previous 1.39 (colored) to selected 1.24.2.1 (colored)

scan utmpx/utmp.

Revision 1.38.2.1 / (download) - annotate - [select for diffs], Sun Jun 30 05:47:25 2002 UTC (21 years, 9 months ago) by lukem
Branch: 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
Changes since 1.38: +8 -15 lines
Diff to previous 1.38 (colored) next main 1.39 (colored) to selected 1.24.2.1 (colored)

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) - annotate - [select for diffs], Sun Jun 30 00:10:34 2002 UTC (21 years, 9 months ago) by sommerfeld
Branch: MAIN
Changes since 1.38: +8 -15 lines
Diff to previous 1.38 (colored) to selected 1.24.2.1 (colored)

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) - annotate - [select for diffs], Wed May 15 06:43:37 2002 UTC (21 years, 10 months ago) by kleink
Branch: MAIN
CVS Tags: netbsd-1-6-base
Branch point for: netbsd-1-6
Changes since 1.37: +7 -9 lines
Diff to previous 1.37 (colored) to selected 1.24.2.1 (colored)

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 (22 years, 2 months ago) by skrll
Branch: nathanw_sa
Changes since 1.37: +0 -633 lines
FILE REMOVED

file vmstat.c was added on branch nathanw_sa on 2002-11-12 16:55:00 +0000

Revision 1.37 / (download) - annotate - [select for diffs], Mon Jan 28 13:20:43 2002 UTC (22 years, 2 months ago) by augustss
Branch: MAIN
Branch point for: nathanw_sa
Changes since 1.36: +3 -3 lines
Diff to previous 1.36 (colored) to selected 1.24.2.1 (colored)

Make it compile (more vmstat fallout).

Revision 1.36 / (download) - annotate - [select for diffs], Fri Sep 28 11:58:51 2001 UTC (22 years, 6 months ago) by augustss
Branch: MAIN
Changes since 1.35: +10 -10 lines
Diff to previous 1.35 (colored) to selected 1.24.2.1 (colored)

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) - annotate - [select for diffs], Fri Dec 1 02:19:44 2000 UTC (23 years, 4 months ago) by simonb
Branch: MAIN
Changes since 1.34: +3 -18 lines
Diff to previous 1.34 (colored) to selected 1.24.2.1 (colored)

Remove extern variables and functions now declared in dkstats.h.
While here, remove 77 (!) unneed #includes.

Revision 1.34 / (download) - annotate - [select for diffs], Wed Nov 29 11:18:33 2000 UTC (23 years, 4 months ago) by simonb
Branch: MAIN
Changes since 1.33: +4 -4 lines
Diff to previous 1.33 (colored) to selected 1.24.2.1 (colored)

Use the vm.uvmexp2 sysctl.

Revision 1.31.2.1 / (download) - annotate - [select for diffs], Fri Sep 1 16:38:18 2000 UTC (23 years, 7 months ago) by ad
Branch: 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
Changes since 1.31: +27 -40 lines
Diff to previous 1.31 (colored) next main 1.32 (colored) to selected 1.24.2.1 (colored)

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) - annotate - [select for diffs], Wed Jul 5 11:03:23 2000 UTC (23 years, 8 months ago) by ad
Branch: MAIN
Changes since 1.32: +27 -40 lines
Diff to previous 1.32 (colored) to selected 1.24.2.1 (colored)

- 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) - annotate - [select for diffs], Thu Jun 29 06:29:16 2000 UTC (23 years, 9 months ago) by mrg
Branch: MAIN
Changes since 1.31: +2 -4 lines
Diff to previous 1.31 (colored) to selected 1.24.2.1 (colored)

remove include of <vm/vm.h>

Revision 1.24.2.1 / (download) - annotate - [selected], Fri Jun 23 16:40:02 2000 UTC (23 years, 9 months ago) by minoura
Branch: minoura-xpg4dl
Changes since 1.24: +25 -33 lines
Diff to previous 1.24 (colored) next main 1.25 (colored)

Sync w/ netbsd-1-5-base.

Revision 1.31 / (download) - annotate - [select for diffs], Mon Jun 5 21:36:34 2000 UTC (23 years, 9 months ago) by mycroft
Branch: MAIN
CVS Tags: netbsd-1-5-base, netbsd-1-5-ALPHA2
Branch point for: netbsd-1-5
Changes since 1.30: +4 -4 lines
Diff to previous 1.30 (colored) to selected 1.24.2.1 (colored)

Display disk busy statistics as `%busy', as it's less confusing.

Revision 1.30 / (download) - annotate - [select for diffs], Sun Jun 4 18:29:14 2000 UTC (23 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.29: +6 -10 lines
Diff to previous 1.29 (colored) to selected 1.24.2.1 (colored)

Use hline() and variants in a bunch of places.

Revision 1.29 / (download) - annotate - [select for diffs], Sun Jun 4 18:14:45 2000 UTC (23 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.28: +3 -3 lines
Diff to previous 1.28 (colored) to selected 1.24.2.1 (colored)

Fix a check so that holding down the space bar doesn't cause systat to lose.

Revision 1.28 / (download) - annotate - [select for diffs], Sun Jun 4 18:10:40 2000 UTC (23 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.27: +6 -9 lines
Diff to previous 1.27 (colored) to selected 1.24.2.1 (colored)

Fix the CPU usage bar graph.

Revision 1.27 / (download) - annotate - [select for diffs], Sun Jun 4 16:06:26 2000 UTC (23 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.26: +9 -11 lines
Diff to previous 1.26 (colored) to selected 1.24.2.1 (colored)

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) - annotate - [select for diffs], Sun Jun 4 01:53:51 2000 UTC (23 years, 10 months ago) by perry
Branch: MAIN
Changes since 1.25: +3 -2 lines
Diff to previous 1.25 (colored) to selected 1.24.2.1 (colored)

include sys/sched.h to get definition of CPUSTATES

Revision 1.25 / (download) - annotate - [select for diffs], Mon May 29 12:54:31 2000 UTC (23 years, 10 months ago) by simonb
Branch: MAIN
Changes since 1.24: +6 -6 lines
Diff to previous 1.24 (colored) to selected 1.24.2.1 (colored)

Another cp_time size fix - also, there are 5 CPUSTATES now not four...

Revision 1.19.2.1 / (download) - annotate - [select for diffs], Sun Jan 23 12:02:34 2000 UTC (24 years, 2 months ago) by he
Branch: netbsd-1-4
CVS Tags: netbsd-1-4-PATCH003, netbsd-1-4-PATCH002
Changes since 1.19: +2 -3 lines
Diff to previous 1.19 (colored) next main 1.20 (colored) to selected 1.24.2.1 (colored)

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) - annotate - [select for diffs], Fri Jan 21 17:08:36 2000 UTC (24 years, 2 months ago) by mycroft
Branch: MAIN
CVS Tags: minoura-xpg4dl-base
Branch point for: minoura-xpg4dl
Changes since 1.23: +2 -3 lines
Diff to previous 1.23 (colored) to selected 1.24.2.1 (colored)

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) - annotate - [select for diffs], Mon Dec 27 18:37:12 1999 UTC (24 years, 3 months ago) by wrstuden
Branch: wrstuden-devbsize
Changes since 1.19: +45 -33 lines
Diff to previous 1.19 (colored) next main 1.20 (colored) to selected 1.24.2.1 (colored)

Pull up to last week's -current.

Revision 1.23 / (download) - annotate - [select for diffs], Mon Dec 20 23:11:51 1999 UTC (24 years, 3 months ago) by jwise
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221
Changes since 1.22: +7 -6 lines
Diff to previous 1.22 (colored) to selected 1.24.2.1 (colored)

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) - annotate - [select for diffs], Mon Dec 20 03:45:03 1999 UTC (24 years, 3 months ago) by jwise
Branch: MAIN
Changes since 1.21: +29 -25 lines
Diff to previous 1.21 (colored) to selected 1.24.2.1 (colored)

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) - annotate - [select for diffs], Sun Oct 10 01:07:03 1999 UTC (24 years, 5 months ago) by mrg
Branch: MAIN
CVS Tags: comdex-fall-1999-base, comdex-fall-1999
Changes since 1.20: +10 -3 lines
Diff to previous 1.20 (colored) to selected 1.24.2.1 (colored)

let "systat vmstat" say "1 user" not "1 users"

Revision 1.20 / (download) - annotate - [select for diffs], Thu Sep 30 13:16:27 1999 UTC (24 years, 6 months ago) by soren
Branch: MAIN
Changes since 1.19: +5 -5 lines
Diff to previous 1.19 (colored) to selected 1.24.2.1 (colored)

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) - annotate - [select for diffs], Wed Mar 24 05:51:32 1999 UTC (25 years ago) by mrg
Branch: MAIN
CVS Tags: netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH001
Branch point for: wrstuden-devbsize, netbsd-1-4
Changes since 1.18: +3 -112 lines
Diff to previous 1.18 (colored) to selected 1.24.2.1 (colored)

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) - annotate - [select for diffs], Sat Dec 26 06:38:42 1998 UTC (25 years, 3 months ago) by marc
Branch: MAIN
Changes since 1.17: +3 -3 lines
Diff to previous 1.17 (colored) to selected 1.24.2.1 (colored)

display the seconds in the timestamp in the corner, too.

Revision 1.17 / (download) - annotate - [select for diffs], Sat Dec 19 14:34:40 1998 UTC (25 years, 3 months ago) by drochner
Branch: MAIN
Changes since 1.16: +4 -4 lines
Diff to previous 1.16 (colored) to selected 1.24.2.1 (colored)

avoid integer overflow in free memory report

Revision 1.16 / (download) - annotate - [select for diffs], Sun Dec 6 16:53:44 1998 UTC (25 years, 3 months ago) by mycroft
Branch: MAIN
Changes since 1.15: +5 -3 lines
Diff to previous 1.15 (colored) to selected 1.24.2.1 (colored)

Add missing braces, so PUTRATE() works correctly as an if clause.

Revision 1.15 / (download) - annotate - [select for diffs], Sun Jul 19 17:47:08 1998 UTC (25 years, 8 months ago) by drochner
Branch: MAIN
Changes since 1.14: +4 -3 lines
Diff to previous 1.14 (colored) to selected 1.24.2.1 (colored)

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) - annotate - [select for diffs], Sun Jul 12 05:59:01 1998 UTC (25 years, 8 months ago) by mrg
Branch: MAIN
Changes since 1.13: +4 -5 lines
Diff to previous 1.13 (colored) to selected 1.24.2.1 (colored)

- KNF
- use snprintf
- don't overwrite the keyboard buffer (and make this sized on
  the window size).

Revision 1.13 / (download) - annotate - [select for diffs], Mon Feb 9 15:29:52 1998 UTC (26 years, 1 month ago) by mrg
Branch: MAIN
Changes since 1.12: +31 -17 lines
Diff to previous 1.12 (colored) to selected 1.24.2.1 (colored)

clean up memory totals in UVM case.

Revision 1.12 / (download) - annotate - [select for diffs], Mon Feb 9 14:14:43 1998 UTC (26 years, 1 month ago) by mrg
Branch: MAIN
Changes since 1.11: +62 -43 lines
Diff to previous 1.11 (colored) to selected 1.24.2.1 (colored)

make "systat vmstat" much much much more UVM friendly.

Revision 1.11 / (download) - annotate - [select for diffs], Sat Feb 7 14:08:23 1998 UTC (26 years, 1 month ago) by mrg
Branch: MAIN
Changes since 1.10: +90 -15 lines
Diff to previous 1.10 (colored) to selected 1.24.2.1 (colored)

build and run with -DUVM.  this isn't yet finished but it does run and partially work.

Revision 1.10 / (download) - annotate - [select for diffs], Sun Oct 19 23:36:34 1997 UTC (26 years, 5 months ago) by lukem
Branch: 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
Changes since 1.9: +8 -8 lines
Diff to previous 1.9 (colored) to selected 1.24.2.1 (colored)

fix .Nm usage, deprecate register, getopt returns -1 not EOF, s/[br]*/[ms]*/

Revision 1.9 / (download) - annotate - [select for diffs], Mon Aug 25 19:32:01 1997 UTC (26 years, 7 months ago) by kleink
Branch: MAIN
Changes since 1.8: +3 -3 lines
Diff to previous 1.8 (colored) to selected 1.24.2.1 (colored)

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) - annotate - [select for diffs], Mon Jul 21 07:05:10 1997 UTC (26 years, 8 months ago) by mrg
Branch: MAIN
Changes since 1.7: +3 -2 lines
Diff to previous 1.7 (colored) to selected 1.24.2.1 (colored)

- some KNF.
- use __RCSID().
- WARNS=1

Revision 1.7 / (download) - annotate - [select for diffs], Fri Dec 13 19:26:23 1996 UTC (27 years, 3 months ago) by scottr
Branch: MAIN
Changes since 1.6: +6 -6 lines
Diff to previous 1.6 (colored) to selected 1.24.2.1 (colored)

Freshen up a bit:

 - Replace deprecated sigblock() with sigprocmask()
 - Redraw the current display if SIGWINCH is caught
 - Style police

Revision 1.6 / (download) - annotate - [select for diffs], Sun Aug 11 04:16:28 1996 UTC (27 years, 7 months ago) by explorer
Branch: MAIN
Changes since 1.5: +7 -17 lines
Diff to previous 1.5 (colored) to selected 1.24.2.1 (colored)

remove nlist lookup of _dk_*

Revision 1.5 / (download) - annotate - [select for diffs], Fri May 10 23:16:40 1996 UTC (27 years, 10 months ago) by thorpej
Branch: MAIN
CVS Tags: netbsd-1-2-base, netbsd-1-2-RELEASE, netbsd-1-2-PATCH001, netbsd-1-2-BETA, netbsd-1-2
Changes since 1.4: +26 -51 lines
Diff to previous 1.4 (colored) to selected 1.24.2.1 (colored)

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) - annotate - [select for diffs], Sat Apr 29 05:54:55 1995 UTC (28 years, 11 months ago) by cgd
Branch: MAIN
CVS Tags: netbsd-1-1-base, netbsd-1-1-RELEASE, netbsd-1-1-PATCH001, netbsd-1-1
Changes since 1.3: +4 -3 lines
Diff to previous 1.3 (colored) to selected 1.24.2.1 (colored)

various includes, casts, and cleanups...

Revision 1.3 / (download) - annotate - [select for diffs], Wed Mar 22 15:25:58 1995 UTC (29 years ago) by mycroft
Branch: MAIN
Changes since 1.2: +10 -10 lines
Diff to previous 1.2 (colored) to selected 1.24.2.1 (colored)

Use err*(3)/warn*(3).

Revision 1.2 / (download) - annotate - [select for diffs], Fri Jan 20 08:52:16 1995 UTC (29 years, 2 months ago) by jtc
Branch: MAIN
Changes since 1.1: +5 -0 lines
Diff to previous 1.1 (colored) to selected 1.24.2.1 (colored)

Changed to conform to NetBSD's new RCS Id convention.

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Fri Jan 20 08:30:52 1995 UTC (29 years, 2 months ago) by jtc
Branch: CSRG
CVS Tags: lite-2, lite-1
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored) to selected 1.24.2.1 (colored)

imported from 44lite

Revision 1.1 / (download) - annotate - [select for diffs], Fri Jan 20 08:30:51 1995 UTC (29 years, 2 months ago) by jtc
Branch: MAIN
Diff to selected 1.24.2.1 (colored)

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>