2.1.13 status

usage: status [ -q ] [ -verbose ] <server process> ...

This command is used to retrieve the running status of pico instances that are defined in the local container.

The states are:

  • running

  • not running

  • not responding but the process is still running. (Shown if the local server process is not responding.)

  • running without contact with the platform RCP service. (Shown if information can not be collected from the platform.)

Note!

If the code server (a server closely connected to the platform with the ability to function independently) is not available the status command will wait for the RCP communication to time out, this requires some extra time.

Options

The command accepts the following options:

OptionDescription

[-q]

Generates less or no information messages.

[-verbose]Enables verbose mode.

Return Codes

Listed below are the different return codes for the status command:

CodeDescription

0

Will be returned if a command was successful and all defined processes are running, or if there are picos defined in the system.

1

Will be returned if any of the processes is not responding but its JVM is running.

2

Will be returned if there is no server process with the specified name, or if any of the defined processes are not running.