Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > piping into lanosd

piping into lanosd
Thread Tools
cla
Mac Enthusiast
Join Date: Mar 2000
Status: Offline
Reply With Quote
Dec 23, 2004, 05:34 PM
 
lanosd is a simple system messaging utility, which produces nice message boxes.
The syntax may look like:

# lanosd "test:quadrant=5;delay=20;icon=warning;msg=Bac kup Failed"

The line above will display the message "Backup Failed" in quadrant 5(?) in the os x desktop for 20 seconds.

Now for my question: I want to pipe the apache web server log to be "lanosd:ed" continuously. Something like

# lanosd "test:quadrant=5;delay=20;icon=warning;msg=$(t ail -f /var/www/logs/httpd/access_log)"


Of course, that doesn't work =]

Any suggestions?
     
Senior User
Join Date: Jan 2001
Location: Mahwah, NJ USA
Status: Offline
Reply With Quote
Dec 23, 2004, 07:17 PM
 
Ermm... pardon me for asking the obvious but why not just simply run:

tail -f /var/www/logs/httpd/access_log

in a plain old terminal and be done with it?
-DU-...etc...
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 11:16 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2