tail -f /var/log/messages | grep --line-buffered -i "snmp" >> /data/SNMPLogs/snmp_$DateTimeStamp.log &
for greping streaming data using grep
use "--line buffered", in case streaming data is too high.
for greping streaming data using grep
use "--line buffered", in case streaming data is too high.
No comments:
Post a Comment