pw system portcheck
Run the pw system portcheck command to check the port availability of the specified component.
Syntax
Notes:
- If you do not specify any component host details, the command checks the availability of the Infrastructure Management Server ports.
- (Applicable only to TrueSight Infrastructure Management version 11.3.02 and later) Enter the <host> and <port> details to check a specific component's port availability.
(Applicable only to TrueSight Infrastructure Management version 11.3.02 and later) When you want to check a specific component's port availability, you can specify the timeout value in milliseconds. The timeout value is optional. The default timeout is 5000 ms. You can change this default value by setting the parameter in the pronet.conf file located in the <Infrastructure Management Server Installation Directory>\custom\conf directory as shown in the following example:
portcheck.remote.timeout.milliseconds=7000
Examples
Example 1
The following command checks the availability of the Presentation Server's port number 1900:
In the preceding command, the timeout period specified is 6000 ms.
Output
Example 2
The following command checks the availability of the Presentation Server's port number 99999:
The preceding command considers the default timeout value that is 5000 ms.
Output
Example 3
The following command checks the availability of the Infrastructure Management Server ports:
The command checks the default ports of the Infrastructure Management Server:
Component | Default port number |
---|---|
Rate | 15000 |
Agent port | 12124 |
JServer Event Server | 9149 |
JMS | 8093 |
Log Server | 12141 |
Staging | 3183 |
JNDI | 1100 |
Database | 2638 |
Agent controller | 12123 |
Tomcat connector | 8080 |
High-availability | 10590 |
Output