Commit Graph

35 Commits

Author SHA1 Message Date
mjl
b46ec3b29b getopt(3) returns -1 not EOF. 2000-10-04 20:09:04 +00:00
itojun
194446c648 plug possible printf string format issue. seen on openbsd mailing list 2000-10-04 17:58:44 +00:00
enami
2eee9d6e1d Use u_int64_t to avoid an integer overflow when converting total number
of swap blocks into kilo bytes.
2000-06-09 07:09:28 +00:00
simonb
7f7c61365d Now that the CPUSTATES info is in <sys/sched.h>, we don't need to include
<sys/dkstat.h> anymore.
2000-06-05 05:24:07 +00:00
perry
a3d66afde6 include sys/sched.h to get definition of CPUSTATES 2000-06-04 02:11:11 +00:00
simonb
a25a6ad644 Move the compare_*() function declarations to m_netbsd15.c and make them
static - they aren't used anywhere else and now there should be no changes
with the top distributed version of m_netbsd15.c.
2000-05-29 11:52:36 +00:00
simonb
ebdd9810cb cp_time[] is now an array of u_int64_t's. Add a percentages64() function
that deals with u_int64_t's instead of long's.
2000-05-29 11:38:33 +00:00
simonb
d4032a270c Sync a comment with the version of this file sent to the top-spinners
list.
2000-05-26 04:22:01 +00:00
simonb
a9d3ad7bbb New module for top based on the old m_netbsd13.c module.
Uses new sysctl/kvm interfaces and removes setgid bit.
2000-05-26 04:01:13 +00:00
thorpej
1f7468bded Handle SONPROC state, and fix buglets in state sorting weight. 2000-05-26 00:44:58 +00:00
blymn
7b14c86600 Convert telnet and top to the new termcap interface. This stops some
buffer overflows in top from ever happening.
2000-05-25 12:25:14 +00:00
mrg
09b8a5a646 for NetBSD 1.4 and above, use <sys/swap.h> 2000-04-13 08:34:40 +00:00
mycroft
f5d7100e26 Nuke `extern int errno;' in code we compile with -Wstrict-prototypes. We get
the correct definition from errno.h.
2000-01-21 17:08:33 +00:00
lukem
3a2e129c54 add trailing "," to memory names (makes it easier to read) 1999-11-05 07:25:14 +00:00
lukem
88d3d7c59e update after change to return value of tputs() third argument 1999-10-04 23:26:59 +00:00
christos
edac4bd44f fix SDEAD problems. 1999-07-23 18:40:27 +00:00
veego
bb1198e9ee According to the previous commit the new process state should be SDEAD and
not SDYING, so s/SDYING/SDEAD/.
And add the new element "dying" to the state_abbrev array.
XXX Is is correct to have two elements with the number 3 in sorted_state?
1999-07-23 09:01:09 +00:00
thorpej
3586621927 Update for SDEAD. 1999-07-22 18:16:05 +00:00
tron
9fecbd5273 Avoid duplicate free() while reading system information.
Fixes PR bin/7873 by Mason Loring Bliss.
1999-06-28 22:13:04 +00:00
ross
6db2f53d21 If we absolutely must have this program in the tree, it needs to have
rcs id keywords.
1999-04-12 06:02:25 +00:00
ross
6844116ae2 LP64 fix. Kills bug that caused random output "sorting" on alpha. 1999-04-12 01:53:06 +00:00
christos
19a67e791b prototype files. 1999-03-24 11:57:48 +00:00
christos
a141f7b23c WARNSify 1999-03-24 11:57:08 +00:00
mrg
d2397ac5f7 completely remove Mach VM support. all that is left is the all the
header files as UVM still uses (most of) these.
1999-03-24 05:50:49 +00:00
jwise
063b11670a Add cross-references from eaach of these too the other. Note that top.1
is still in old man format.  Do we want to translate this to mandoc?  I
assume no, as this would make imports hard, so I didn't, but I'm not sure
what the best way to do this would be.
1999-02-19 18:44:58 +00:00
simonb
c14394d4ec Add patches (via Christos) based on pkgsrc contents. (These have been
forwarded to the top maintener.)
1999-02-15 03:55:00 +00:00
simonb
c8542f1663 Generated files from ./Configure 1999-02-15 02:37:46 +00:00
simonb
6d97973ad2 BSD-style Makefile. 1999-02-15 02:36:10 +00:00
simonb
226f1ea4c8 The defaults we use for configuring top 1999-02-15 02:30:18 +00:00
simonb
adf9507ad4 Also not needed during configure or build. 1999-02-15 02:26:38 +00:00
simonb
1bff6dcf87 Work with objdirs. 1999-02-15 02:20:55 +00:00
simonb
5409f84053 Don't overwrite the NetBSD Makefile during a ./Configure 1999-02-15 01:40:57 +00:00
simonb
a9e4dff97f Remove files not used during configure or build 1999-02-15 01:27:43 +00:00
simonb
58d46c2e6a Remove NetBSD-1.3.2 module and add new NetBSD-1.3 module - this module
is based on the one in pkgsrc and will be included in the next version
of top - either 3.5beta10 or 3.5.
1999-02-15 00:30:26 +00:00
simonb
5f3bd0f103 Import top 3.5beta9 1999-02-14 23:54:06 +00:00