getStatus Command

Description

Shows the run status of all objects. The primary use of this command is to determine the run status of an object when it is executed with the & option. The getStatus command shows how long any in-progress objects have been running.

Command Syntax

getStatus

Example

This sample session starts three objects and lists their status. The first of these objects, a, is a component that runs for a user specified amount of time. The user sets the amount of time to ten seconds before executing it.
>start sleeper a
Object a started. 
>start Circle b 
Object b started.
>start Block c
Object c started.
>>set a.time = 10
>execute a& 
Analysis a beginning. 
>getStatus
a: (5.225)
b: ready
c: ready
>end c
Object c ended.
>end b
Object b ended.
.
.
.
a completed.
>end a
Object a ended.
Once a is executed using the "&" option, the Analysis Server responds with the prompt "Analysis a beginning" and returns immediate command line access to the user. When the user issues the getStatus command during a's execution, it returns a listing of all the started objects and provides a's time in seconds. The Analysis Server automatically provides another message that informs the user when a is complete.

See also Analysis Server | Analysis Server Commands