Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.
One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.
Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.
while read line; do $line echo $line | cut -d' ' -f1 index=$? echo $line | cut -d' ' -f2 routerip=$? echo $line | cut -d' ' -f3 serverip=$? ping -c1 $routerip | grep -q "64 bytes from $routerip" routerstatus=$? ping -c1 $serverip | grep -q "64 bytes from $serverip" serverstatus=$? #echo $index #echo $routerip #echo $serverip #echo "$index Router ($routerip) ping status: $routerstatus" #echo "$index Server ($serverip) status: $serverstatus" #echo "$index $routerstatus $serverstatus" >>output.txt; done < input.txt end
|Get a Perl script to return content from a module||7||82|
|Remove Settings button from start menu (Windows 10)||1||244|
|Best way to split and output to csv in bash||2||67|
|Using an inventory file in a script||7||36|