freebsd-skq/usr.bin
ru 67653866aa First round of netstat(1) cleanup.
Removed the ambiguity in -s, -f, -p and -i flags handling.
Basically, there are four displays (except others):

1.  PCB display.
2.  Protocol statistics display. (-s)
3.  Interface statistics display. (-i)
4.  Per-interface protocol statistics display. (-i -s)

All of the above except 3) can be limited to a particular
protocol family (-f) or a single protocol (-p).

Some examples:

1.  netstat -f inet    -- show PCBs of all INET protocols
2.  netstat -p udp     -- show PCB of UDP protocol only (NEW!)
3.  netstat -s         -- show protocol statistics for all families
4.  netstat -s -f inet -- show INET protocols statistics
5.  netstat -s -p icmp -- show ICMP protocol statistics

This is a work in progress.  Manpage has been fixed slightly,
but is still incomplete.
2001-06-15 18:25:38 +00:00
..
apply This passes WARNS=2 on alpha and i386 2001-05-20 06:15:09 +00:00
ar MAN[1-9] -> MAN. 2001-03-27 10:52:19 +00:00
at MAN[1-9] -> MAN. 2001-03-27 10:52:19 +00:00
banner Fix overflowing on nul character. 2001-05-28 03:49:23 +00:00
basename Silence WARNS=2 and BDECFLAGS on alpha and i386 2001-05-20 06:18:37 +00:00
biff Use S_IXUSR instead of hardcoded values. 2001-06-02 03:10:07 +00:00
brandelf Fix $FreeBSD$ style. 2001-05-02 23:57:49 +00:00
c89 mdoc(7) police: fix markup. 2001-05-10 07:29:35 +00:00
calendar ISO_ -> ISO 2001-06-11 04:24:43 +00:00
cap_mkdb Don't treat the pipe symbol in capabilities as an alternate 2001-06-01 14:45:00 +00:00
chat MAN[1-9] -> MAN. 2001-03-27 10:52:19 +00:00
checknr mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
chflags Follow symbolic links named as command line arguments if run without -R. 2001-05-28 12:58:10 +00:00
chkey mdoc(7) police: added missing .Os call. 2000-12-14 13:58:15 +00:00
chpass Prepare for mdoc(7)NG. 2000-12-19 16:00:12 +00:00
cksum mdoc(7) police: Change -filled displays (which just happen 2001-02-07 13:45:30 +00:00
cmp mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
col Fix a trivial warning and clamp down with WARNS=2 2001-05-26 22:45:14 +00:00
colcrt Fix a trivial warning and clamp down with WARNS=2 2001-05-26 22:47:58 +00:00
colldef Eliminate mdocNG warnings caused by misplaced or extraneous macro calls. 2001-02-28 17:38:53 +00:00
colrm mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
column Round up before checking if the width is smaller than the widest 2001-04-03 18:03:29 +00:00
comm Rework diagnostics text 2001-02-06 20:01:40 +00:00
compile_et
compress MAN[1-9] -> MAN. 2001-03-27 10:52:19 +00:00
ctags mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
cut Silence the remaining warnings and clamp down with WARNS=2. 2001-06-07 02:57:58 +00:00
dig Use libbind to get to the extended resolver and headers. 1999-11-30 06:25:19 +00:00
dirname Reintroduce functionality and error checks that were boneheadedly removed 2000-09-06 07:28:02 +00:00
dnskeygen MAN[1-9] -> MAN. 2001-03-27 10:52:19 +00:00
dnsquery Use libbind to get to the extended resolver and headers. 1999-11-30 06:25:19 +00:00
doscmd Update BIOS time. 2001-05-22 11:33:38 +00:00
du Add '-I mask' cmdline flag to ignore/skip files and subdirectories 2001-06-13 06:38:58 +00:00
ee ISO_ -> ISO 2001-06-11 03:45:33 +00:00
enigma MAN[1-9] -> MAN. 2001-03-27 10:52:19 +00:00
env
expand mdoc(7) police: split punctuation characters + misc fixes. 2001-02-01 16:38:02 +00:00
false Fix typo 2001-01-25 13:13:55 +00:00
fetch Don't try to print a completion percentage for zero-size files. 2001-06-01 10:24:58 +00:00
file MAN[1-9] -> MAN. 2001-03-27 10:52:19 +00:00
file2c MAN[1-9] -> MAN. 2001-03-27 10:52:19 +00:00
find mdoc(7) police: fix markup. 2001-05-16 13:53:19 +00:00
finger MAN[1-9] -> MAN. 2001-03-27 10:52:19 +00:00
fmt fmt(1) rewrite by Gareth McCaughan. 2001-06-06 10:17:05 +00:00
fold mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
from Prepare for mdoc(7)NG. 2000-12-19 16:00:12 +00:00
fstat Remove MFS 2001-05-29 20:39:47 +00:00
fsync mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
ftp Fixed a null pointer bug in rev.1.10. Rev.1.10 was supposed to to 2001-04-04 15:09:54 +00:00
gcore Null terminate buffer. 2001-06-07 05:26:26 +00:00
gencat Optimize gencat(1) sources in same manner as its libc part some time ago: 2001-02-08 16:38:16 +00:00
getconf Reword the description a little bit more for parallel construction. 2001-02-21 19:33:38 +00:00
getopt MAN[1-9] -> MAN. 2001-03-27 10:52:19 +00:00
gprof * include/elf.h has been repo copied to include/elf-hints.h, and it no 2001-05-02 23:56:21 +00:00
gprof4
head mdoc(7) police: use the default ``file ...'' feature of the .Ar macro. 2001-02-13 09:56:35 +00:00
hesinfo man(7) -> mdoc(7). 2001-01-16 17:04:17 +00:00
hexdump MAN[1-9] -> MAN. 2001-03-27 10:52:19 +00:00
host Use libbind to get to the extended resolver and headers. 1999-11-30 06:25:19 +00:00
id Silence warnings (most about constness) and clamp down with WARNS=2. 2001-05-28 06:14:48 +00:00
indent Fix damage I did in rev 1.4 that broke formatting this example: 2001-04-20 07:41:23 +00:00
ipcrm mdoc(7) police: split punctuation characters + misc fixes. 2001-02-01 16:38:02 +00:00
ipcs Don't install setgid kmem. 2001-06-01 01:14:28 +00:00
join mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
jot Replace the cast I removed in rev. 1.16 with a slightly less evil one 2001-05-29 23:35:18 +00:00
kdump Backout rev. 1.22 as the change that caused problems was also backed out. 2001-05-24 08:47:57 +00:00
kenv kenv(1) first appeared in FreeBSD 4.1.1, not FreeBSD 5.0. 2000-11-23 11:21:35 +00:00
key MAN[1-9] -> MAN. 2001-03-27 10:52:19 +00:00
keyinfo Add LIBCRYPT to DPADD. 2000-11-28 07:24:15 +00:00
keyinit MAN[1-9] -> MAN. 2001-03-27 10:52:19 +00:00
keylogin Bring in a hybrid of SunSoft's transport-independent RPC (TI-RPC) and 2001-03-19 12:50:13 +00:00
keylogout
killall Allow -u to work with UID's also. 2001-06-12 15:58:31 +00:00
ktrace Compensate for header dethreading. 2001-05-01 08:46:02 +00:00
lam mdoc(7) police: use the default ``file ...'' feature of the .Ar macro. 2001-02-13 09:56:35 +00:00
last Silence warnings and minor style fixes. Mostly constify and don't 2001-06-14 04:55:26 +00:00
lastcomm Prepare for mdoc(7)NG. 2000-12-19 16:00:12 +00:00
ldd * include/elf.h has been repo copied to include/elf-hints.h, and it no 2001-05-02 23:56:21 +00:00
leave Don't claim to ignore interrupts. 2001-05-30 02:39:53 +00:00
less MAN[1-9] -> MAN. 2001-03-27 10:52:19 +00:00
lessecho Fixed some style bugs. Apart from formatting bugs, MANDEPEND is deprecated 2000-06-03 11:39:38 +00:00
lesskey MAN[1-9] -> MAN. 2001-03-27 10:52:19 +00:00
lex MAN[1-9] -> MAN. 2001-03-27 10:52:19 +00:00
limits Handle sbsize as a size, not a number. 2001-05-10 17:15:06 +00:00
locate beforeinstall -> SCRIPTS. 2001-04-07 11:21:35 +00:00
lock mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
lockf Add history. 2000-12-10 01:10:54 +00:00
logger mdoc(7) police: document IPv6 options in the SYNOPSIS. 2000-12-18 08:37:53 +00:00
login Remove an accidentaly added extra blank line. 2001-05-22 06:20:27 +00:00
logname There is no reason for logname to call getopt(3), it doesn't take 2001-06-05 21:04:42 +00:00
look mdoc(7) police: use the default ``file ...'' feature of the .Ar macro. 2001-02-13 09:56:35 +00:00
lorder beforeinstall -> SCRIPTS. 2001-04-07 11:21:35 +00:00
lsvfs mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
m4 Make sure the len() builtin always returns an answer. Previously, 2001-05-29 03:32:38 +00:00
mail Respect REPLYTO in mailrc. 2001-06-14 01:08:30 +00:00
make Note that sys.mk is read before any other file (even Makefile) 2001-05-23 18:21:36 +00:00
makewhatis mdoc(7) police: removed history info from the .Os call. 2000-12-14 11:40:41 +00:00
mesg
minigzip mdoc(7) police: use the default ``file ...'' feature of the .Ar macro. 2001-02-13 09:56:35 +00:00
mk_cmds Prepare for mdoc(7)NG. 2000-12-19 16:00:12 +00:00
mkdep beforeinstall -> SCRIPTS. 2001-04-07 11:21:35 +00:00
mkfifo Add DIAGNOSTICS section name 2000-03-26 14:42:14 +00:00
mklocale MAN[1-9] -> MAN. 2001-03-27 10:52:19 +00:00
mkstr mdoc(7) police: use the default ``file ...'' feature of the .Ar macro. 2001-02-13 09:56:35 +00:00
mktemp Update HISTORY. 2001-02-28 03:33:44 +00:00
msgs Fix WARNS=2 warnings on alpha and i386 and clamp it down 2001-05-26 21:49:29 +00:00
mt Removed -I${.CURDIR}/.../sys from CFLAGS. 2001-05-18 13:41:42 +00:00
ncal Handle ASCII and US-ASCII aliases 2001-06-10 23:26:47 +00:00
ncplist mdoc(7) police: normalize .Nd. 2001-04-18 15:54:10 +00:00
ncplogin MAN[1-9] -> MAN. 2001-03-27 10:52:19 +00:00
netstat First round of netstat(1) cleanup. 2001-06-15 18:25:38 +00:00
newkey MAN[1-9] -> MAN. 2001-03-27 10:52:19 +00:00
nfsstat Fix the error buffer passed to kvm_openfiles to have a correct length 2001-05-25 23:36:09 +00:00
nice Fix a typo and a punctuation mistake, the two of which conspired 2000-11-29 06:55:13 +00:00
nl mdoc(7) police: fix markup (demonstrates new -xwidth modifier). 2001-05-16 10:18:20 +00:00
nm MAN[1-9] -> MAN. 2001-03-27 10:52:19 +00:00
nohup mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
objformat Prepare for mdoc(7)NG. 2000-12-19 16:00:12 +00:00
opieinfo MAN[1-9] -> MAN. 2001-03-27 10:52:19 +00:00
opiekey MAN[1-9] -> MAN. 2001-03-27 10:52:19 +00:00
opiepasswd MAN[1-9] -> MAN. 2001-03-27 10:52:19 +00:00
pagesize beforeinstall -> SCRIPTS. 2001-04-07 11:21:35 +00:00
passwd MAN[1-9] -> MAN. 2001-03-27 10:52:19 +00:00
paste mdoc(7) police: use the default ``file ...'' feature of the .Ar macro. 2001-02-13 09:56:35 +00:00
pr Use nl_langinfo instead of %Ef 2001-03-21 14:32:02 +00:00
printenv Mention how env(1) can be used with the "#!" construct. 2001-05-30 03:15:39 +00:00
printf mdoc(7) police: mark LC_NUMERIC with .Dv. 2001-02-10 10:26:52 +00:00
quota Changed 'blocks' to 'usage' because we may not be getting quotas from 2001-05-23 17:12:09 +00:00
ranlib MAN[1-9] -> MAN. 2001-03-27 10:52:19 +00:00
renice MAN[1-9] -> MAN. 2001-03-27 10:52:19 +00:00
rev mdoc(7) police: use the default ``file ...'' feature of the .Ar macro. 2001-02-13 09:56:35 +00:00
rlogin mdoc(7) police: split punctuation characters + misc fixes. 2001-02-01 16:38:02 +00:00
rpcgen Turn -b (BSD socket compat mode) back on by default, as we don't have TLI/XTI 2001-04-13 23:20:16 +00:00
rpcinfo MAN[1-9] -> MAN. 2001-03-27 10:52:19 +00:00
rs Prepare for mdoc(7)NG. 2000-12-27 16:52:31 +00:00
rsh [rsh.1] Document the -4' and -6' options. 2000-11-24 09:25:44 +00:00
rup Correct cross-reference: 2001-06-07 16:59:19 +00:00
ruptime mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
rusers Correct cross-reference: 2001-06-07 16:59:19 +00:00
rwall Correct cross-reference: 2001-06-07 16:59:19 +00:00
rwho Don't attempt to parse %c 2001-03-21 20:26:51 +00:00
sasc Preceed/preceeding are not english words. Use precede and preceding. 2001-02-18 10:44:00 +00:00
script mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
sed Don't leak memory when compiling text following the a', c' or `i' command. 2001-05-18 09:48:17 +00:00
shar beforeinstall -> SCRIPTS. 2001-04-07 11:21:35 +00:00
showmount ANSI C prohibits text after #endif. 2001-06-12 03:44:35 +00:00
size MAN[1-9] -> MAN. 2001-03-27 10:52:19 +00:00
sockstat beforeinstall -> SCRIPTS. 2001-04-07 11:21:35 +00:00
soelim Don't call warn() with no format string. 2000-07-10 09:18:19 +00:00
split mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
strings MAN[1-9] -> MAN. 2001-03-27 10:52:19 +00:00
strip MAN[1-9] -> MAN. 2001-03-27 10:52:19 +00:00
su Deconvolute the authentication mess, and hand total responsiblity 2001-05-26 09:52:36 +00:00
symorder
systat Replace a use of the hw.nintr sysctl as it has just gone away, cast 2001-06-01 13:29:19 +00:00
tail o If the file being tailed is moved back to the original location, 2001-06-06 17:47:13 +00:00
talk It may happen so that the local talk daemon is not running. 2000-10-05 17:39:01 +00:00
tconv mdoc(7) police: split punctuation characters + misc fixes. 2001-02-01 16:38:02 +00:00
tcopy Move _PATH_DEFTAPE to <paths.h> to remove all the duplication of definitons, 2001-03-08 09:04:40 +00:00
tee Add DIAGNOSTICS section name 2000-03-26 15:06:46 +00:00
telnet A feature to allow one to telnet to a unix domain socket. 2001-05-23 22:47:16 +00:00
tftp Fix tftpd and tftp to support file transfers of over 65535 blocks 2001-02-02 10:53:02 +00:00
time Localize it (LC_NUMERIC) 2001-02-10 22:46:47 +00:00
tip If the user exists abruptly, tip's "tipout" child can hang around 2001-05-24 09:27:02 +00:00
top Cast size_t variables before printing them to cope with the case of 2001-05-31 22:36:51 +00:00
touch Fix some trivial warnings and clamp down with WARNS=2 2001-05-26 22:39:33 +00:00
tput beforeinstall -> SCRIPTS. 2001-04-07 11:21:35 +00:00
tr mdoc(7) police: split punctuation characters + misc fixes. 2001-02-01 16:38:02 +00:00
true Fix typo 2001-01-25 13:13:55 +00:00
truncate mdoc(7) police: use canonical form of .Dd macro. 2000-12-11 15:47:53 +00:00
truss Prepare for mdoc(7)NG. 2000-12-19 16:00:12 +00:00
tset Prepare for mdoc(7)NG. 2000-12-19 16:00:12 +00:00
tsort Fix typo: compatability -> compatibility. 2001-02-06 12:05:58 +00:00
tty
uac Prepare for mdoc(7)NG. 2000-12-19 16:00:12 +00:00
ul mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
uname
unexpand
unifdef Fix a grammar bogon. 2001-04-26 17:16:59 +00:00
uniq Add DIAGNOSTICS section name 2000-03-26 15:06:46 +00:00
units Correct a typo. 2001-06-01 02:53:32 +00:00
unvis
usbhidctl Remove a bogus %s from a printf. 2001-04-17 15:00:03 +00:00
users
uudecode While I'm in here, remove an unused variable. 2000-03-30 09:23:28 +00:00
uuencode MAN[1-9] -> MAN. 2001-03-27 10:52:19 +00:00
vacation Add a MAINTAINER= line so people know who to blame 2000-10-26 23:02:36 +00:00
vgrind beforeinstall -> SCRIPTS. 2001-04-07 11:21:35 +00:00
vi Add more *.US-ASCII entries 2001-06-10 20:53:18 +00:00
vis
vmstat Avoid the avm field joining the w field when avm is > 9.999.999 pages 2001-06-13 18:43:28 +00:00
w Call kvm_close() before exit for consistency. 2001-05-28 21:30:31 +00:00
wall When opening the file to broadcast, do it with the user's gid, not the 2001-05-08 11:11:42 +00:00
wc mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
what Add usage(). 2000-03-26 15:04:35 +00:00
whereis beforeinstall -> SCRIPTS. 2001-04-07 11:21:35 +00:00
which mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
who Don't attempt to parse %c 2001-03-21 19:16:41 +00:00
whois Do retry next entry in addrinfo during connect. 2001-06-01 13:43:20 +00:00
window Fix the rcsid's. 2001-05-17 09:38:49 +00:00
write mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
xargs Add a -J replstr option that allows the user to tell xargs to insert 2001-05-15 00:31:19 +00:00
xinstall Note that the default behavior has changed to copy files. 2001-05-30 09:45:47 +00:00
xlint Disable llib. The previous commit does not go anywhere near far enough 2001-04-29 03:19:58 +00:00
xstr mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
yacc beforeinstall -> SCRIPTS. 2001-04-07 11:21:35 +00:00
yes mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
ypcat mdoc(7) police: split punctuation characters + misc fixes. 2001-02-01 16:38:02 +00:00
ypmatch mdoc(7) police: split punctuation characters + misc fixes. 2001-02-01 16:38:02 +00:00
ypwhich Prepare for mdoc(7)NG. 2000-12-27 16:52:31 +00:00
Makefile Part 2 of gensetdefs de-orbit burn. linker sets are now self contained 2001-06-14 01:35:23 +00:00
Makefile.inc