Assuming you are on a UNIX/Linux machine. You can try the tail command using ssh:
ssh hostname tail -1 /path/to/file
Note: You will have to add public key to your environments for scripting functionality.
Do you have Active Perl installed in your windows machine.
I assumed its windows by looking at the code.
Whats the extension of the file name you are executing within the command line?
Is it ".pl" without the quotes?
FYI, I had no issues executing the script u mentioned.
I am maintaining a intra net site with a few hundred users.
Some time during the day my site becomes unresponsive.
When I do a check on http://hostname/server-status I observe that there are more than 1025 calls and most of them are in 'W' state otherwise known as 'sending reply'
Is it possible...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.