log monitor

Y

yuetwah2000

Hi,
I wanna write a simple perl cgi script that will imitate the behavior
of `tail -f` in unix, log entries are appended at the bottom of the
file, I want to create a page that will automatically scroll down. Can
you shed some light?
Rgds,
 
T

Tad McClellan

I wanna write a simple perl cgi script that will imitate the behavior
of `tail -f` in unix,


Your Question is Asked Frequently:

perldoc -q tail

How do I do a "tail -f" in perl?
 
Y

yuetwah2000

I want to find some source code that does that already, something like
/hostname/cgi-bin/tail-f?/tmp/log
 
P

Paul Lalli

(e-mail address removed) wrote:

PLEASE DO NOT TOP POST.
I want to find some source code that does that already, something like
/hostname/cgi-bin/tail-f?/tmp/log

There is code in the answer to the FAQ that Tad pointed to you. Can
you explain what is not sufficient about it?

If you're looking for a 100% already-written script, you are in the
wrong place. This group assists people with writing and debugging
their own code, not finding others'.

Paul Lalli
 
T

Tad McClellan

[ Please do not top-post! ]


^ ^^^^^
^ ^^^^^
I want to find some source code that does that already,
^ ^^^^
^ ^^^^


That isn't what you asked for the first time.



You have made 2 posts here so far, both of them asking a FAQ.

Consider not doing that anymore.
 
M

Mumia W.

Hi,
I wanna write a simple perl cgi script that will imitate the behavior
of `tail -f` in unix, log entries are appended at the bottom of the
file, I want to create a page that will automatically scroll down. Can
you shed some light?
Rgds,

perldoc -q tail
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top