DDPSTAT(8C) — MAINTENANCE COMMANDS
NAME
ddpstat − display DDP interface statistics
SYNOPSIS
ddpstat [ −m seconds ]
DESCRIPTION
Ddpstat displays the set of statistics counters maintained by the AppleTalk Datagram Delivery Protocol interface. Ddpstat with no arguments prints the numbers once and exits. The −m N option causes ddpstat to produce and periodically update a screen display showing the counter values. The number N is the display refresh period in seconds.
Here is a sample display:
AppleTalk Statistics Counters
calls to ddpintr = 118339
times through ddpintr= 118401
short dds received = 67433
rtmps received = 67191
length too short = 0
length too long = 0
null interface = 0
packet not for this net = 2
packets forwarded = 0
packet with no ddpcb = 43
packets rejected by socket = 12
bad exit from ddpintr = 57
These counter values are concerned with DDP packet reception. Ddpintr refers to the DDP interrupt routine which is called once for each DDP packet received. Rtmp here stands for Routing Table Maintenance Protocol packet. Ddpcb means DDP control block. Packet rejected by socket means that a (UNIX) socket receive buffer didn’t have enough space to accommodate the incoming packet.
FILES
/dev/mem
SEE ALSO
ddp.4
Inside Appletalk
EXAMPLE
To display the statistics once a second:
ddpstat -m 1
Sun Release 4.0 — Last change: 23 November 1987