getmonitorstats  getservicestate

Chapter 12: Using jagtool and jagant

getserverinfo

Description

Print status and version information for the server that you are connected to.

Syntax

Local mode support: No.

Command line:

getserverinfo connect-args [-version true|false] [-status true|false]

Ant build file:

<jag_getseverinfo [ version=”true|false” ] [ status=”true|false” ] />

Option

Description

Required

connect-args

Arguments to specify a connection to the server. See “Using connected mode”.

Yes

version

Whether to print the server version number.

No

status

Whether to print the server status, that is, whether the server is accepting regular client connections or in Admin mode.

No

See also

set_admin, set_ready, “Using Admin mode”





Copyright © 2005. Sybase Inc. All rights reserved. getservicestate