Sockpid is a utility that is used to identify any running processes that are using a socket (or port) that you want to pass as a parameter for a message channel. If the port is in use by a process, the sockpid retrieves the process number, socket name, and the port number. The sockpid shell script must be executed by user root.
If a port conflict occurs during a message channel connection, the POWERpackTrans in the message channel automatically starts the sockpid utility, logs the script output to the log file and terminates its connection. Please refer to Resolving Port Conflicts in the BES User Guide for more information.
sockpid port [-h] [-v] [-d]
Log File: $PPLOG/POWERpack_Log
Parameter: Port: number of the port that you want to check to see if any processes are using it
Note: If you do not provide a port number, sockpid prompts for a port number.
‐d: enables debug mode; all commands are logged to stdout (e.g., sockpid‐d)
‐h: displays help (e.g., sockpid ‐h)
‐v: displays the version number (e.g., sockpid ‐v)