PK œqhYî¶J‚ßFßF)nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/ $#$#$#

Dir : /proc/thread-self/root/proc/self/root/proc/self/root/opt/sharedrads/oldrads/extras/
Server: Linux ngx353.inmotionhosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64
IP: 209.182.202.254
Choose File :

Url:
Dir : //proc/thread-self/root/proc/self/root/proc/self/root/opt/sharedrads/oldrads/extras/pingcheck.sh

#!/bin/bash
PINGTIME="0.9"
if [ -z $1 ];
then
    echo "you must provide a server to check"
    exit;
fi
if [ ! -z $2 ];
then
    PINGTIME=$2
fi;
if (echo $@|grep "\-v"); then
    echo "$@"
    echo "PINGTIME IS $PINGTIME"
    echo "HOST IS $1"
fi
echo "Starting ping test - pinging $1 every $PINGTIME seconds for 100 packets, please be patient..."
echo "You should be running traceroutes from machine A -> machine B and from machine B -> Machine A "
echo "to look for routing issues right now too."
while [ 1 -eq 1 ];
do
    echo $(date) - $(hostname) - $1 - $(ping -c100 -i $PINGTIME $1 |  grep loss) | tee -a $1.pinglog.$(date --iso)
done