看板 FB_hackers 關於我們 聯絡資訊
>>> Try the --line-buffered option to grep. I've had a lot of luck with >>> it. Something like the following may work for you: >>> >>> # praudit /etc/auditpipe | grep --line-buffered -e "xxx" >>> >>> If you just want to pipe to a file, use something like: >>> >>> # praudit /etc/auditpipe | grep --line-buffered -e "$" >> file.log >>> >>> HTH >>> ----- >>> Eric F Crist >>> Secure Computing Networks >>> >>> >>> >> thx >> this not working >> wite up buffer-pipe to 4096 bytes >> > > Can I ask what is in the /etc/auditpipe file? > > ----- > Eric F Crist > Secure Computing Networks > > > # ls -l /etc/auditpipe ls: /etc/auditpipe: No such file or directory # ls -l /dev/auditpipe crw------- 1 root wheel 1, 92 Aug 17 11:05 /dev/auditpipe /Vladimir Ermakov _______________________________________________ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"