get cpu core with sysctl