freebsd-nq/usr.bin
Stefan Eßer d1b76f3f6e Fix display of idle processes, which had been broken since rev. 1.56 of
machine.c. The traditional condition was (pctcpu > 0 || SRUN), but the
negation of the condition logic (from select to skip) made this come
out as (pctcpu > 0 && SRUN), leading to a very erratic display, except
for purely CPU bound processes.

This has been discussed in the mail lists some time ago and I have used
top with this patch on my systems for more than a year without problems
(just forgot to commit it earlier, since my systems were all fixed ...).
2006-06-11 19:18:39 +00:00
..
alias Use the "builtin" shell function to make sure that the requested 2005-10-24 22:32:19 +00:00
apply Sort sections. 2005-01-18 13:43:56 +00:00
asa Sync program's usage() with manpage's SYNOPSIS. 2005-05-21 09:55:10 +00:00
at While revision 1.26 fixed the code to really subtract 3600 due to 2005-08-18 08:18:02 +00:00
atm Fix build in the !NOATM case by using the begemot library in place of 2004-09-24 22:10:34 +00:00
awk Add temporary patches to make one-true-awk respect locale's collating order 2005-05-17 14:54:33 +00:00
banner Document message length limit. 2005-01-25 22:24:04 +00:00
basename Cross-reference basename(3) and dirname(3). 2006-03-16 17:21:52 +00:00
biff Added the EXIT STATUS section where appropriate. 2005-01-17 07:44:44 +00:00
bluetooth Teach rfcomm_sppd(8) to recognize "lan" (for LAN Access Using PPP) service 2005-12-07 19:41:58 +00:00
brandelf Sync program's usage() with manpage's SYNOPSIS. 2005-05-21 09:55:10 +00:00
bsdiff Fix up markup. 2005-11-18 12:08:31 +00:00
bzip2 Don't use a patch w/in /usr/src. Programmatically change files when needed. 2005-05-31 22:16:49 +00:00
bzip2recover Start the dreaded NOFOO -> NO_FOO conversion. 2004-12-21 08:47:35 +00:00
c89 Sync program's usage() with manpage's SYNOPSIS. 2005-05-21 09:55:10 +00:00
c99 Sync program's usage() with manpage's SYNOPSIS. 2005-05-21 09:55:10 +00:00
calendar Correct previous commit. We don't want to suppress an entry because 2006-05-31 01:30:50 +00:00
cap_mkdb Add endianness support to cap_mkdb(1), useful for cross builds. 2005-02-22 23:29:54 +00:00
catman Prepare for MACHINE and hw.machine switching to "pc98" on FreeBSD/pc98. 2005-12-05 14:22:12 +00:00
chat
checknr Document input line length limit. 2005-01-25 22:32:48 +00:00
chkey Reimplementation of world/kernel build options. For details, see: 2006-03-17 18:54:44 +00:00
chpass Reimplementation of world/kernel build options. For details, see: 2006-03-17 18:54:44 +00:00
cksum Added the EXIT STATUS section where appropriate. 2005-01-17 07:44:44 +00:00
cmp -mdoc sweep. 2005-11-18 10:36:29 +00:00
col Avoid shadowing a local scratch variable, 2005-11-13 20:30:13 +00:00
colcrt Expand *n't contractions. 2005-02-13 22:25:33 +00:00
colldef Sync program's usage() with manpage's SYNOPSIS. 2005-05-21 09:55:10 +00:00
colrm Added the EXIT STATUS section where appropriate. 2005-01-17 07:44:44 +00:00
column The change to make column use roundup(x, TAB) rounded things to the 2006-02-13 22:09:26 +00:00
comm Document input line length limit. 2005-01-25 22:32:48 +00:00
compile_et Style: move .PATH to where it belongs. 2005-10-14 15:50:22 +00:00
compress -mdoc sweep. 2005-11-18 10:36:29 +00:00
csplit Document input line length limit. 2005-01-25 22:32:48 +00:00
csup Update make glue for csup-snap-20060313. 2006-03-14 03:53:50 +00:00
ctags Added the EXIT STATUS section where appropriate. 2005-01-17 07:44:44 +00:00
cut Sort sections. 2005-01-18 13:43:56 +00:00
dig Disable thread support in BIND. It appears to reduce performance rather 2005-07-25 14:44:11 +00:00
dirname Sync program's usage() with manpage's SYNOPSIS. 2005-05-21 09:55:10 +00:00
du o Implement "-n" flag: ignore files and directories with user "nodump" 2006-05-06 22:04:59 +00:00
ee Correct insecure temporary file usage in texindex. [06:01] 2006-01-11 08:02:16 +00:00
elf2aout Because optarg and optind are defined in unistd.h, 2006-04-21 09:39:51 +00:00
elfdump s/DT_IA64_PLT_RESERVE/DT_IA_64_PLT_RESERVE/ 2006-01-28 17:58:22 +00:00
enigma - Remove MLINKS to nonexistant manpages 2005-07-14 20:29:08 +00:00
env Fix minor memory leak when expanding ${variable}s 2005-07-18 22:18:16 +00:00
expand Added the EXIT STATUS section where appropriate. 2005-01-17 07:44:44 +00:00
false
fetch Fix a typo. 2006-04-22 03:04:24 +00:00
file remove comment about systems, I got confused which arch one of my systems 2006-05-29 10:57:13 +00:00
file2c Fix all the spelling mistakes I could find in the man pages for words 2005-07-31 03:30:48 +00:00
find Add the capability for a trailing scale indicator to cause the 2006-05-27 18:27:41 +00:00
finger Reduce number of spaces for full name by four, and reduce padding 2006-03-04 16:13:16 +00:00
fmt Remove unnecessary SRCS= where could be guessed directly by our 2005-01-27 14:52:47 +00:00
fold Add cross-reference to fmt(1) and a fairly standard ENVIRONMENT section. 2004-08-02 11:15:01 +00:00
from Sync program's usage() with manpage's SYNOPSIS. 2005-05-21 09:55:10 +00:00
fstat Add marker vnodes to ensure that all vnodes associated with the mount point are 2006-01-09 20:42:19 +00:00
fsync Correct some style nits that I have mistakenly submitted as 2005-01-26 15:17:25 +00:00
ftp
gcore Make gcore(1) 64 bit safe. It was trying to parse the /proc/*/map file 2006-03-25 01:14:20 +00:00
gencat Our bsd.*.mk only supports 6 WARNS levels and we should not use higher values 2005-06-30 11:56:31 +00:00
getconf Support correct programming environment name for amd64. 2005-02-18 21:53:05 +00:00
getent The port number must be network byte order. 2006-05-04 11:28:16 +00:00
getopt Expand *n't contractions. 2005-02-13 22:25:33 +00:00
gprof clone i386.h for powerpc 2005-12-29 04:23:54 +00:00
head Added the EXIT STATUS section where appropriate. 2005-01-17 07:44:44 +00:00
hesinfo Fixed the misplaced $FreeBSD$. 2005-02-09 18:07:17 +00:00
hexdump Added the EXIT STATUS section where appropriate. 2005-01-17 07:44:44 +00:00
host Disable thread support in BIND. It appears to reduce performance rather 2005-07-25 14:44:11 +00:00
id Print the euid after the gid as demanded by POSIX. 2006-05-28 12:32:30 +00:00
indent Use the appropriate error function for displaying the error, 2005-11-20 13:48:15 +00:00
ipcrm Mechanically kill hard sentence breaks. 2004-07-02 22:22:35 +00:00
ipcs o Fix typo in a comment. 2006-05-15 08:20:38 +00:00
join Expand *n't contractions. 2005-02-13 22:25:33 +00:00
jot Sort sections. 2005-01-18 13:43:56 +00:00
kdump Add audit.h to mkioctls inclusion list: audit pipe ioctls need access 2006-06-05 10:06:51 +00:00
keylogin Deal with double whitespace. 2004-07-03 00:24:45 +00:00
keylogout
killall Added the EXIT STATUS section where appropriate. 2005-01-17 07:44:44 +00:00
ktrace When opening a trace file, open O_NONBLOCK so that ktrace doesn't stall 2006-03-14 19:32:03 +00:00
ktrdump Skip format flags, when parsing ktr_desc. 2006-01-12 22:32:07 +00:00
lam Call usage() instead of being insolent. 2005-08-05 01:04:36 +00:00
last Expand *n't contractions. 2005-02-13 22:25:33 +00:00
lastcomm Sync program's usage() with manpage's SYNOPSIS. 2005-05-21 09:55:10 +00:00
ldd The type of some aout header types changed to uint_32, so now we need 2004-06-29 21:13:15 +00:00
leave
less Correct the script name to be "zless.sh". This avoids an extra cp/chmod 2005-05-17 11:41:01 +00:00
lessecho Start the dreaded NOFOO -> NO_FOO conversion. 2004-12-21 08:47:35 +00:00
lesskey
lex Convert NO_PROFILE and NO_LIB32 to new style. 2006-03-18 21:37:05 +00:00
limits Added the EXIT STATUS section where appropriate. 2005-01-17 07:44:44 +00:00
locale Xref setlocale(3), bump document date. 2005-11-01 19:36:17 +00:00
locate o Sync usage() with reality. 2006-06-11 17:40:25 +00:00
lock Expand *n't contractions. 2005-02-13 22:25:33 +00:00
lockf Finish off style(9) fixes which I started two revisions ago. This basically 2005-10-09 04:45:41 +00:00
logger Reduce compiler warning: variable might be used uninitialized, by giving 2005-05-29 16:04:46 +00:00
login Add missing library dependencies. 2006-04-13 12:49:24 +00:00
logins Fix markup. 2004-03-06 23:36:41 +00:00
logname - Remove useless includes 2005-01-25 14:22:20 +00:00
look Added the EXIT STATUS section where appropriate. 2005-01-17 07:44:44 +00:00
lorder ru@ recently changed lorder to support library archives. Document 2006-04-27 15:48:54 +00:00
lsvfs spell "file system" correctly 2005-01-24 20:06:16 +00:00
m4 Let bsd.prog.mk set SRCS and MAN to their default values. 2005-01-28 16:08:11 +00:00
mail Document the TMPDIR environment variable. 2006-01-05 10:19:42 +00:00
make So, what's it supposed to say when you type "make love"? 2006-05-11 18:08:44 +00:00
makewhatis Prepare for MACHINE and hw.machine switching to "pc98" on FreeBSD/pc98. 2005-12-05 14:22:12 +00:00
mesg Sync program's usage() with manpage's SYNOPSIS. 2005-05-21 09:55:10 +00:00
minigzip Mechanically kill hard sentence breaks. 2004-07-02 22:22:35 +00:00
ministat Avoid coredumps if stddev cannot be computed (if all datapoints are identical) 2006-05-02 07:34:38 +00:00
mkdep Sort sections. 2005-01-18 13:43:56 +00:00
mkfifo Sort sections. 2005-01-18 13:43:56 +00:00
mklocale Make <runefile.h> internal to libc. 2005-05-16 09:32:41 +00:00
mkstr Fixed a misspelling of 0 as NULL. 2004-03-14 05:51:20 +00:00
mktemp mkstemp(3) and friends use a combination of base 10 digits, along 2005-12-30 20:10:21 +00:00
mkuzip A few minor corrections to the mkuzip.8 man page. 2006-03-17 20:48:10 +00:00
msgs Cleanup: 2005-01-17 17:45:38 +00:00
mt -mdoc sweep. 2005-11-18 10:36:29 +00:00
nc Fix bugs in the previous commit. 2005-02-07 08:44:34 +00:00
ncal Document incorrect handling of multibyte characters. 2005-10-23 01:37:25 +00:00
ncplist
ncplogin Mechanically kill hard sentence breaks. 2004-07-02 22:22:35 +00:00
netstat Reimplementation of world/kernel build options. For details, see: 2006-03-17 18:54:44 +00:00
newgrp Added the EXIT STATUS section where appropriate. 2005-01-17 07:44:44 +00:00
newkey Reimplementation of world/kernel build options. For details, see: 2006-03-17 18:54:44 +00:00
nfsstat Fix a few cases that relied on 'implicit int' (constraint violation in C99). 2004-07-11 17:37:33 +00:00
nice Sync program's usage() with manpage's SYNOPSIS. 2005-05-21 09:55:10 +00:00
nl Remove unused variables. 2005-04-09 14:31:41 +00:00
nohup Added the EXIT STATUS section where appropriate. 2005-01-17 07:44:44 +00:00
nslookup Disable thread support in BIND. It appears to reduce performance rather 2005-07-25 14:44:11 +00:00
nsupdate Disable thread support in BIND. It appears to reduce performance rather 2005-07-25 14:44:11 +00:00
objformat
opieinfo Introduce the PRECIOUSPROG knob in bsd.prog.mk, similar 2004-11-03 18:01:21 +00:00
opiekey
opiepasswd Introduce the PRECIOUSPROG knob in bsd.prog.mk, similar 2004-11-03 18:01:21 +00:00
pagesize
passwd Reimplementation of world/kernel build options. For details, see: 2006-03-17 18:54:44 +00:00
paste Sort sections. 2005-01-18 13:43:56 +00:00
pathchk Sync program's usage() with manpage's SYNOPSIS. 2005-05-21 09:55:10 +00:00
pkill -mdoc sweep. 2005-11-18 10:36:29 +00:00
pr Fix misspelled 'argument' and try to make the sentence into English. 2005-10-26 17:37:54 +00:00
printenv Added the EXIT STATUS section where appropriate. 2005-01-17 07:44:44 +00:00
printf Prefer {u,}intmax_t over the deprecated {u_,}quad_t. 2005-08-05 08:18:00 +00:00
quota Remove an unused #define. md5's with and without this commit match. 2005-03-13 17:58:31 +00:00
renice Sync program's usage() with manpage's SYNOPSIS. 2005-05-21 09:55:10 +00:00
rev If ferror is true, we must reset the error indicator. 2004-12-15 06:24:57 +00:00
rlogin len and len2 work better as size_t 2005-11-13 21:03:56 +00:00
rpcgen In change 1.15, an arbitrary setting of the max RPC record size to 2006-05-17 23:18:17 +00:00
rpcinfo Remove including of libc sources. All the required functions 2006-03-10 07:58:02 +00:00
rs - Set negative row or column argument values to zero. 2005-04-28 12:37:15 +00:00
rsh - Remove MLINKS to nonexistant manpages 2005-07-14 20:29:08 +00:00
rup Catch up with 64bit time_t on sparc64. The rstat packet expects a 32bit 2005-12-04 18:25:26 +00:00
ruptime - Do not allocate memory to entries in /var/rwho which have been down for 2005-09-02 14:58:26 +00:00
rusers Sync program's usage() with manpage's SYNOPSIS. 2005-05-21 09:55:10 +00:00
rwall Sync program's usage() with manpage's SYNOPSIS. 2005-05-21 09:55:10 +00:00
rwho It's actually 11 minutes when the machine is assumed to be down and removed 2005-08-07 11:48:44 +00:00
script Deal with double whitespace. 2004-07-03 00:24:45 +00:00
sed Fix using "P" command on empty pattern space. If the "P" command is 2006-05-27 19:32:28 +00:00
shar Sort sections. 2005-01-18 13:43:56 +00:00
showmount Sync program's usage() with manpage's SYNOPSIS. 2005-05-21 09:55:10 +00:00
smbutil Make smbfs capable to use 16bit char set in filenames. 2005-05-04 15:05:46 +00:00
sockstat Don't free(sock) before it's even allocated. 2005-06-10 06:36:03 +00:00
split -mdoc sweep. 2005-11-18 10:36:29 +00:00
stat Markup and wording fixes. 2005-06-14 11:50:53 +00:00
su - Mention that users need to be in the wheel group to `su - root' by default, and how to change it. 2006-01-28 01:11:11 +00:00
systat s/on a crt// 2006-05-25 06:05:04 +00:00
tabs Added the EXIT STATUS section where appropriate. 2005-01-17 07:44:44 +00:00
tail Unbreak tail -f on non-local filesystems. 2005-08-26 08:15:57 +00:00
talk Use socklen_t where appropriate. 2005-03-11 14:17:12 +00:00
tar In the examples, use "tar.gz" as the extension for 2006-05-01 01:34:21 +00:00
tcopy Expand *n't contractions. 2005-02-13 22:25:33 +00:00
tee Added the EXIT STATUS section where appropriate. 2005-01-17 07:44:44 +00:00
telnet Reimplementation of world/kernel build options. For details, see: 2006-03-17 18:54:44 +00:00
tftp Use the new name H_SETSIZE instead of the old H_EVENT to set the history 2005-10-19 15:37:43 +00:00
time Handle SIGINFO in time(1) by printing the time the given command is running. 2006-05-14 13:16:19 +00:00
tip Fix an erroneous description of the file descriptor assignments for 2005-11-02 05:47:49 +00:00
top Fix display of idle processes, which had been broken since rev. 1.56 of 2006-06-11 19:18:39 +00:00
touch Don't set time to current, if set to specific time fails 2006-01-31 02:21:18 +00:00
tput Expand *n't contractions. 2005-02-13 22:25:33 +00:00
tr Remove unused variables. 2005-04-09 14:31:41 +00:00
true
truncate Allow to specify size in terabytes by using T or t suffix. 2006-04-09 19:16:24 +00:00
truss - Fix warning when compiling with -DDEBUG 2006-05-15 22:09:45 +00:00
tset Reduce compiler warning: variable might be used uninitialized, by giving 2005-05-29 15:49:53 +00:00
tsort Move FreeBSD Id outside of copyright. Initialize variable. 2005-05-29 15:47:31 +00:00
tty Expand *n't contractions. 2005-02-13 22:25:33 +00:00
uac Added the EXIT STATUS section where appropriate. 2005-01-17 07:44:44 +00:00
ul Sync program's usage() with manpage's SYNOPSIS. 2005-05-21 09:55:10 +00:00
uname Sort sections. 2005-01-18 13:43:56 +00:00
unexpand Start the dreaded NOFOO -> NO_FOO conversion. 2004-12-21 08:47:35 +00:00
unifdef Sync program's usage() with manpage's SYNOPSIS. 2005-05-21 09:55:10 +00:00
uniq Added the EXIT STATUS section where appropriate. 2005-01-17 07:44:44 +00:00
units Expand *n't contractions. 2005-02-13 22:25:33 +00:00
unvis
usbhidaction Let bsd.prog.mk set SRCS and MAN to their default values. 2005-01-28 16:08:11 +00:00
usbhidctl Sort sections. 2005-01-18 13:43:56 +00:00
users
uudecode Start the dreaded NOFOO -> NO_FOO conversion. 2004-12-21 08:47:35 +00:00
uuencode - Remove MLINKS to nonexistant manpages 2005-07-14 20:29:08 +00:00
uuidgen Mention that uuidgen(1) generates DCE version 1 UUIDs only 2005-09-07 07:49:21 +00:00
vacation Remove kludges intended to support src trees with partial obj trees. 2005-06-10 06:12:53 +00:00
vgrind Fix vgrind(1) indexing I broke in previous revision. 2005-09-23 12:55:22 +00:00
vi Replaced afterinstall: with equivalent FILES and SYMLINKS. 2004-10-18 17:16:01 +00:00
vis Expand *n't contractions. 2005-02-13 22:25:33 +00:00
vmstat Increase the field widths of flt (total number of page faults), fr (pages 2006-06-03 20:34:56 +00:00
w Use sysctlbyname 2006-05-11 17:25:36 +00:00
wall In wall and who, check that the utmp entry isn't stalled, as it is done in w. 2006-02-21 13:01:00 +00:00
wc Fix mismerge. 2005-02-26 04:14:20 +00:00
what Markup and wording fixes. 2005-06-14 11:50:53 +00:00
whereis Remove unused variables. 2005-04-09 14:31:41 +00:00
which Require at least one argument. 2005-02-10 16:04:22 +00:00
who In wall and who, check that the utmp entry isn't stalled, as it is done in w. 2006-02-21 13:01:00 +00:00
whois Add AfriNIC as a RIR. 2006-01-23 13:49:39 +00:00
window Fixes for gcc 4.x. 2005-08-25 14:09:35 +00:00
write Sync program's usage() with manpage's SYNOPSIS. 2005-05-21 09:55:10 +00:00
xargs NUL terminate buffer from fgetln(3). From fgsch@OpenBSD. 2006-01-01 22:59:54 +00:00
xinstall Add an override (DONTSTRIP) so that one can easily install debugable 2006-03-06 21:52:59 +00:00
xlint Include <err.h> where needed. Add $FreeBSD$ where missing. 2005-08-05 09:07:42 +00:00
xstr Sync program's usage() with manpage's SYNOPSIS. 2005-05-21 10:14:11 +00:00
yacc Sort sections. 2005-01-18 13:43:56 +00:00
yes
ypcat Sync program's usage() with manpage's SYNOPSIS. 2005-05-21 09:55:10 +00:00
ypmatch Sync program's usage() with manpage's SYNOPSIS. 2005-05-21 09:55:10 +00:00
ypwhich Mechanically kill hard sentence breaks. 2004-07-02 22:22:35 +00:00
Makefile o By popular demand import getent(1) utility: a program retrieves 2006-05-04 08:44:44 +00:00
Makefile.inc