---
name: "fwctlacctreport"
section: "1p"
platform: "linux"
package: "fwctl"
version: "0.28-2"
release: "Debian 3.0 (Woody)"
platforms: ["linux"]
url: "https://new.carta.tech/fwctlacctreport"
---

# fwctlacctreport(1p)

Generates text reports from the fwctl\_acct file.

## NAME

fwctlacctreport - Generates text reports from the fwctl\_acct file.

## SYNOPSIS

fwctlacctreport \[--start report\_start\]\
 		\[--end report\_end ⎪ --period report\_period \]\
 		\[--sample day⎪hour\]\
 		\[--names chain...\]\
 		\[--reports report ...\]\
 		logfile ...

fwctlacctreport --help

## DESCRIPTION

**fwctlacctreport** can be use to generates reports from the output of the `"fwctl dump-acct"` command. It will generates either summary or histogram-like report for the accounting data.

## INPUT OPTIONS

The records on which the report will be generated can be customized with the following options.\

- start

  Sets the start of the report's period. If the *Date::Manip*(3) module is installed, you can use any format that this module can parse. If that module isn't installed you must use the following format YYYY-MM-DD HH:MM:SS or any meaningful subset of that format.

  If this option is not used, the report will start with the first record.\

- end

  Sets the end of the report's period. If the *Date::Manip*(3) module is installed, you can use any format that this module can parse. If that module is'nt installed you must use the following format YYYY-MM-DD HH:MM:SS or any meaningful subset of that format.

  If this option is not used, the report will end with the last record.\

- period

  Sets the length of the report's period. This length is interpreted relative to the report's start. This option has priority over the **end** option.

  If you have the Date::Manip module installed, you can use any format that this module can parse. If that module isn't available, you can use a subset of the following format X weeks X days X hours X mins X secs.\

- names

  Restrict the report to the chains specified by this option.

  You can use this parameter multiple times to specify multiple possibility. The record will be included if it matches any of those.

## OUTPUT OPTIONS

To customize output you can use the following options :

- sample

  This option can be set to *day* or *hour*. This determines if the program will report hourly sample or daily sample.\

- report

  You can use this option to specify the reports that will be generated. By default, the *summary* report is generated.

## REPORT

Here are the reports that can be generated :

- summary

  Report that shows the total packets and bytes for each chains.\

- packets

  Report that number of packets received by each chain for each hours or days (depending on the setting of the *sample* option).\

- bytes

  Report that number of bytes received by each chain for each hours or days (depending on the setting of the *sample* option).

## AUTHOR

Francis J. Lacoste \<francis.lacoste@iNsu.COM\>

## COPYRIGHT

Copyright (c) 2000 iNsu Innovations Inc. All rights reserved.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

## SEE ALSO

*Fwctl*(3) *Fwctl::RuleSet*(3) *fwctl*(8) *fwctllog*(8) *Fwctl::AcctReport*(3).
