Zend Server User Guide > Tasks > Working with CLI Tools > app-get-status

app-get-status

This CLI command displays the status of an application deployed on a server/cluster. By default, the command will return the status of all applications.

Common Arguments

This table lists arguments common to all zs-manage commands:

Abbreviated Full Description Required/Optional

-N

--key-name

WebAPI key name.

Required

-K

--secret-key

WebAPI secret key.

Required

-U

--server-url

Zend Server URL. Default: http://localhost:10081/ZendServer.

Required - when action is performed on a remote server.

-h

--help

Show usage information and exit.

Optional

 

 

Instructions on how to complete a procedure

To use app-get-status:

  1. Open your CLI.
  1. Enter a help command for the app-get-status action to learn which arguments your command should include:

/usr/local/zend/bin/zs-manage app-get-status --help

  1. Enter the following command:

/usr/local/zend/bin/zs-manage app-get-status -N <existing key name> -K <existing key secret>

CLI Tools will return the status of all your applications.

  1. For a status report on a specific application, enter the same command, and add the application ID:

/usr/local/zend/bin/zs-manage app-get-status [app ID]

CLI Tools will return the status of the specified application.

APPINFO 2 http://<default-server>:80/sanity mtrig http://localhost/sanity /usr/local/zend/var/apps/http/__default__/0/sanity/1.0.0 deployed

SERVERAPPINFO 0 1.0.0 deployed

 

 

 

 

Related Links

Related Links:

CLI Tools

Working with CLI Tools

 

 

 

© 1999-2013 Zend Technologies, Ltd. All rights reserved.