HP-UX SNAplus2 R7 APPC Application Suite User's Guide
APING
Using APING
In this example:
-s 10000 specifies the size of the packet transmitted.
-i 2 requests two iterations.
-c 4 specifies the number of Send calls by each side before giving the partner permission to send.
The next figure, Figure 5–1,
Sample Output for APING, shows sample output from the
APING
program.
Figure 5–1 Sample Output for APING
Allocate duration: 0 ms
Program startup and Confirm duration: 720 ms
Duration Data Sent Data Rate Data Rate
(msec) (bytes) (KB/s) (mb/s)
-------- --------- --------- ---------
60 64000 1041.7 8.333
30 64000 2083.3 16.667
Totals: 90 128000 1388.9 11.111
Duration statistics: Min = 30 Ave = 45 Max =60
The value shown for the Allocate duration field in Figure 5–1, Sample Output for APING, is the length of time it
takes the Allocate call to return to the program. The next call in
APING is a Confirm call, which is timed to
determine the approximate program start up time of the partner transaction program.
The table output in Figure 5–1, Sample Output for APING, shows the duration and data transfer statistics for each
“ping” (Send and Receive cycle):
• The number of ping duration lines corresponds to the number of iterations requested by using the -i parameter.
(See Section 5.2.1, APING Parameters and Options.) This example uses two iterations, which is the default.
• Totals shows the overall data rate for all pings.
• Duration statistics shows a summary of the ping duration lines already displayed. This line shows the mini-
mum, average, and maximum ping duration in milliseconds.
5.2.1 APING Parameters and Options
You can use the following parameters and options with the aping command:
RemoteSystemID
This parameter identifies the partner computer on which the
APINGD provider program is running. The
RemoteSystemID (partner LU name) can be a fully qualified partner LU name (FQPLU), a CPI-C symbolic
destination name,oran
ANAME alias.
For more information about RemoteSystemID, see Section 1.2.2, Configuring Your System.
-m ModeName
The mode name. The default mode name is #INTER.
-s Size
This option specifies the size, in bytes, of the packet to be transmitted. The default is 100 bytes.
-i N
N is the number of iterations made. The default number of iterations is 2. The number of iterations is shown
in the output as the number of sets of timing information. You may want to increase this number to get a
larger sample of timings. Allowable values are 1 to 32767.
-c N
36