neutron_lib.utils.host.
cpu_count
Get the system CPU count.
The number of CPUs on the system as an int. If there’s an issue fetching the CPU count on the system, a default value of 1 is returned.
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.