pub fn slice_cpus(slice: &str) -> Result<u64>
Reads the CPUs a slice’s processes may use from systemd, in millicores: its EffectiveCPUs (or AllowedCPUs, else the host’s CPUs), less when its CPUQuota is lower.
EffectiveCPUs
AllowedCPUs
CPUQuota