system-ipojo-instances

Retrieves the list of iPOJO component instances running in the system along with their status. Cluster administrator permission is required.

Command properties

PropertyDescription
Command typeDriver query
Required permissionCluster administrator
License usageNot counted
Parallel executionNot supported
Distributed executionNot supported

Syntax

system-ipojo-instances

Options

None

Output fields

FieldTypeDescription
instancestringName of the iPOJO component instance
statusstringInstance status. One of VALID, INVALID, or STOPPED.

Error codes

Parsing errors
Error codeMessageDescription
95040No read permission. Cluster administrator permission is required.The user does not have cluster administrator permission
Runtime errors

N/A

Description

The system-ipojo-instances command retrieves the list and status of iPOJO component instances running in the OSGi framework. Each functional module of Logpresso is implemented as an iPOJO component.

If an instance has a status of INVALID or STOPPED, the corresponding feature may not be functioning correctly.

Cluster administrator permission is required to run this command.

Examples

  1. Retrieve all iPOJO instance list

    system-ipojo-instances
    

    Retrieves the list and status of all iPOJO component instances running in the system.

  2. Retrieve instances with abnormal status

    system-ipojo-instances | search status != "VALID"
    

    Retrieves only instances whose status is not VALID.

  3. Search for a specific component instance

    system-ipojo-instances | search instance == "*logdb*"
    

    Retrieves only components whose instance name contains logdb.