Multi-CPU Question

Nikos Vassiliadis nvass at teledomenet.gr
Mon Oct 16 03:51:48 PDT 2006


On Monday 16 October 2006 12:26, Payne wrote:
> Where in /proc can I see that?
Unlike Linux, FreeBSD shows only process and kernel thread
information in procfs.

The equivalent interface for seeing/changing system options
is sysctl. Try "sysctl hw | less".

For example:
root:0:~# sysctl -d hw.ncpu
hw.ncpu: Number of active CPUs
root:0:~# sysctl hw.ncpu
hw.ncpu: 1

It's better with descriptions, isn't it?

HTH, Nikos


More information about the freebsd-questions mailing list