Deleted Added
full compact
README (38590) README (38900)
1Warsaw, 1998.07.20
2
3 Small replacement for netstat
4 -----------------------------
5
6This program implements some basic functionality subset of normal netstat -
7it can display the routing table and protocol statistics.
8
9Large part of the code dealing with retrieving the routing table via sysctl(3)
10was taken from code examples written by Richard Stevens to accompany his
11excellent book.
12
13Usage
14-----
15
1Warsaw, 1998.07.20
2
3 Small replacement for netstat
4 -----------------------------
5
6This program implements some basic functionality subset of normal netstat -
7it can display the routing table and protocol statistics.
8
9Large part of the code dealing with retrieving the routing table via sysctl(3)
10was taken from code examples written by Richard Stevens to accompany his
11excellent book.
12
13Usage
14-----
15
16 ns [-r] [-s [-p ip|tcp|udp|icmp]]
16 ns [-rsi] [-p proto] [-w wait]
17
18where
19
20 -r print routing table (default)
21 -s print protocol statistics
17
18where
19
20 -r print routing table (default)
21 -s print protocol statistics
22 Options:
23 -p proto display only statistics related to this
24 protocol, where 'proto' is one of:
25 - ip
26 - tcp
27 - udp
28 - icmp
22 -i print interface statistics
23 -p proto display only statistics related to this
24 protocol, where 'proto' is one of:
25 - ip
26 - tcp
27 - udp
28 - icmp
29 - bdg - bridging stats, if 'ns' was compiled with
30 bridging support (flag BRIDGING in Makefile)
31 -w wait continuous display, repeat every 'wait' seconds.
29
30Bugs
31----
32
32
33Bugs
34----
35
33* The link layer information is still missing.
34* 'ns' doesn't resolve IP adresses to names
35* well, real netstat provides _much_ more information... but this one needs
36 to be small, right? :-)
37
38Andrzej Bialecki
39<abial@nask.pl>
40
36* 'ns' doesn't resolve IP adresses to names
37* well, real netstat provides _much_ more information... but this one needs
38 to be small, right? :-)
39
40Andrzej Bialecki
41<abial@nask.pl>
42
41$Id: README,v 1.1 1998/08/19 17:21:50 abial Exp $
43$Id: README,v 1.1.1.1 1998/08/27 17:38:45 abial Exp $