lsm_system_status_get - Man Page

Retrieves status of the system.

Synopsis

uint32_t lsm_system_status_get (lsm_system *s);

Arguments

s

System to retrieve read cache percentage for.

Version

1.0

Description

Retrieves status of the specified system which is a bit sensitive field. Possible values are:
   * LSM_SYSTEM_STATUS_UNKNOWN:
       Unknown.
   * LSM_SYSTEM_STATUS_OK:
       Every is OK.
   * LSM_SYSTEM_STATUS_ERROR:
       An error has occurred causing the system to stop. Example:
        * A whole disk enclosure down.
        * All controllers down.
        * Internal hardware(like, memory) down and no redundant part.

Return

uint32_t. Returns UINT32_MAX if argument 's' is NULL or not a valid lsm_system pointer.

Info

April 2023 Libstoragemgmt C API Manual