next up previous
Next: Some numbers Up: Returning to ground: real Previous: Environment variables

Output format

Six columns. The first is Netid, it denotes socket type and transport protocol, when it is ambiguous: tcp, udp, raw, u_str is abbreviation for unix_stream, u_dgr for UNIX datagram sockets, nl for netlink, p_raw and p_dgr for raw and datagram packet sockets. This column is optional, it will be hidden, if filter selects an unique netid.

The second column is State. Socket state is displayed here. The names are standard TCP names, except for UNCONN, which cannot happen for TCP, but normal for not connected sockets of another types. Again, this column can be hidden.

Then two columns (Recv-Q and Send-Q) showing amount of data queued for receive and transmit.

And the last two columns display local address and port of the socket and its peer address, if the socket is connected.

If options -o, -e or -p were given, options are displayed not in fixed positions but separated by spaces pairs: option:value. If value is not a single number, it is presented as list of values, enclosed to ( ... ) and separated with commas. F.e.


\begin{tscreen}
\begin{verbatim}timer:(keepalive,111min,0)\end{verbatim}
\end{tscreen}

is typical format for TCP timer (option -o).


\begin{tscreen}
\begin{verbatim}users:((X,113,3))\end{verbatim}
\end{tscreen}

is typical for list of users (option -p).


next up previous
Next: Some numbers Up: Returning to ground: real Previous: Environment variables