Support Centre

Find articles, help and advice.

Welcome, Guest Login

Support Center

BES - What is sockpid?

Last Updated: Jan 22, 2015 02:24PM UTC
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]

Location: $PPHOME/bin
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.
Optional Parameters:
‐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)


Contact Us
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
Invalid characters found