Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > How do I verify how many CPU's I have in the Terminal???

How do I verify how many CPU's I have in the Terminal???
Thread Tools
Fresh-Faced Recruit
Join Date: Aug 2003
Status: Offline
Reply With Quote
Aug 26, 2003, 12:49 PM
 
How do I verify how many CPU's I have within the Terminal??? Actually I am at work on a Linux machine and need to verify if my Linux (SuSE) installation is recognizing both of my CPU's. If I could work with Macs I would, but I can't, but I need to do this because I am a QA tester for AMD. Any help would be greatly appreciated.
     
pwharff  (op)
Fresh-Faced Recruit
Join Date: Aug 2003
Status: Offline
Reply With Quote
Aug 26, 2003, 12:53 PM
 
By the way, I have tried TOP and it doesn't allow showing multiple CPU's as does the Terminal in OS X.
     
pwharff  (op)
Fresh-Faced Recruit
Join Date: Aug 2003
Status: Offline
Reply With Quote
Aug 26, 2003, 01:07 PM
 
I forgot about the special "/proc" directory. I just did the following:

cat /proc/cpuinfo

And viola! All the information regarding the CPU is printed on screen. Cool. Thanks for your help pwharff, oh no problem pwharff anytime. =)
     
Senior User
Join Date: Jan 2001
Location: Mahwah, NJ USA
Status: Offline
Reply With Quote
Aug 26, 2003, 03:07 PM
 
Originally posted by pwharff:
By the way, I have tried TOP and it doesn't allow showing multiple CPU's as does the Terminal in OS X.
Actually... top in Linux should show multiple CPUs:

16:03:34 up 2 days, 4:17, 8 users, load average: 0.01, 0.12, 0.15
88 processes: 87 sleeping, 1 running, 0 zombie, 0 stopped
CPU0 states: 1.4% user 0.3% system 0.0% nice 0.0% iowait 97.2% idle
CPU1 states: 12.2% user 5.0% system 0.0% nice 0.0% iowait 82.2% idle
Mem: 513228k av, 506568k used, 6660k free, 0k shrd, 36184k buff
373892k actv, 468k in_d, 33008k in_c
Swap: 1028120k av, 105152k used, 922968k free 285372k cached
-DU-...etc...
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 10:13 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2