Add the DragonFly cvs id and perform general cleanups on cvs/rcs/sccs ids. Most
[dragonfly.git] / release / picobsd / tinyware / ns / README
1 Warsaw, 1998.07.20
2
3                         Small replacement for netstat
4                         -----------------------------
5
6 This program implements some basic functionality subset of normal netstat -
7 it can display the routing table and protocol statistics.
8
9 Large part of the code dealing with retrieving the routing table via sysctl(3)
10 was taken from code examples written by Richard Stevens to accompany his
11 excellent book.
12
13 Usage
14 -----
15
16         ns [-rsi] [-p proto] [-w wait]
17
18 where
19
20         -r      print routing table (default)
21         -s      print protocol statistics
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.
32
33 Bugs
34 ----
35
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
40 Andrzej Bialecki
41 <abial@freebsd.org>
42
43 $FreeBSD: src/release/picobsd/tinyware/ns/README,v 1.4 1999/08/28 01:33:56 peter Exp $
44 $DragonFly: src/release/picobsd/tinyware/ns/Attic/README,v 1.2 2003/06/17 04:27:20 dillon Exp $