qclib provides a C API for extraction of system information for Linux on z Systems.
For instance, it will provide the number of CPUs
This allows calculating the upper limit of CPU resources a highest level guest can use.
E.g.: If an LPAR on a z13 provides 4 CPUs to a z/VM hypervisor, and the hypervisor provides 8 virtual CPUs to a guest, qclib can be used to retrieve all of these numbers, and it can be concluded that not more capacity than 4 CPUs can be used by the software running in the guest.
qclib uses various interfaces and provides this data through a common and consistent API (Application Programming Interface), using information provided by:
| Package Version | Update ID | Released | Package Hub Version | Platforms | Subpackages |
|---|---|---|---|---|---|
| 2.5.1-160000.2.2 info | GA Release | 2025-05-28 | 16.0 |
|
|