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

library-get-status

This CLI command retrieves information on PHP libraries currently deployed on Zend Server.

Command Specific Arguments

This table specifies the various arguments used in the command:

Abbreviated Full Description Required/Optional

-i

--library

Library ID. If exists, will display information for this library only. Otherwise information for all libraries is displayed.

Optional

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 library-get-status:

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

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

  1. Enter the following command:

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

CLI Tools will return information of all your libraries.

APPINFO 3 Zend Framework 1 deployed

APPVERSION 3 1.12.3 deployed /usr/local/zend/var/libraries/Zend_Framework_1/1.12.3

APPINFO 1 Zend Framework 2 deployed

APPVERSION 1 2.2.4 deployed /usr/local/zend/var/libraries/Zend_Framework_2/2.2.4

APPVERSION 4 2.2.1 deployed /usr/local/zend/var/libraries/Zend_Framework_2/2.2.1

APPINFO 2 Zend Server Gateway deployed

APPVERSION 2 0.9.0 deployed /usr/local/zend/var/libraries/Zend_Server_Gateway/0.9.0

  1. For info on a specific library, enter the same command, and add the library ID:

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

CLI Tools will return information on the specific library.

 

 

 

 

Related Links

Related Links:

CLI Tools

Working with CLI Tools

 

 

 

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