Release Date: 1 February 2008
Namethorping - verify the existence of a server
Unix Synopsisthorping [options] server
DescriptionThis program attempts to open the thorserver, and reports on the success or failure of the operation.
thorping connects to a Thor server.If no userid is specified as part of the server specification (e.g. "crawdad:thor", "crawdad", or no server name at all), then the default userid becomes the special user "thorinfo". This is the "restricted userid," which the server normally permit to connect with no password. If the login succeeds, a short message is sent on a round trip to the server (see dt_ping(3)) to verify that communications are working. Then the connection to the server is closed.
This function is primarily used to verify the existence of a server, to verify that your system is configured correctly, and to verify that you have the correct passwords for the object (e.g. for use in a shell script).
The manual page for "thorfilters" describes features common to this and all "thorfilter" programs; refer to it for more information about this program and the syntax of "server".
Returns the process id of the server being pinged. This is useful for administration purposes. Default is FALSE.STANDARD THORFILTER OPTIONS:
The following options are common to most or all "thorfilter" programs. They are described in more detail in thorfilters(1).
TRUE means don't allow passwords on the command line (require interactive entry). Default: TRUE.-THOR_IPC_SERVICE service
Names the default TCP/IP service or "port" of the Thor server. Default: thor.
Return ValueThis program's return status is zero if the operation succeeded, and one if it failed.
Tries to connect to a Thor server on the current host using the default service "thor" and userid "thorinfo".