number of processor

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

number of processor

Malika
Hi every Body
how can i know the number of processor i have in my cluster?
thanks
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: number of processor

Michael Creel
Administrator
There must be better ways, but you can do this:

michael@yosemite:~$ dmesg|grep "Brought up"
[    0.483576] Brought up 4 CPUs


After the cluster is up, do
dsh -f ~/tmp/bhosts dmesg|grep "Brought up"
to run it on all nodes
Loading...