|
|
|
|
SynopsisDetermines if the specified server is currently running. Syntaxcheck_server_exists(server_id) Description
The check_server_exists command allows the user to verify that a chips server is running before attempting to connect to it. The call can be used while the client is already connected to a different server without having to first disconnect. The routine returns True if the requested server exists and False otherwise. If the server does not exist, the routine may take several seconds to return a value, since the request needs to time out. The list_servers command ("ahelp py.chips list_servers") can be used to find out all the ChIPS servers that are currently running on a machine. Example
chips> check_server_exists("ChipsServer_17991_1")
True
chips> check_server_exists("ChipsServer_7358_1")
FalseTwo servers are checked: the first is running and the second doesn't exist. BugsSee the bugs pages on the ChIPS website for an up-to-date listing of known bugs. See Also
|
![]() |
The Chandra X-Ray
Center (CXC) is operated for NASA by the Smithsonian Astrophysical Observatory. 60 Garden Street, Cambridge, MA 02138 USA. Email: cxcweb@head.cfa.harvard.edu Smithsonian Institution, Copyright © 1998-2004. All rights reserved. |