log monitor

Discussion in 'Perl Misc' started by yuetwah2000@hotmail.com, Sep 14, 2006.

  1. Guest

    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,
     
    , Sep 14, 2006
    #1
    1. Advertising

  2. <> 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
     
    Tad McClellan, Sep 14, 2006
    #2
    1. Advertising

  3. Guest

    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
     
    , Sep 14, 2006
    #3
  4. Paul Lalli Guest

    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
     
    Paul Lalli, Sep 14, 2006
    #4
  5. [ 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
     
    Tad McClellan, Sep 14, 2006
    #5
  6. Mumia W. Guest

    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
     
    Mumia W., Sep 14, 2006
    #6
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Henrik_the_boss
    Replies:
    0
    Views:
    2,661
    Henrik_the_boss
    Nov 5, 2003
  2. Kevin

    Monitor/log UDP traffic?

    Kevin, Nov 4, 2003, in forum: Java
    Replies:
    5
    Views:
    6,096
    Moonshadao
    Nov 5, 2003
  3. m
    Replies:
    2
    Views:
    415
    Shawn Milochik
    Aug 6, 2008
  4. ScottZ
    Replies:
    2
    Views:
    362
    Jorgen Grahn
    Nov 2, 2008
  5. BradenM - Sonoma Computer

    Writing a system log monitor

    BradenM - Sonoma Computer, Mar 27, 2007, in forum: Perl Misc
    Replies:
    0
    Views:
    76
    BradenM - Sonoma Computer
    Mar 27, 2007
Loading...

Share This Page