listening
Command Reference
Description
hecks for the existence of a TCP/IP listener at the specified host and port.
static: This command can be run outside of an object context.
Usage
ctl -m netutil -c listening [-checkevery <500>] [-maxwait <1>] [-maxwaitunit <second>] -port <> [-server <localhost>]
Options
Option | Description | Type | Default |
---|---|---|---|
checkevery |
The amount of time to wait between each test of the conditions.
Defaults to 500 checkeveryunits. |
string | 500 |
maxwait | The maximum amount of time to wait. | string | 1 |
maxwaitunit |
The unit of time that must be used to interpret the value of the maxwait attribute.
Allowed values for maxwaitunit: millisecond, second, minute, hour, day, week |
string | second |
port | The port number to connect to. | string | |
server | The DNS name or IP address of the server. | string | localhost |