in reply to SSH and checking log files
How about something like:
ssh server.example.com \ cat_partial.pl /var/log/maillog 62548 \ | ./maillog_parse.pl
You could write a small perl script (cat_partial.pl) that will execute on the server, doing your seeks and rotation checks based on command line arguments. (The example above would seek to 62548.)
|
|---|