How do I detect multicore processors?


 
Thread Tools Search this Thread
Operating Systems HP-UX How do I detect multicore processors?
# 1  
Old 11-30-2005
How do I detect multicore processors?

I'm fairly new to HP-UX, and I need to know how to identify the number of cores on a PA-8800 processor from the command line. Any help here would be appreciated.
# 2  
Old 12-08-2005
All 8800's are dual core.
# 3  
Old 12-08-2005
So run top and divide by two for the number of dual core processors you have.
Or there are other various fancy ways to do this etc
/etc/ioscan -k -C processor | grep processor | wc -l
There are easily 10 ways to find this out, and thousands of ways to format the info etc.
Best Regards,
Aaron
# 4  
Old 12-08-2005
Wouldn't work . . .

Dividing by two would indeed solve the problem -- right up until HP moved to quad-core, or introduced a technology similar to Hyper-Threading. And if I happen to be running on a single-core system with only one processor, suddenly my script is only detecting half a processor.

Nice try, but it isn't as simple as it looks at first glance.
# 5  
Old 12-08-2005
Did you even try the ioscan command? It had nothing to do with the top comment.
# 6  
Old 12-13-2005
ioscan does not seem to help. However I do notice that dualcore cpu's seem to have the same serial number if they are in the same chip. But there are several serial number fields and you need to get the right one. Try:

echo "scl q cpu;info;wait;infolog" | cstm | grep -E "CPU on path|^Serial Number"
# 7  
Old 12-13-2005
Whoa, you lost me around "cstm". What version of HP-UX are you running? I can't even find a manpage to tell me what the command does.
Login or Register to Ask a Question

Previous Thread | Next Thread

7 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

How give tasks to individual processors in a multicore processor ?

Hi all, Using shell script, how to assign tasks to individual processors in a multicore processor ? For example: If I have 4 processors, I want to give one job to each of the processors. (When I give multiple jobs, it's assigning all the load to a single processor. ) Thanks R (5 Replies)
Discussion started by: habzone2007
5 Replies

2. UNIX for Advanced & Expert Users

No: of processors

which unix command can be used to know the no: of processors running on that machine... version used:- Solaris 8.0 (3 Replies)
Discussion started by: bishweshwar
3 Replies

3. UNIX for Dummies Questions & Answers

check memory and processors

HI , I have AIX 5.2 ? I believe. I am looking to see how many processors I have and what the Memory is in this box? I know there is a command to run but I am really rusty at this Thanks Dave (2 Replies)
Discussion started by: rocker40
2 Replies

4. HP-UX

Multicore from a different angle

Everyone seemed to be a little stumped by the multicore question I asked earlier this week, so I decided I'd try a different angle. Turns out that on a multicore system HP-UX reports every core as a seperate processor. All the usual commands (ioscan, top, etc.) report two processors for every... (7 Replies)
Discussion started by: Midcain
7 Replies

5. Windows & DOS: Issues & Discussions

Quad or Duel Processors

Which hardware configuration gives you the best though put for processing? 1.) Quad CPU at 2 GHZ 2.) Dual CPU at 3 GHZ and More Memory. We currently have setup #1, I want to upgrade the server and I am investigating hardware configurations. Wanted to know if set #1 gives better though put... (4 Replies)
Discussion started by: rfmurphy_6
4 Replies

6. UNIX for Dummies Questions & Answers

How do I determine # of processors ...

I have a console server that runs some form of UNIX/Linux, but I get a bash shell, and I want to determine how many processor (what speed) and them amount of RAM in the system. (2 Replies)
Discussion started by: bbrandeb49
2 Replies

7. UNIX for Dummies Questions & Answers

Dual processors

I have two sparcstation20's. One has no hard drive or memory and I want to know if there is a way to take the processor out of it and make the other a dual processor. I know it is possible some how just curious if anyone here can help me make this happen. (Don't know much about sun... (3 Replies)
Discussion started by: jwbrown
3 Replies
Login or Register to Ask a Question