5.3 & SMP How do I know my 2 CPUs are used?
Ryan Sommers
ryans at gamersimpact.com
Thu Oct 28 06:26:27 PDT 2004
Rob said:
> With the top command, I can't see anything special for my 2 CPUs.
> Is that right?
>
> Rob.
Top should have a column marked 'C':
PID USERNAME PRI NICE SIZE RES STATE C TIME WCPU CPU
COMMAND
39138 root 96 0 16420K 15164K select 1 0:23 2.69% 2.69%
XFree8
This shows what CPU the process is running on.
Another sign to tell is sysctl hw.ncpu, or sysctl kern.smp.cpus
--
Ryan Sommers
ryans at gamersimpact.com
More information about the freebsd-current
mailing list