File: trafstats.8

package info (click to toggle)
trafstats 0.4.20-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 296 kB
  • ctags: 110
  • sloc: cpp: 1,036; sh: 475; perl: 173; makefile: 98
file content (54 lines) | stat: -rw-r--r-- 2,106 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
.\"                                      Hey, EMACS: -*- nroff -*-
.\" groffised by Stephen Stafford <bagpuss@debian.org>
.TH TRAFSTATS 8 "October 27 2001"
.\" Change this date whenever you update the manpage.
.SH NAME
trafstats \- Gather and store network usage data into a postgresql database
.SH SYNOPSIS
.BR trafstats " [ " OPTIONS " ] "

.SH DESCRIPTION
\fBtrafstats\fP uses libpcap to constantly sniff and periodically store 
into a database accurate traffic usage statistics. 
 
.SH OPTIONS 
.TP 
.BI -i " interface" ", --interface" " interface"
.RI "Specify which " interface " to sniff on."
.TP
.BI -d " delay" ", --storage-delay" " delay"
.RI "Specify the " delay " in seconds between storing the statistics into the database."
.TP
.BI -I " time" ", --timer-interval" " time"
.RI "Specify the amount of " time " in seconds before a new timestamp will be generated."
.TP
.BI -D " database" ", --database" " database"
.RI "Specify the name of the " database " to use."
.TP
.BI -u " username" ", --user" " username"
.RI "Specify what " username " to access the database as."
.TP
.BR -M ", " --no-daemon
.RI "Do not detach; instead keep running in the foreground."
.TP
.BI -V " value" ", --verbose"  " value"
Specify the amount of verbosity to use. These \fIvalues\fR correspond loosely to
the definitions in syslog.h. Anything higher than 7 (equiv to LOG_DEBUG)
will generate incredible amounts of syslog traffic and probably has some
privacy issues as well.
.TP
.BR -C ", " --ip-only
Do not store source and destination ports; instead keeping them zeroed. This
is useful if your network has a very large number of computers and the
database server is not so large. This will decrease the amount of entries
stored in the database by an order of 10-50 except in extreme circumstances.
.TP
.BR -q ", " --quiet
Equivalent of --verbose 0; do not send ANY log messages, even
critical/terminal ones. Not recommended.
.TP
.BR -v " increase the verbosity level by one."

.SH AUTHOR
This manual page was written by Rens Houben (shadur@systemec.nl) for the
Debian GNU/Linux system (but may be used by others)