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 55 56 57 58 59 60 61 62 63 64 65 66
|
.\" Process this file with
.\" groff -man -Tascii foo.1
.\" $Id: fetchipac.8,v 1.6 1998/07/29 12:36:40 moritz Exp $
.\"
.TH FETCHIPAC 8 "JULY 1998" Linux "IPAC"
.SH NAME
fetchipac \- read and save kernel ip accounting data
.SH SYNOPSIS
.B fetchipac
.SH DESCRIPTION
.B fetchipac
is part of the
.B ipac
linux ip accounting package.
.B fetchipac
reads the kernel ip counters and stores this information for further
processing by
.BR ipacsum (8).
To do this, it first creates a new file in the directory
.\" =()<.I @<ACCTDIR>@.>()=
.I /var/log/ip-acct.
The file name is derivered from the current system time in the
format YYYYMMDD-HHMMSS. Next, it copies the content of the ip
accounting rule name file
.\" =()<.I @<RUNFILE>@>()=
.I /var/run/ip-accounting-rules
into the new file and appends one separator
line with the magic pattern
.\" =()<"@<DATDELIM>@">()=
"#-#-#-#-#"
\- so it is possible to find out which counter counted what.
Finally, it
reads the actual ip accounting data from the kernel using
.BR ipfwadm (8)
and appends ipfwadm's output to the file.
.SH FILES
.\" =()<.I @<RULESFILE>@>()=
.I /etc/ipac.conf
.RS
The ipac configuration file.
.RE
.\" =()<.I @<RUNFILE>@>()=
.I /var/run/ip-accounting-rules
.RS
ip accounting rule name file.
.RE
See
.BR ipacset (8)
for further details.
.SH BUGS
The mechanism does not save disk space.
.SH VERSION
.\" =()<This man page belongs to ipac version @<VERSION>@.>()=
This man page belongs to ipac version 0.99.
For updates and other
information, look at
.B http://www.comlink.apc.org/~moritz/ipac.html
.SH AUTHOR
Moritz Both <moritz@daneben.de>
.SH "SEE ALSO"
.BR ipacset (8),
.BR ipacsum (8),
.BR ipfwadm (8).
|