Packages
libosinfo-1.0
Osinfo
Resources
architecture
cpu
n_cpus
ram
storage
Resources
get_architecture
get_cpu
get_n_cpus
get_ram
get_storage
set_cpu
set_n_cpus
set_ram
set_storage
get_n_cpus
Description:
public
int
get_n_cpus
()
Retrieves the number of CPUs.
Parameters:
this
an
Resources
instance
Returns:
the number of CPUs, or -1.