Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: POE::FollowTail and xterm

by moklevat (Priest)
on Apr 16, 2008 at 15:30 UTC ( #680834=note: print w/ replies, xml ) Need Help??


in reply to POE::FollowTail and xterm

If I understand correctly, you would like to use this followtail script to monitor several log files, and you would like to launch a separate xterm for each separate log file. This is fairly straightforward and you could simply shell script the launching of the followtail script

#!/bin/bash xterm -hold -e /path/to/follow-tail.pl /var/log/httpd/access_log > /d +ev/null & xterm -hold -e /path/to/follow-tail.pl /var/log/httpd/error_log > /de +v/null &
Is this what you had in mind? I thought briefly that you might want a separate xterm for each message, but that could generate thousands of xterms very quickly, and thus would be silly (to use the technical term).


Comment on Re: POE::FollowTail and xterm
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://680834]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (5)
As of 2015-07-05 14:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (67 votes), past polls