Simple python script for network availability
1 year ago
8
#network availability check script
import os
print ("This is a network availability checker script\n")
ip_check = input("Please enter host IP or URL, sparated by space and press Enter\n").split()
for ip in ip_check:
response = os.popen (f"ping {ip}").read()
if " Received = 4" in response:
print (f"HOST IS UP {ip} Ping was Successful")
else:
print (f"HOST IS DOWN {ip} Ping was Unsuccessful")
print ("\nThank you and have a nice day!")
Loading comments...
-
LIVE
Fresh and Fit
2 hours agoAfter Hours w/ BrandonJamal & Tommy Sotomayor
24,427 watching -
34:19
Alexis Wilkins
9 hours agoBetween the Headlines with Alexis Wilkins: The Verdict and More
18K27 -
1:11:21
Kim Iversen
8 hours agoWW3?!? Is The West Secretly Behind Another Color Revolution Aimed At Toppling Russia? | Biden Maniacally Bombs Yemen and Russia
47.1K52 -
1:36:46
Roseanne Barr
6 hours agoFor Love of Country with Tulsi Gabbard | The Roseanne Barr Podcast #50
61K115 -
33:59
TudorDixon
13 hours agoA Story of Sacrifice and Service with Joe Kent | The Tudor Dixon Podcast
17.4K4 -
27:22
The Nima Yamini Show
5 hours agoAlpha Nima Crushes Nick Fuentes & Business Tips with Dylan
10.4K5 -
1:19:23
Mally_Mouse
5 hours agoLet's Hang - Cosplay Stream!!
26.4K1 -
1:05:06
Lou Dobbs
11 hours agoLou Dobbs Tonight 5-31-2024
39K23 -
1:42:57
The Quartering
11 hours agoDonald Trump Conviction BACKFIRES, Massive Funds Raised, Democrats Swap Parties & More
74.3K80 -
26:11
Stephen Gardner
9 hours ago🔴HUGE TRUMP WIN! Biden, Hillary, Obama ALL IN BIG TROUBLE NOW!!
76K426