tstatd - Logs real-time accounting daemon
tstatd [ options ] plugin [zone1:]wildcard1 .. [zoneN:]wildcardN
Agregate data from all anonymous logs (wildcards without explicit zone specified) into zone. Default behavior is to create new zone for each anonymous log from its file name.
Use file as persistent storage to keep accumulated data across daemon restarts. Default is auto generated from daemon name, specified identity and '.db' suffix.
Use only base name (excluding directories and suffix) of anonymous log file for auto-created zones.
Change current directory to dir before wildcards expanding.
Composition of options:
Don't detach daemon from control terminal,
stderr instead log file or syslog.
Use name as
facility for syslog logging (see syslog (3) for list of available values).
Default is 'daemon'.
Set minimal logging level to level (see syslog (3) for list of available values). Default is 'notice'.
Use logging to file instead of syslog logging (which is default).
Do wildcards re-expanding and checking for new and missed logs every num seconds. Default is '60'.
Print brief help message about available options.
Just a string used in title of daemon process,
syslog ident (see syslog(3)),
Idea behind this options - multiple
tstatd instances running simultaneosly.
Specify address and port for TCP listen socket binding. Default is '127.0.0.1:3638'.
With this option specified same log file could be included into several zones (if log name satisifies several wildcards). Default behavior is to include log file only in first satisified zone.
Set number of sliding-windows to num. Default is '60'.
Comma-separated plugin supported options (like a mount (8) options).
Load content of file into plugin package namespace. This is way to easy customize plugin behavior without creating another plugin.
Use file to keep daemon process id. Default is auto generated from daemon name, specified identity and '.pid' suffix.
Do logging with level (see syslog (3) for available values) about all unparsed log lines. Hint: use 'none' for ignoring such lines. Default is defining by plugin and usually is 'debug'.
Use pattern instead of plugin default regular expression for matching log lines.
Load regular expression from file and use instead of plugin default regular expression for matching log lines.
Store accumulated data in a persistent storage every num seconds. Default is '60'.
Create named timer firing every num seconds for zone.
Change effective privileges of daemon process to user.
Print version information of
tstatd and exit.
Set size (duration) of sliding window to num seconds. Default is '10'.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.