1753776 Members
7522 Online
108799 Solutions
New Discussion юеВ

Re: How to know CPU #?

 
SOLVED
Go to solution
Andres_13
Respected Contributor

How to know CPU #?

Hi there,

I want to know the number of physical cpus of of my RHEL 3 server...

Help will be very much apreciated.
5 REPLIES 5
Ivan Ferreira
Honored Contributor
Solution

Re: How to know CPU #?

Please see:
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1129042
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Oviwan
Honored Contributor

Re: How to know CPU #?

hey

use the virtual filesystem /proc:
cat /proc/cpuinfo

Regards
Andres_13
Respected Contributor

Re: How to know CPU #?

Thanks Ivan, Oviwan.

Regards!!!
Andres_13
Respected Contributor

Re: How to know CPU #?

....
Court Campbell
Honored Contributor

Re: How to know CPU #?

I know you already got it, but:

grep processor /proc/cpuinfo | wc -l
"The difference between me and you? I will read the man page." and "Respect the hat." and "You could just do a search on ITRC, you don't need to start a thread on a topic that's been answered 100 times already." Oh, and "What. no points???"