The cstool utility can ping one of the following:
The HTTP process, cshttpd.
The administration service, csadmind
The Event Notification Service (ENS) process, enpd.
The cstool utility can also display its version number.
The cstool can not be used to ping the following processes:
The notification process, csnotifyd.
The DWP process, csdwpd.
To refresh the configuration, use stop-cal, then start-cal to stop and then restart Calendar Server.
Do not use cstool to refresh the configuration. It could cause unpredictable negative outcomes.
For more information, see Starting and Stopping Calendar Server.
Calendar Server must be running.
You must be logged in as the user and group under which Calendar Server is running (such as icsuser and icsgroup) that was specified during installation, or as root.
cstool [-q|-v] [-h host] [-p port] [-t timeout] ping [http|ens] cstool [-q|-v] [-h host] version |
The following table describes cstool commands and their parameters.
Table D–36 cstool Utility Commands
Command |
Parameters |
Description |
---|---|---|
ping |
[http|admin|ens] neither parameter specified |
Ping the cshttpd process, the csadmind process, or the ENS process (enpd) Ping the server where Calendar Server is located. |
version |
none |
Display the version of the utility. |
The following table describes the cstool utility options.
Table D–37 cstool Utility Command Options
Ping the cshttpd service:
cstool ping http
Ping ENS on the server with host name sesta:
cstool -h sesta ping ens
Ping the machine with the host name calserver to see if the Calendar Server cshttpd service is listening on port 80:
cstool -p 80 -h calserver -p 80 ping http
Force a local Calendar Server to refresh all service’s configurations:
cstool refresh