User Tools

Site Tools


freebsd:freebsd:cpu:number_of_cores

FreeBSD - FreeBSD - CPU - Number of cores

sysctl -n hw.ncpu

returns:

24

alias nproc='sysctl -n hw.ncpu'
nproc

returns:

24

sysctl -a | egrep -i 'hw.ncpu'

or with some extra info:

sysctl -a | egrep -i 'hw.machine|hw.model|hw.ncpu'

freebsd/freebsd/cpu/number_of_cores.txt · Last modified: 2022/09/19 11:50 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki