jwise
7e6a90d4b9
Show pid as well as user name and command in pigs view. Makes hopping to
...
another window and killing the errant process (or even just distinguishing
it from like processes) rather easier.
1999-02-19 04:59:00 +00:00
mrg
6efa5f3017
swap areas are not compiled into the kernel, from erik bertelsen, PR#6892
1999-01-28 03:28:53 +00:00
marc
e803638497
since the return from swapctl can change from call to call, print the
...
"Disk" column each time. Also, use sep->se_path, not
devname(sep->se_dev).
1998-12-26 07:05:08 +00:00
marc
a97b85feaf
display the seconds in the timestamp in the corner, too.
1998-12-26 06:38:42 +00:00
christos
24a4a811e5
char -> unsigned char
1998-12-19 22:26:13 +00:00
drochner
09eb0ffc9c
avoid integer overflow in free memory report
1998-12-19 14:34:40 +00:00
mycroft
33360720ab
Add missing braces, so PUTRATE() works correctly as an if clause.
1998-12-06 16:53:44 +00:00
ross
f670fa10c5
Add { and } to shut up egcs. Reformat the more questionable code.
1998-08-25 20:59:36 +00:00
mycroft
28beaae04f
const propagation.
1998-07-28 21:25:35 +00:00
drochner
b2058e2f38
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.
1998-07-19 17:47:07 +00:00
mrg
47abaab886
- KNF
...
- use snprintf
- don't overwrite the keyboard buffer (and make this sized on
the window size).
1998-07-12 05:59:00 +00:00
mrg
2beab49a06
- use an array MAXHOSTNAMELEN+1 size to hold hostnames
...
- ensure hostname from gethostname() is nul-terminated in all cases
- minor KNF
- use MAXHOSTNAMELEN over various other values/defines
- be safe will buffers that hold hostnames
1998-07-06 06:45:41 +00:00
mycroft
1458227184
Fix pasto.
1998-05-17 18:18:18 +00:00
mycroft
746eb495af
Don't display %cpu for zombies. It never decays, and makes the results look
...
odd.
1998-05-17 17:18:28 +00:00
kleink
7fd3999c5e
No need to include <sys/socketvar.h>.
1998-04-02 11:18:25 +00:00
jtc
9a0063c6d6
Simply include -lcurses instead of -lcurses -ltermcap
1998-02-18 22:47:41 +00:00
perry
ba7b5f16ff
add -DPMAP_NEW if PMAP_NEW is on in mk.conf
1998-02-18 03:54:58 +00:00
mrg
45eb2a7d5d
clean up memory totals in UVM case.
1998-02-09 15:29:52 +00:00
mrg
7bd27d00fd
make "systat vmstat" much much much more UVM friendly.
1998-02-09 14:14:43 +00:00
mrg
279ce528ce
add -DUVM to CPPFLAGS if defined(UVM)
1998-02-09 06:25:15 +00:00
mrg
e42b5e70e3
build and run with -DUVM. this isn't yet finished but it does run and partially work.
1998-02-07 14:08:23 +00:00
lukem
8ba07ab0b3
use CPPFLAGS instead of CFLAGS
1997-10-24 09:00:17 +00:00
lukem
9ccb9cd874
fix .Nm usage, deprecate register, getopt returns -1 not EOF, s/[br]*/[ms]*/
1997-10-19 23:36:20 +00:00
kleink
66105c37fc
Lseek(2) usage cleanup: the use of L_SET/L_INCR/L_XTND is deprecated,
...
use SEEK_SET/SEEK_CUR/SEEK_END instead.
1997-08-25 19:31:43 +00:00
mrg
d2be95ea7e
update "systat vmstat" documentation to reality.
1997-07-25 01:59:42 +00:00
mrg
9fb5074a33
get at least *part* of "systat vmstat" right...
1997-07-25 01:15:09 +00:00
mrg
5941399374
- some KNF.
...
- use __RCSID().
- WARNS=1
1997-07-21 07:04:56 +00:00
mrg
cd53f1ab76
WARNS?=1
1997-07-21 07:03:52 +00:00
mrg
1e987690a8
- some KNF.
...
- use __RCSID().
- WARNS=1
- use swapctl(2), rather than grovelling KVM.
1997-07-21 07:03:15 +00:00
jtc
8fd3f56f2c
Use the new getmaxx and getmaxy macros instead of directly accessing
...
the private fields of WINDOW.
1997-05-24 00:48:24 +00:00
gwr
10e180cc49
Back out the .PATH.c changes. The .depend problem (and others)
...
will be fixed using the new .NOPATH make feature instead.
1997-05-08 21:11:01 +00:00
gwr
012e528f2e
Use .PATH.c: ...
1997-05-06 20:44:56 +00:00
mikel
53704bc733
erase old Xs when printing new ones for swap usage; from Paul Boven in
...
PR bin/3431 with some changes by me.
1997-04-03 06:07:40 +00:00
explorer
a030e0a1ae
Message buffer passed to kvm_openfiles() should _POSIX2_LINE_MAX long; PR#3266
1997-03-03 22:12:19 +00:00
christos
8a0d2c8cb0
Fix PR1882+PR3171, swap display core-dumps from Paul Boven.
1997-02-02 19:20:55 +00:00
matthias
a6c08e93f9
* revert broken handling of subcommands to the (working) 4.4Lite version.
1996-12-21 09:16:35 +00:00
scottr
823c2433dc
Freshen up a bit:
...
- Replace deprecated sigblock() with sigprocmask()
- Redraw the current display if SIGWINCH is caught
- Style police
1996-12-13 19:26:18 +00:00
scottr
25e56cb761
Be explicit about iostat transfer rate by displaying `KBps' instead of
...
`Kps'. As per (and noticed by) J.T.
1996-10-25 18:30:52 +00:00
explorer
661c82521c
clear the screen at the correct time to avoid leaving garbage on the screen.
...
This happens when switching from address to :numbers display.
From FreeBSD pr bin/1425.
1996-08-11 04:19:16 +00:00
explorer
1350e82a8f
remove nlist lookup of _dk_*
1996-08-11 04:16:28 +00:00
thorpej
1eaf5ee379
New userland code to read the statistics kept by the NetBSD generic
...
disk framework, from John M. Vinopal <banshee@gabriella.resort.com>
1996-05-10 23:16:30 +00:00
jtc
cac62b2d65
Be pedantic, main() returns int in C.
1996-03-21 17:56:15 +00:00
ragge
d05395713d
Removed a couple of #ifdef vax causing systat to malfunction.
1996-03-15 22:19:23 +00:00
jonathan
c82a4ed224
Update Makefiles for usr.bin/systat and usr.sbin/iostat to be
...
consistent with usr.bin/vmstat/Makefile wrt CLFAGS and -I, since
all three compile vmstat/names.c. (Now compiles on a pmax.)
1995-12-22 08:04:24 +00:00
jtc
1bd0165884
iostat is in section 8; PR #1533
1995-09-27 19:46:12 +00:00
jtc
8ba230d554
vmstat is in section 8; PR #1532
1995-09-27 19:20:24 +00:00
jtc
f1df59ade6
Sync with 4.4lite2
1995-08-31 22:11:37 +00:00
cgd
b0246fc4cc
update for new queue structures
1995-06-18 23:53:07 +00:00
mycroft
c05dec805f
Use inet_aton(), not inet_addr().
1995-05-21 17:14:38 +00:00
mycroft
6480692679
Print out interrupt CPU time.
1995-05-17 15:51:47 +00:00
jtc
86f36c2670
Print error message and exit if TERM is not set.
...
From PR #1015 .
1995-05-06 06:25:07 +00:00
cgd
5cac5e9c7c
various includes, casts, and cleanups...
1995-04-29 05:54:42 +00:00
jtc
d7bb47b09d
vmunix -> netbsd
1995-04-27 18:22:55 +00:00
mycroft
67e80f483c
Alphabetize.
1995-03-22 15:26:42 +00:00
mycroft
05fc3892b3
Use err*(3)/warn*(3).
1995-03-22 15:25:56 +00:00
mycroft
73ab328b89
Don't core dump on an illegal display type. Display a more specific error
...
message for an ambiguous type.
1995-03-22 15:20:31 +00:00
jtc
2f3cb7ae7d
Changed to conform to NetBSD's new RCS Id convention.
1995-01-20 08:51:48 +00:00
jtc
12749a2a84
imported from 44lite
1995-01-20 08:30:50 +00:00