Scroll to navigation

lsm_system_status_get(3) Libstoragemgmt C API Manual lsm_system_status_get(3)

NAME

lsm_system_status_get - Retrieves status of the system.

SYNOPSIS

uint32_t lsm_system_status_get (lsm_system *s);

ARGUMENTS

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.

lsm_system_status_get April 2021