Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Running on 2 processors? or just 1
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
nightcanton
Apprentice
Apprentice


Joined: 26 Feb 2003
Posts: 249

PostPosted: Mon May 05, 2003 12:05 am    Post subject: Running on 2 processors? or just 1 Reply with quote

I recompiled my kernel a while back....and now wonder...Am I running on 1 processor or 2? I have a Dual Athlon MP system...but I remember that under the CPU(s) there were 2 processors...not just 1...

I made sure I compiled SMP into the kernel....is this TOP right?



top - 19:03:04 up 2 days, 4:24, 1 user, load average: 0.01, 0.15, 0.28
Tasks: 172 total, 1 running, 72 sleeping, 0 stopped, 99 zombie
Cpu(s): 0.0% user, 0.7% system, 0.0% nice, 99.3% idle
Mem: 774596k total, 752168k used, 22428k free, 272248k buffers
Swap: 1494036k total, 20k used, 1494016k free, 257396k cached
Unknown command - try 'h' for help
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ Command
9206 root 15 0 1072 1072 808 S 0.7 0.1 0:00.90 top
9208 luke 18 0 1084 1084 812 R 0.7 0.1 0:00.16 top
1 root 8 0 492 492 436 S 0.0 0.1 0:04.61 init
2 root 9 0 0 0 0 S 0.0 0.0 0:00.04 keventd
3 root 18 19 0 0 0 S 0.0 0.0 0:00.00 ksoftirqd_CPU0
4 root 19 19 0 0 0 S 0.0 0.0 0:00.02 ksoftirqd_CPU1
5 root 9 0 0 0 0 S 0.0 0.0 0:00.11 kswapd
6 root 9 0 0 0 0 S 0.0 0.0 0:00.00 bdflush
7 root 9 0 0 0 0 S 0.0 0.0 0:00.21 kupdated
11 root 9 0 0 0 0 S 0.0 0.0 0:00.00 khubd
12 root 9 0 0 0 0 S 0.0 0.0 0:00.60 kjournald
845 root 9 0 448 448 392 S 0.0 0.1 0:00.00 dhcpcd
882 root 9 0 584 584 500 S 0.0 0.1 0:00.03 metalog
888 root 9 0 464 464 420 S 0.0 0.1 0:00.00 metalog
925 root 9 0 1856 1856 1740 S 0.0 0.2 0:00.54 apache
1007 root 9 0 2568 2568 1172 S 0.0 0.3 0:01.92 cupsd
1008 apache 9 0 2272 2272 1852 S 0.0 0.3 0:00.08 apache
Back to top
View user's profile Send private message
puddpunk
l33t
l33t


Joined: 20 Jul 2002
Posts: 681
Location: New Zealand

PostPosted: Mon May 05, 2003 12:23 am    Post subject: Reply with quote

Try running 'top' and pressing '1' when in it (no quotes!). That will show you the load on both your processors.

If one processor is at 0%, you know only one is being used.
Back to top
View user's profile Send private message
nightcanton
Apprentice
Apprentice


Joined: 26 Feb 2003
Posts: 249

PostPosted: Mon May 05, 2003 3:13 am    Post subject: Reply with quote

thanks a bunch...I didn't know where the other one went.... 8)
Back to top
View user's profile Send private message
taskara
Advocate
Advocate


Joined: 10 Apr 2002
Posts: 3763
Location: Australia

PostPosted: Mon May 05, 2003 3:15 am    Post subject: Reply with quote

also check
cat /proc/cpuinfo :)
_________________
Kororaa install method - have Gentoo up and running quickly and easily, fully automated with an installer!
Back to top
View user's profile Send private message
daltski
n00b
n00b


Joined: 05 May 2003
Posts: 3
Location: UK

PostPosted: Mon May 05, 2003 8:29 pm    Post subject: Reply with quote

I also have a Dual Athlon system :twisted:

you can check the output of dmesg | more

that'll tell you if both CPU's are recognized by kernel on bootstrap.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum