> # list the number of "configured" CPUs > # (this is the maximum number available to the current OS > # instance, but note that this may change after a reboot) > $ ksh93 -c 'getconf NPROCESSORS_CONF'
That's not the maximum, that's the current number configured (aka ncpus in the kernel). That is, it can change in response to DR events -- e.g. cpu_configure() -> mp_cpu_configure() -> cpu_add_unit(). _SC_NPROCESSORS_MAX is the maximum (aka max_ncpus in the kernel). -- meem