Removes a socket that does not have a file descriptor.
rmsock Address TypeofAddress
The rmsock command removes a socket that does not have a file descriptor. It accepts a socket, tcpcb, inpcb, ripcb, or rawcb address and converts it to a socket address. All opened files in every process are then checked to find a match to the socket. If a match is not found, an abort action is performed on that socket regardless of the existence of the socket linger option. The port number held by the socket is released. If a match is found, its file descriptor and status of the owner process are displayed to the user. The results are passed to syslogd and recorded in the /var/adm/rmsock.log file.
rmsock 70054edc socket
You do not need to specify the type of the socket. It can be a tcpcb, udp, raw, or routing socket.
rmsock 70054edc inpcb
rmsock 70054ecc tcpcb
/usr/sbin | Directory where the rmsock command resides. |
/var/adm/rmsock.log | Contains the rmsock.log file. |
The syslogd daemon.