NTX_CHINFO(1) — USER COMMANDS
NAME
ntx_chinfo − Deterministic Mapping Report display
SYNOPSIS
ntx_chinfo [ −d raw_device ] [ −u ] [ −h ] [ <range> ]
DESCRIPTION
The ntx_chinfo command gives network connection information for each channel on the specified channel range. The range may be specified in any of the following formats :
i. -<end_chan>
The start channel is assumed to be zero. the display ends at channel number end_chan.
ii. <start_chan>-
The end channel is assumed to be the last configured channel. The display begins at <start_chan> and ends at the last configured channel id on the ntx board.
iii. <start_chan>-<end_chan>
The entire range is specified. The display begins at <start_ chan> and ends at <end_chan>.
If no range is specified, the entire range as configured on the board is assumed. The display information shows the following parameters:
−Minor#
The minor device number of the port corresponding to the channel
−chan#
The channel number on the MVME339
−call_type
shows whether the channel is CALL_IN or CALL_OUT type
−service
The service assigned when a connection is established
−client_address
The internet address of the client holding the network connection on the channel. If no network connection is held, then the value corresponds to the assigned call-out address
−name
The name of the client holding the network connection
−stateThe state of the channel ...could be one or several among the following:
TCS_OPEN - The channel has been opened by the host
TCS_CLSD - The channel has been closed by the host ( may or may not yet have a network connection... See NET_CONN below )
TCS_CLOSI - The channel is closing .... waiting for the output data to drain
NET_RDERR - The network error on the input side of the connection
NET_WRERR - The network error on the output side of the connection
NET_CONN - The channel has a network connection although either or both sides of the connection may have been lost ( See NET_RDERR and NET_WRERR above )
NET_RECON - The channel connection has been maintained across a close and open command sequence from the host
NET_CALIN - A call-out channel is trying to establish network connection
OPTIONS
−draw device filename. This option overrides the default device name of /dev/xedt/mvme338_c0.
−udisplays usage and quits. Overrides all other options
−hdisplays header showing date, device name, its type and total number of channels configured on that device
EXAMPLES
ntx_chinfo -d /dev/xedt/mvme338_c1 -15
ntx_chinfo -d /dev/xedt/mvme338_c1 -h 200-
ntx_chinfo -d /dev/xedt/mvme338_c1 100-115
FILES
/dev/xedt/mvme338_c0
SEE ALSO
mvme338 (7),
ntx_chaddr (1),
ntx_pserv (1)