|-p||The process ID to signal.|
|-S||The signal number or name to send; default: TERM.|
|-s||The file size limit.|
|-w||The wait interval in seconds; default: 5.|
|-v||Verbose operation; display diagnostic messages.|
The operation of the bigfile utility is currently not affected by environment variables.
The operation of the bigfile utility is currently not affected by any files.
Kill a tcpdump process when its output goes over 100 KB:
bigfile -p pgrep tcpdump -s 102400 traffic.tcp
Send a hangup signal to a daemon as soon as possible if its been too verbose:
bigfile -S HUP -w 1 -p cat /var/run/d.pid -s 8000 /var/log/d.log
The bigfile utility was written by
.An Peter Pentchev in 2010.
.An Peter Penchev <email@example.com>
No, thanks! Still, if you should find any, please report them to the author :)
* Parse file size suffixes (k, m, ...) * Add subsecond precision for OSs that support it. * Periodic operation - a poor mans logrotate 8 ? :)