Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Perl > Perl Misc > log monitor

Reply
Thread Tools

log monitor

 
 
yuetwah2000@hotmail.com
Guest
Posts: n/a
 
      09-14-2006
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,

 
Reply With Quote
 
 
 
 
Tad McClellan
Guest
Posts: n/a
 
      09-14-2006
<> wrote:

> 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?


--
Tad McClellan SGML consulting
Perl programming
Fort Worth, Texas
 
Reply With Quote
 
 
 
 
yuetwah2000@hotmail.com
Guest
Posts: n/a
 
      09-14-2006
I want to find some source code that does that already, something like
/hostname/cgi-bin/tail-f?/tmp/log

Tad McClellan wrote:

> <> wrote:
>
> > 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?
>
>
> --
> Tad McClellan SGML consulting
> Perl programming
> Fort Worth, Texas


 
Reply With Quote
 
Paul Lalli
Guest
Posts: n/a
 
      09-14-2006
wrote:

PLEASE DO NOT TOP POST.

>
> Tad McClellan wrote:
>
> > <> wrote:
> >
> > > 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?

>
> 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

 
Reply With Quote
 
Tad McClellan
Guest
Posts: n/a
 
      09-14-2006

[ Please do not top-post! ]


<> wrote:
>> <> wrote:
>>
>> > I wanna write a simple perl cgi script

^ ^^^^^
^ ^^^^^

> 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.


--
Tad McClellan SGML consulting
Perl programming
Fort Worth, Texas
 
Reply With Quote
 
Mumia W.
Guest
Posts: n/a
 
      09-14-2006
On 09/14/2006 09:04 AM, wrote:
> 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

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting 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 Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to log independently of other webapps using log4j? Also, reading from log file from within servlet? unomystEz Java 0 11-19-2006 10:42 AM
My.Log.Writeexception not writing to Application Event Log. =?Utf-8?B?VG9tIFdpbmdlcnQ=?= ASP .Net 0 01-20-2006 06:41 PM
Log On Screen Changed. No More Auto-Log On. Jerry G. Computer Support 2 10-22-2004 09:58 AM
Urgent Pls: Facing problem in reading Log information from Log file, created by IIS Amratash ASP .Net 0 04-13-2004 09:08 AM
Need help on the Permissions needed to log to Event Log from ASP.NET? Henrik_the_boss ASP .Net 0 11-05-2003 10:14 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57