Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for I in `awk -e '{print $3}' hosts`; do ping -c 3 $I; done
- PING 172.24.16.11 (172.24.16.11) 56(84) bytes of data.
- From 172.24.16.13 icmp_seq=1 Destination Host Unreachable
- From 172.24.16.13 icmp_seq=2 Destination Host Unreachable
- From 172.24.16.13 icmp_seq=3 Destination Host Unreachable
- --- 172.24.16.11 ping statistics ---
- 3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 2000ms
- pipe 3
- PING 172.24.16.12 (172.24.16.12) 56(84) bytes of data.
- From 172.24.16.13 icmp_seq=1 Destination Host Unreachable
- From 172.24.16.13 icmp_seq=2 Destination Host Unreachable
- From 172.24.16.13 icmp_seq=3 Destination Host Unreachable
- --- 172.24.16.12 ping statistics ---
- 3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 1999ms
- pipe 3
- PING 172.24.16.13 (172.24.16.13) 56(84) bytes of data.
- 64 bytes from 172.24.16.13: icmp_seq=1 ttl=64 time=0.009 ms
- 64 bytes from 172.24.16.13: icmp_seq=2 ttl=64 time=0.020 ms
- 64 bytes from 172.24.16.13: icmp_seq=3 ttl=64 time=0.020 ms
- --- 172.24.16.13 ping statistics ---
- 3 packets transmitted, 3 received, 0% packet loss, time 1999ms
- rtt min/avg/max/mdev = 0.009/0.016/0.020/0.006 ms
- PING 172.24.16.14 (172.24.16.14) 56(84) bytes of data.
- 64 bytes from 172.24.16.14: icmp_seq=1 ttl=64 time=0.212 ms
- 64 bytes from 172.24.16.14: icmp_seq=2 ttl=64 time=0.111 ms
- 64 bytes from 172.24.16.14: icmp_seq=3 ttl=64 time=0.111 ms
- --- 172.24.16.14 ping statistics ---
- 3 packets transmitted, 3 received, 0% packet loss, time 1999ms
- rtt min/avg/max/mdev = 0.111/0.144/0.212/0.049 ms
- PING 172.24.16.15 (172.24.16.15) 56(84) bytes of data.
- From 172.24.16.13 icmp_seq=1 Destination Host Unreachable
- From 172.24.16.13 icmp_seq=2 Destination Host Unreachable
- From 172.24.16.13 icmp_seq=3 Destination Host Unreachable
- --- 172.24.16.15 ping statistics ---
- 3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 2000ms
- pipe 3
- PING 172.24.17.8 (172.24.17.8) 56(84) bytes of data.
- From 172.24.16.13 icmp_seq=1 Destination Host Unreachable
- From 172.24.16.13 icmp_seq=2 Destination Host Unreachable
- From 172.24.16.13 icmp_seq=3 Destination Host Unreachable
- --- 172.24.17.8 ping statistics ---
- 3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 1999ms
- pipe 3
- PING 172.24.16.9 (172.24.16.9) 56(84) bytes of data.
- From 172.24.16.13 icmp_seq=1 Destination Host Unreachable
- From 172.24.16.13 icmp_seq=2 Destination Host Unreachable
- From 172.24.16.13 icmp_seq=3 Destination Host Unreachable
- --- 172.24.16.9 ping statistics ---
- 3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 1999ms
- pipe 3
- PING 172.24.16.10 (172.24.16.10) 56(84) bytes of data.
- From 172.24.16.13 icmp_seq=1 Destination Host Unreachable
- From 172.24.16.13 icmp_seq=2 Destination Host Unreachable
- From 172.24.16.13 icmp_seq=3 Destination Host Unreachable
- --- 172.24.16.10 ping statistics ---
- 3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 1999ms
- pipe 3
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement