The snapshot function saves the counters' values and displays
those values. After the snapshot command is issued, the show
command can be used to display a comparison of the current
values and the registered values at later times.
The following command activates snapshot for the entity and
produces the snapshot output:
NCL> snap nsp port nsp$port_0000200f all counters
Snapshot node 0 NSP Port NSP$PORT_0000200F
at 1994-09-18-19:49:11.76078 - 04:00 I 52.08425
Counters
Creation Time = 1991-09-18-18:55:25.59899 - 04:00 I 52.08425
User Octets Received = 932
User Octets Sent = 246
User PDUs Received = 22
User PDUs Sent = 10
.
.
.
The following show command displays the snapshot for the
entity for which snapshot was activated:
NCL> show nsp port nsp$port_0000200f all counters
Show node 0 NSP Port NSP$PORT_0000200F
at 1994-09-18-19:49:11.76078 - 04:00 I 52.08425
Counters
Creation Time = 1994-09-18-18:55:25.59899 - 04:00 I 52.08425
Snapshot created at 1994-09-18-19:49:11.76078 - 04:00 I 52.08425
Actual Value Snapshot Value Difference
------------- --------------- ---------
User Octets Received 2414 932 1482
User Octets Sent 262 246 16
User PDUs Received 25 22 3
User PDUs Sent 11 10 1
. . . .
. . . .
. . . .
Snapshot information is only retained for the duration of an NCL
session. Therefore, the snapshot command and subsequent show
commands must be issued at the NCL> prompt rather than at the
DCL prompt. To gather snapshot information from a remote node,
you can either set the ncl default to the remote node entity or
include the nodename in each ncl command, as long as the
commands are issued within the same NCL session.