Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Mar 2003 21:01:40 +0100 (CET)
From:      Marc Schneiders <marc@schneiders.org>
To:        jason <jason@monsterjam.org>
Cc:        <freebsd-stable@FreeBSD.ORG>
Subject:   Re: only 1 processor shown in top?
Message-ID:  <20030314210044.Y19454-100000@voo.doo.net>
In-Reply-To: <20030314145433.I30904-100000@monsterjam.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 14 Mar 2003, at 14:57 [=GMT-0500], jason wrote:

> freebsd heads..
>
> I have an HP kayak machine (dual 300MHz processors)
> Installed 4.7-Release and just updated with makeworld
>
> > FreeBSD beast 4.8-RC FreeBSD 4.8-RC #0: Fri Mar 14 13:19:17 EST 2003
> > jason@beast:/usr/obj/usr/src/sys/BEAST  i386
>
> from dmesg, I get:
> > FreeBSD/SMP: Multiprocessor motherboard
> >  cpu0 (BSP): apic id:  1, version: 0x00040011, at 0xfee00000
> >  cpu1 (AP):  apic id:  0, version: 0x00040011, at 0xfee00000
> >  io0 (APIC): apic id:  2, version: 0x00170011, at 0xfec00000
> > Preloaded elf kernel "kernel" at 0xc0525000.
> > Preloaded userconfig_script "/boot/kernel.conf" at 0xc052509c.
> > Pentium Pro MTRR support enabled
>
> but when I run top, I only see 1 cpu..
> > last pid: 14346;  load averages:  1.09,  0.94,  0.53    up 0+00:24:31
> > 14:20:36
> > 37 processes:  2 running, 35 sleeping
> > CPU states: 49.1% user,  0.0% nice,  7.6% system,  0.0% interrupt, 43.3%
> > idle
> > Mem: 12M Active, 32M Inact, 34M Wired, 16K Cache, 35M Buf, 169M Free
> > Swap: 497M Total, 497M Free
>
> is this expected?

What is wrong with it? The CPU used on a particular process pops up in
the stuff below what you quote:


  PID USERNAME PRI NICE  SIZE    RES STATE  C   TIME   WCPU    CPU
COMMAND
 1057 marc      99  20   924K   572K CPU1   1 232.6H 87.16% 87.16%
dnetc
 1058 marc      99  20   924K   572K RUN    0 232.7H 85.94% 85.94%
dnetc
36413 root       2   0  1480K   972K sbwait 1   0:11  9.05%  9.03%
ftpd
26331 root       2   0   992K   600K select 0  13:29  3.22%  3.22%
pptp

Look under "C".


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030314210044.Y19454-100000>