Chandra X-Ray Observatory
Skip to the navigation links
Last modified: December 2013

AHELP for CIAO 4.10 ChIPS v1


Context: server


Retrieves the id of the ChIPS server to which the client is connected.




The get_server_id command allows the user to retrieve the id of the ChIPS server to which the client is connected. This is useful to know when connecting to the same server from several clients (e.g. the ChIPS GUI, multiple xterms, or an xterm and an application such as prism).


chips> get_server_id()

The server id for this client is "ChipsServer_6979_1".

Behavior when run with no server

If the client is not connected to any server - either because no server has yet been started or disconnect() has been called - then a new server will be started and the id of this server will be returned. This routine can therefore not be used to determine whether a client is connected to a server or not.

This behavior may be changed in a future release.


See the bugs pages on the ChIPS website for an up-to-date listing of known bugs.

See Also

check_server_exists, connect, create_server, disconnect, get_server_cwd, list_servers, lock, unlock

Last modified: December 2013
Smithsonian Institute Smithsonian Institute

The Chandra X-Ray Center (CXC) is operated for NASA by the Smithsonian Astrophysical Observatory. 60 Garden Street, Cambridge, MA 02138 USA.   Email: Smithsonian Institution, Copyright © 1998-2017. All rights reserved.