Skip to main content

managementserver query

This command retrieves information about management-server updates in the repository.

Syntax

managementserver query -h

managementserver query -k <update_type> [-v <filter>]

Options

{-h | --help}
Displays the syntax and brief usage information for this command.
{-k | --keys} <update_type>
Returns specific information about the management-server update. You can specify one of the following values.
  • all. (default) Returns all information.
  • currentVersion. Returns the current version of XClarity Administrator.
  • history. Returns the history of management-server updates.
  • importDir. Returns the directory for the management-server updates repository.
  • size. Returns the repository size (in bytes).
  • updates. Returns information about all updates packages.
  • updatedDate. Returns the date when the last update was performed.
{-v | --view} <filter>
Identifies the view to use for the returned data. If a filter is not specified, the default view is used.

You can also create custom views (see Creating custom views).

Examples

The following example returns the repository size (in bytes).

connect --url https://192.0.2.0 --user ADMIN --noverify
managementserver query -k size