Replies: 1 comment 1 reply
-
If you want to run a command at the end of each interval, this is the hook to use.
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Can someone explain to me what the -x switch is really for and what command it triggers?
I can't understand it from the documentation :(
With nfcapd -x set to %u, I get the following entries in the logs:
Dec 16 12:15:00 nlogk nfcapd[29536]: Can't execvp: 1702725240: No such file or directory
Manual:
-x command
At the end of every -t interval and after the file rotate has completed, nfcapd runs the command command. The string for command may contain the following place
holders, which are expanded before running:
%f File name of new data file including any sub hierarchy.
%d Top flowdir. The full path of the new file is: %d/%f
%t Time slot string in ISO format e.g. 201107110845.
%u Time slot string in UNIX time format.
%i Identification string ident string supplied by -I
Beta Was this translation helpful? Give feedback.
All reactions