2014-02-07 20:15:16 +00:00
|
|
|
# ping
|
|
|
|
|
2016-01-07 17:31:27 +00:00
|
|
|
> Send ICMP ECHO_REQUEST packets to network hosts.
|
2014-02-07 20:15:16 +00:00
|
|
|
|
2016-01-07 17:31:27 +00:00
|
|
|
- Ping host:
|
2014-02-07 20:15:16 +00:00
|
|
|
|
|
|
|
`ping {{host}}`
|
|
|
|
|
2016-01-07 17:31:27 +00:00
|
|
|
- Ping host limiting the number of packages to be send to four:
|
2014-02-07 20:15:16 +00:00
|
|
|
|
|
|
|
`ping -c 4 {{host}}`
|
|
|
|
|
2016-01-07 17:31:27 +00:00
|
|
|
- Ping host, waiting for 0.5 s between each request (default is 1 s):
|
2014-02-07 20:15:16 +00:00
|
|
|
|
|
|
|
`ping -i 0.5 {{host}}`
|
2014-07-23 16:50:33 +01:00
|
|
|
|
2016-01-07 17:31:27 +00:00
|
|
|
- Ping host without trying to lookup symbolic names for addresses:
|
2014-07-23 16:50:33 +01:00
|
|
|
|
|
|
|
`ping -n {{host}}`
|