Does anyone have any code that will allow a script to tail a file located on a remote system that is “not” nfs mounted?
The code below will tail a file that is NFS mounted:
open (FH,”/tmp/file); for (;;) { while (<FH>) { print “$_\n”; } FH->clearerr; }
But how do I do this on a remote file system and still use filehandles?
Code tags and other markup added by GrandFather
In reply to How to tail file on remote host by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |