diff options
| author | thibauth <thibauth@30fcff6e-8de6-41c7-acce-77ff6d1dd07b> | 2011-08-25 16:12:58 +0000 |
|---|---|---|
| committer | thibauth <thibauth@30fcff6e-8de6-41c7-acce-77ff6d1dd07b> | 2011-08-25 16:12:58 +0000 |
| commit | 8b62728dfdaee2f7344ecd9961493fa7927a3e27 (patch) | |
| tree | f976cc577b99cb36fe2650a6b4ee6d2e46d46531 /planetlab/ping.sh | |
| parent | b66ef48aa1744c9bcc971825930e020dd88c2606 (diff) | |
| download | pacemaker-8b62728dfdaee2f7344ecd9961493fa7927a3e27.tar.gz | |
ping
git-svn-id: https://scm.gforge.inria.fr/svn/pacemaker@69 30fcff6e-8de6-41c7-acce-77ff6d1dd07b
Diffstat (limited to 'planetlab/ping.sh')
| -rwxr-xr-x | planetlab/ping.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/planetlab/ping.sh b/planetlab/ping.sh new file mode 100755 index 0000000..dfe7cf2 --- /dev/null +++ b/planetlab/ping.sh @@ -0,0 +1,5 @@ +#!/bin/bash +while true; do + ping -c 1 -W 10 -n www.google.com > /dev/null && echo $(date +%s) >> ping.txt + sleep 60 +done |
