Advertisement

11.25.2004 at 11:41AM PST, ID: 21220428
[x]
Attachment Details

How to ping with Python / Linux ?

Asked by proximal in Python Scripting Language

Tags: python, ping

I have to write a script to monitor a mysql connection. Before I do this I want to test if my machine can access Internet by pinging the DNS server of my provider. I have seen very complicated ICMP functions. Does it not exist an obvious and easy to make a ping and return a boolean ?Start Free Trial
[+][-]11.25.2004 at 03:26PM PST, ID: 12677691

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Python Scripting Language
Tags: python, ping
Sign Up Now!
Solution Provided By: rjkimble
Participating Experts: 1
Solution Grade: C
 
 
[+][-]11.27.2004 at 12:26AM PST, ID: 12685049

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32