Page tree

This task describes how to view all the network addresses. Along with the local address, it provides the protocol version in use, the remote address, the sizes of the send window and send queue, the sizes of the receive window and receive queue, and the internal state of the address.

To View Network Addresses

  1. Access the NETWORK application instance menu as described in Accessing KM Commands and InfoBoxes.
  2. Select List Network Addresses. BMC PATROL writes the results to a BMC PATROL task object, List Network Addresses, in the NETWORK container.
  3. Access the List Network Addresses task object as described in Accessing KM Commands and InfoBoxes and view the results. Your results should resemble this example:
# PSL Serial No.: ##########
<NOT INTERACTIVE>
 
List network address 
 
TCP: IPv4
 Local Address        Remote Address      Swind Send-Q Rwind Recv-Q  State
-------------------- -------------------- ----- ------ ----- ------  -------
172.19.203.130.32785 172.19.203.130.32774 32768      0 32768      0  CLOSE_WAIT
127.0.0.1.32788      127.0.0.1.32783      32768      0 32768      0  ESTABLISHED
127.0.0.1.32783      127.0.0.1.32788      32768      0 32768      0  ESTABLISHED
127.0.0.1.32791      127.0.0.1.32790      32768      0 32768      0  ESTABLISHED
 
Active UNIX domain sockets
Address  Type          Vnode     Conn  Local Addr      Remote Addr
30000b8fa08 stream-ord 30000a3d6e8 00000000 /tmp/.X11-unix/X0 
30000b8fba8 stream-ord 00000000 00000000 
30000b8fd48 stream-ord 30000b5a7f8 00000000 /tmp/jd_sockV6 

Output Format

The output has the following format. Following table defines each field.

TCP: IPv4
 Local Address        Remote Address    Swind Send-Q Rwind Recv-Q  State
...
Active UNIX domain sockets
Address  Type          Vnode     Conn  Local Addr      Remote Addr
 

List Network Addresses Command Output Format

FieldDescription
TCPThe version of TCP/IP
Local AddressLocal address expressed as a number
Remote AddressRemote address expressed as a number
SwindSize of the send window in bytes
Send-QThe count of bytes not acknowledged by the remote host
RwindSize of the receive window in bytes
Recv-QThe count of bytes not copied by the user program connected to this socket
State

Internal state of the socket

ESTABLISHED – Established connection

SYN_SENT – Actively attempting to establish a connection

SYN_RECV – Being initialized. 

FIN_WAIT1  Closed, and the connection is shutting down

FIN_WAIT2 – Closed, and the socket is waiting for a shutdown from the remote end

TIME_WAIT – Waiting after close for remote shutdown retransmission

CLOSED – Not being used

CLOSE_WAIT – The remote end has shut down, waiting for the socket to close

LAST_ACK – The remote end shut down, the socket is closed, and waiting for acknowledgement

LISTEN – Listening for incoming connections

CLOSING – Both sockets are shut down but all the data sent has not been sent

UNKNOWN – State is unknown

Active UNIX Domain Sockets
AddressAddress of the socket
Type

Types of socket (values vary based on platform for instance stream can be represented as SOCKET_STREAM on Linux and Stream_ord on Solaris)

  • dgram The socket is used in Datagram (connectionless) mode
  • stream – A stream (connection) socket
  • raw – A raw socket
  • rdm – Serves reliably-delivered messages
  • seqpacket – A sequential packet socket
  • packet – A RAW interface access socket
  • unknown – Unable to identify socket type
VnodeVirtual node
ConnConnection type
Local AddrThe local hostname and port number of the socket
Remote AddrRemote address

Related topics

Network (NETWORK)

Network Interface

Network Addresses

Network Protocol

Network Traffic

Network Management

Address Resolution Protocol (ARP)

UNIX to UNIX Communication Protocol (UUCP)

  • No labels