Sous Linux ( via la glibc):
getconf _NPROCESSORS_ONLN
Sous BSD:
sysctl -n hw.ncpu
Sous OpenVMS:
show cpu /brief
Sous OSX/Darwin:
sysctl machdep.cpu.core_count
Saturday, March 5, 2011
Subscribe to:
Posts (Atom)
Sociologie des systèmes libres ...