SHOW_PORTS

swadm command

Syntax

swadm SHOW_PORTS [-m Machine_ID] [-p Process_name]

Description

This command displays information about which ports are currently being used by processes on this iProcess Engine node. This information is read from the port_range_active table.

Options

Option

Description

-m Machine_ID

The server ID of the machine that you want to show details for.

You can use the SHOW_SERVERS command to find out the server IDs of servers in this iProcess Engine node.

If this parameter is omitted the local machine is used.

-p Process_name

The logical process name (in full) that you want to show details for.

You can use the SHOW_PROCESSES command to find out the different logical process names.

If this parameter is omitted all iProcess Engine processes that currently have port/RPC numbers allocated are shown.

Output

The command displays the current port number and RPC number allocations for the specified parameters. For example:

----------------------------------------------------------------------------
Machine ID Process Name Process Instance Port Number RPC Number Process ID
----------------------------------------------------------------------------
1 RPCBG 1 1147 1073745660 3836
1 RPC_POOL 1 1196 1073746828 5004
1 RPC_TCP_LI 1 1121 391875 3784
1 WIS 1 1145 1073745652 3828
1 WIS 2 1138 1073745636 3812
1 WQS 1 1131 1073744748 2924

Errors

The following error messages may be returned by this command.

Message

Description

Unable to access the port_range table.

swadm cannot read the information from the iProcess Engine database. Examine the sw_error and sw_warn files, located in the SWDIR\logs directory, for more information about the cause of the error.

See Also

ADD_RANGE, DEL_RANGE, MOD_RANGE, SET_RANGE, SHOW_RANGES