1lsm_system_status_get(3)  Libstoragemgmt C API Manual lsm_system_status_get(3)
2
3
4

NAME

6       lsm_system_status_get - Retrieves status of the system.
7

SYNOPSIS

9       uint32_t lsm_system_status_get (lsm_system *s);
10

ARGUMENTS

12       s           System to retrieve read cache percentage for.
13

VERSION

15       1.0
16

DESCRIPTION

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

RETURN

31       uint32_t. Returns UINT32_MAX if argument 's' is NULL  or  not  a  valid
32       lsm_system pointer.
33
34
35
36March 2021                   lsm_system_status_get    lsm_system_status_get(3)
Impressum