From: Bill R. <wri...@ll...> - 2007-11-05 16:14:58
|
With Webmin I have setup some simple scripts with Custom Commands. For example: tail -f /var/log/messages to give a live view of whats going on with syslog and all works great. I see live data as it happens line by line. =20 I do have a problem with the following Custom Command: "tail -f /var/log/messages |grep $lookfor"=20 =20 >From the terminal prompt "tail -f /var/log/messages |grep "Nov 5" works as expected line by line live data. From within Webmin Custom Command interface I dont see anything until about 26 or 27 lines buffer up. It comes in chunks of 26 or 27 lines. The problem comes when only one line is matched you will never see the data. I dont see line by line like I do from a terminal prompt. =20 Anyone have a simple fix? =20 Bill =20 |