diff options
author | ru <ru@FreeBSD.org> | 2001-06-15 18:25:38 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2001-06-15 18:25:38 +0000 |
commit | 67653866aa83c06cbc92828ae2988bbeea1e776d (patch) | |
tree | a04fcb8310e27cf5329ae9bf3e13bed1885f12a1 /usr.sbin/lpr/common_source/common.c | |
parent | b24972e849b812765e15dee9436299aa45c7a0de (diff) | |
download | FreeBSD-src-67653866aa83c06cbc92828ae2988bbeea1e776d.zip FreeBSD-src-67653866aa83c06cbc92828ae2988bbeea1e776d.tar.gz |
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.
Diffstat (limited to 'usr.sbin/lpr/common_source/common.c')
0 files changed, 0 insertions, 0 deletions