ping
Function
The ping command applies to the Linux operating system and is used to check network connectivity.
Format
ping [ parameter ]
Parameters
Parameter |
Description |
Value |
---|---|---|
parameter |
To obtain the detailed information and usage guide of the parameters, run the ping --help command. |
- |
Modes
Minisystem mode
Usage Guidelines
None
Example
Send a 1024-byte packet from local eth2 for three times.
Storage: minisystem> ping -I eth2 -c 3 -s 1024 10.46.169.135
PING 10.46.169.135 (10.46.169.135) from 10.46.169.134 eth2: 1024(1052) bytes of data.
1032 bytes from 10.46.169.135: icmp_seq=1 ttl=64 time=0.375 ms
1032 bytes from 10.46.169.135: icmp_seq=2 ttl=64 time=0.188 ms
1032 bytes from 10.46.169.135: icmp_seq=3 ttl=64 time=0.193 ms
--- 10.46.169.135 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 1999ms
rtt min/avg/max/mdev = 0.188/0.252/0.375/0.087 ms
System Response
None