Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: SSH and checking log files

by pzbagel (Chaplain)
on Aug 10, 2004 at 19:49 UTC ( [id://381731]=note: print w/replies, xml ) Need Help??


in reply to SSH and checking log files

So, how would one tell and seek over an ssh connection?

You can't. The realistic solution is to write a script that can replace the 'cat' in your command-line with a command that will print the "new" log lines that you want to see. There is probably a myriad of ways to do that.

Also, using a second script it will be trivial to take log-rotation and other factors into account since you will be on the local system and could check that type of stuff easily.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (3)
As of 2024-04-26 03:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found