Solved

Perl ping script

Posted on 2007-04-05
2
2,814 Views
Last Modified: 2008-01-09
I was wondering if there was a Perl script that can ping one of my servers to make sure that it is alive and send me a net message if the server goes out.  I am on a windows environment and would like to use perl to do this. Can I get some help with this please
0
Comment
Question by:leotron
2 Comments
 
LVL 84

Accepted Solution

by:
ozo earned 500 total points
ID: 18860630
you ccould do qx`ping $server` or
use Net::Ping
0
 
LVL 1

Author Comment

by:leotron
ID: 18860664
Great thank you. I should have checked in cpan firs. thanks though
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

On Microsoft Windows, if  when you click or type the name of a .pl file, you get an error "is not recognized as an internal or external command, operable program or batch file", then this means you do not have the .pl file extension associated with …
I have been pestered over the years to produce and distribute regular data extracts, and often the request have explicitly requested the data be emailed as an Excel attachement; specifically Excel, as it appears: CSV files confuse (no Red or Green h…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now