---
name: "nnstats"
section: "1m"
platform: "linux"
package: "nn"
version: "6.7.3-16"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/nnstats"
---

# nnstats(1m)

display nnmaster collection and expire statistics

## NAME

nnstats - display *nnmaster* collection and expire statistics

## SYNOPSIS

**nnstats** \[ -**lt** \] \[ -**d** *month* *day* \] \[ -**m** *month* \] \[ *logfile* \]...

## DESCRIPTION

*nnstats* will extract the collection (C) and expiration (X) entries from the log file and calculate total and average number of articles, groups and elapsed time per day, per month, or for the duration of the whole log file.

Normally only a summary for the specified period is printed.  If -**l** is specified, the statistics for each day in the period is also printed, and if -**t** is specified the summary is not printed.

Normally the statistics is collected for all days in the log files (or the current log file if one is not specified).

If "-**m** *month*" is specified, the statistics for that month is calculated.  The *month* is specified in normal *date* notation, i.e. a capitalized three letter abbreviation like Jan, Feb, ...

If "-**d** *month* *day*" is specified, the statistics for that date only is calculated and printed.

## FILES

../Log	The log file

## SEE ALSO

[nn(1)](/nn/1.md), nnusage(1M), nnadmin(1M), [nnmaster(8)](/nnmaster/8.md)

## NOTES

If *nnmaster* is run with options -**L**CX, *nnstats* will not work, because the necessary entries are not written to the log file.

## AUTHORS

Mark Moraes \<moraes@csri.toronto.edu\>\
 Kim F. Storm \<storm@texas.dk\>
