~ubuntu-branches/ubuntu/precise/iproute/precise

« back to all changes in this revision

Viewing changes to debian/man/lnstat.8

  • Committer: Bazaar Package Importer
  • Author(s): Alexander Wirt, Andreas Henriksson, Ben Finney, Justin Pryzby, Daniel Silverstone, Alexander Wirt
  • Date: 2007-12-16 14:30:31 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20071216143031-cbd111kybw3o9mpv
Tags: 20071016-1
[ Andreas Henriksson ]
* New upstream release (v2.6.23 aka snapshot 071016) (Closes: #445944)
  - time2tick overflow patch applied upstream (Closes: #175462)
  - tc ematch cmp/nbyte help patch applied upstream (Closes: #438653)
  - mpath support dropped upstream (Closes: #428440, #428442)
  - new manpages included upstream (Closes: #438994)
  - linux header files updated to v2.6.23 (Closes: #409047)
* Drop patches which has been applied upstream or deprecated by
  upstream changes.
  - debian/patches/lartc applied upstream.
  - debian/patches/netbug_fix deprecated, upstream dropped netbug script.
  - debian/patches/empty_linkname.dpatch deprecated, fixed upstream.
* Add .dpatch suffix to wrr-qdisc patch to make dpatch-edit-patch work.
* Update patches to apply:
  - wrr-qdisc, moo, ip_route_usage
* Don't install removed netbug script.
* Fix corruption when using batch files with comments and broken
  lines. (cherry-picked from upstream. Closes: #398912)
* Update build-dependencies:
  - libdb4.3-dev -> libdb-dev. (Closes: #442653)
  - linux-kernel-headers -> linux-libc-dev.
* Drop debian/patches/ip_address_flush_loop.dpatch,
  instead we'll use Daniel Silverstones patch imported from Ubuntu.
* Add Homepage and Vcs-{Browser,Git} fields to debian/control.
* Remove dead/leftover code from tc/q_htb.c, include/linux/pkt_sched.h
* Remove outdated README.Debian.
* Drop our own (buggy) RTAX_INITCWND support, in favor of upstreams.
* fix dotted-quad support patch to work on big-endian.
  (upstream applied a broken patch, which we cherry-picked for #357172)

[ Ben Finney ]
* Add dh_md5sums to generate md5sums control file (Closes: #439439)

[ Justin Pryzby ]
* ss(8) manpage formatting breaks EXAMPLE (Closes: #443071)

[ Daniel Silverstone ]
* Avoid infinite loop in ip addr flush.

[ Alexander Wirt ]
* Add Andreas Henriksson to uploaders
* Bump standards version
* Support dotted-quad netmasks in iproute (Closes: #357172) (Cherry picked
  from upstream)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
.TH LNSTAT 8
2
 
.SH NAME
3
 
lnstat \- unified linux network statistics
4
 
.SH SYNOPSIS
5
 
.B lnstat
6
 
.RI [ options ]
7
 
.SH DESCRIPTION
8
 
This manual page documents briefly the
9
 
.B lnstat
10
 
command.
11
 
.PP
12
 
\fBlnstat\fP is a generalized and more feature-complete replacement for the old rtstat program.
13
 
In addition to routing cache statistics, it supports any kind of statistics the linux kernel
14
 
exports via a file in /proc/net/stat/.
15
 
.SH OPTIONS
16
 
These programs follow the usual GNU command line syntax, with long
17
 
options starting with two dashes (`-').
18
 
lnstat supports the following options.
19
 
.TP
20
 
.B \-h, \-\-help
21
 
Show summary of options.
22
 
.TP
23
 
.B \-V, \-\-version
24
 
Show version of program.
25
 
.TP
26
 
.B \-c, \-\-count <count>
27
 
Print <count> number of intervals.
28
 
.TP
29
 
.B \-d, \-\-dump
30
 
Dump list of available files/keys.
31
 
.TP
32
 
.B \-f, \-\-file <file>
33
 
Statistics file to use.
34
 
.TP
35
 
.B \-i, \-\-interval <intv>
36
 
Set interval to 'intv' seconds.
37
 
.TP
38
 
.B \-k, \-\-keys k,k,k,...
39
 
Display only keys specified.
40
 
.TP
41
 
.B \-s, \-\-subject [0-2]
42
 
Specify display of subject/header. '0' means no header at all, '1' prints a header only at start of the program and '2' prints a header every 20 lines.
43
 
.TP
44
 
.B \-w, \-\-width n,n,n,...
45
 
Width for each field.
46
 
.SH USAGE EXAMPLES
47
 
.TP
48
 
.B # lnstat -d
49
 
Get a list of supported statistics files.
50
 
.TP
51
 
.B # lnstat -k arp_cache:entries,rt_cache:in_hit,arp_cache:destroys
52
 
Select the specified files and keys.
53
 
.TP
54
 
.B # lnstat -i 10
55
 
Use an interval of 10 seconds.
56
 
.TP
57
 
.B # lnstat -f ip_conntrack
58
 
Use only the specified file for statistics.
59
 
.TP
60
 
.B # lnstat -s 0
61
 
Do not print a header at all.
62
 
.TP
63
 
.B # lnstat -s 20
64
 
Print a header at start and every 20 lines.
65
 
.TP
66
 
.B # lnstat -c -1 -i 1 -f rt_cache -k entries,in_hit,in_slow_tot
67
 
Display statistics for keys entries, in_hit and in_slow_tot of field rt_cache every second.
68
 
.SH SEE ALSO
69
 
.BR ip (8),
70
 
and /usr/share/doc/iproute-doc/README.lnstat (package iproute-doc on Debian)
71
 
.br
72
 
.SH AUTHOR
73
 
lnstat was written by Harald Welte <laforge@gnumonks.org>.
74
 
.PP
75
 
This manual page was written by Michael Prokop <mika@grml.org> for the Debian project (but may be used by others).