Scroll to navigation

NFPROFILE(1) General Commands Manual NFPROFILE(1)

NAME

nfprofilenetflow profiler

SYNOPSIS

nfprofile [-hVIZ] [-p profiledir] [-P statdir] [-r file] [-M dirlist] [-f filterfile] [-S num] [-t time] [-L facility] [-z=<compress>] [-j] [-y] [-i url]

DESCRIPTION

nfprofile is the netflow profiler program for NfSen. It reads netflow data from files stored by nfcapd(1) and creates the corresponding output files for every channel required by a profile configuration.

This program is normally run only by NfSen, not directly by users.

A profile is defined by a configuration file, which specifies channels, sources, and filters for the data to be extracted and summarized.

nfprofile processes the data according to the profile configuration, and writes the output files to the specified directory for further processing or visualization.

The options are as follows:

Print help text to stdout and exit.
Print nfprofile version and exit.
Read profile parameters from stdin, instead of being invoked with a single profile's parameters.
Check filter syntax and exit.
profiledir
Specify the profile data directory.
statdir
Specify the profile stat directory.
num
Sub directory format. See nfcapd(1) for format.
file
Read input from this single file.
dirlist
Read input from multiple directories, ':' separated.
filterfile
Read the netflow filter to apply from this file.
time
Time slot, passed through to the RRD update for this run.
facility
Set the syslog facility to log to.
LZO compress flows in output file.
BZIP2 compress flows in output file.
LZ4 compress flows in output file.
ZSTD compress flows in output file.
Legacy shorthand for -z=bz2.
Legacy shorthand for -z=lz4.
url
InfluxDB URL to write stats to, e.g. http://localhost:8086/write?db=mydb&u=user&p=pass . Only available if built with InfluxDB support.

EXIT STATUS

nfprofile returns 0 on success and 255 otherwise.

NOTES

This program is intended to be run by NfSen. Direct invocation is not recommended unless you know exactly how to configure profiles and their directories.

SEE ALSO

nfcapd(1), nfdump(1), nfreplay(1)

BUGS

No software without bugs! Please report any bugs back to me.

September 22, 2026 Linux 6.12.0-160000.37-default