HomeClusterLabs Projects

Feature: libcrmcommon: add function to get number of CPU cores

Description

Feature: libcrmcommon: add function to get number of CPU cores

Compared to the previous implementation in crmd/throttle.c, this
parses /proc/stat, which is smaller than /proc/cpuinfo.

Details

Provenance
kgaillotAuthored on Apr 28 2017, 3:30 PM
Parents
rPacbbca50ab2f: Refactor: crmd: functionize checking throttle thresholds
Branches
Unknown
Tags
Unknown

Event Timeline