You can run PING/iX from the command line by using an INFO
string. The INFO string must contain the IP address of the remote
node, and optionally, the number of packets and number of bytes:
:RUN PING.NET.SYS;INFO=" ipaddress [,packets] [,bytes]"
Within the INFO string, commas are required to separate parameters.
The number of packets and bytes that can be sent are the same
as using the menu-driven option. The default number of packets is
a continuous stream, and the default number of bytes is 64.
Stopping PING/iX |
|
You can enter [CTRL-Y] at any time to exit
from PING/iX. If you send a continuous stream of packets, you must
enter [CTRL-Y] to stop sending packets. The program
exits without displaying the menu.
Example |
|
This example shows an INFO string containing the IP address,
and specifying five packets. The number of data bytes defaults to
64. The statistics displayed by PING/iX are also included.
:run ping.net.sys;info=" 15.13.131.59,5"
------ PING/iX (ICMP Echo Requestor) : Version B0300003 ------ PARAMETERS INPUT: ---------------------------------------------------------------
|
Remote IP address in hex :$0F0D833B Number of packets :5 Number of data bytes :Default of 64 bytes
|
--- PING $0F0D833B : 64 bytes packet(s), 5 packet(s) ---
|
64 bytes(s) from $0F0D833B : icmp_seq = 1, time = 26 ms 64 bytes(s) from $0F0D833B : icmp_seq = 2, time = 24 ms 64 bytes(s) from $0F0D833B : icmp_seq = 3, time = 23 ms 64 bytes(s) from $0F0D833B : icmp_seq = 4, time = 23 ms 64 bytes(s) from $0F0D833B : icmp_seq = 5, time = 24 ms
|
--- $0F0D833B PIN Statistics ---
|
5 packet(s) transmitted, 5 packet(s) received, 0 % packet loss round trip (ms) min/avg/max = 22/24/26
|