The JPing class is used to determine if services are running.
JPing can be run as a command line program, as follows:
java utilities.JPing System [ options ]
Options:
-help
Displays the help text.
The -help option may be abbreviated to -h or -?.
-service Service
Specifies the specific service to ping.
The -service option may be abbreviated to -s. The valid
services include: as-file, as-netprt, as-rmtcmd, as-dtaq,
as-database, as-ddm, as-central, and as-signon. If this
option is not specified, by default, all of the services
will be pinged.
-ssl
Specifies whether or not to ping the ssl port(s).
The default setting will not ping the ssl port(s).
-timeout
Specifies the timeout period in milliseconds.
The -timeout option may be abbreviated to -t. The default
setting is 20000 (20 sec).
Here is an example of calling JPing from the command line: