Re: 5.3 & SMP How do I know my 2 CPUs are used?

From: Ryan Sommers <ryans_at_gamersimpact.com>
Date: Thu, 28 Oct 2004 07:23:53 -0600 (MDT)
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
Received on Thu Oct 28 2004 - 11:26:27 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:20 UTC