Question about UNIX ioscan command

Hello there.

I have a question regarding the ioscan commnad.

When you execute the line ioscan -fnC processor it outputs a list of all processors in the machine.

Does this list displays only physical CPUs or does it displays each core?

For example, if i have a server with 1 Dual Core CPU, will the output be 1 processor or 2?

Thanks for the help.

Hmmm - dunno.
I'm off work tomorrow, but will check Thursday.

How do I detect multicore processors?

Thank you prowla! Looking forward to it.

Perderabo, thanks for the link. I'll take a look at it.
The problem is that i need to know the result of that particular line in a multi core server.

On Itanium, there's the "machinfo" command.

I would agree with machinfo command.

Very useful info there

otherwise
# cstm
# map
# select device (no for cpu)
# info
# infolog

But do remember - I am also a newbie....

Here's the output of the machinfo:

So, this machine has 4 cores, right?

Yes - 4 cores (I assume two dual-core CPUs).
How does it compare to the ioscan output?

If you do "Model", it'll show the model of the machine (rx3600, at a guess).

I would also recommend the cfg2html tool (freeware), which will produce a comprehensive report of the system's configuration in html format.

It reflects the ioscan result:

The server model is RX2660. 2x Dual core indeed.

Case closed, i guess. Four cores total.

Thanks for the help!!

My system shows:

# model
ia64 hp server rx3600

# ioscan -fnC processor
Class       I  H/W Path  Driver    S/W State H/W Type  Description
===================================================================
processor   0  120       processor CLAIMED   PROCESSOR Processor
processor   1  121       processor CLAIMED   PROCESSOR Processor
processor   2  122       processor CLAIMED   PROCESSOR Processor
processor   3  123       processor CLAIMED   PROCESSOR Processor

# machinfo
CPU info:
   Number of CPUs = 4
   Clock speed = 1595 MHz
   Bus speed   = 532 MT/s
   CPUID registers
      vendor information =       "GenuineIntel"
   :
   :

# echo "map " | cstm | grep CPU
   51  120                  CPU (1019)                                         
   52  121                  CPU (1019)                                         
   53  122                  CPU (1019)                                         
   54  123                  CPU (1019)        

# glance -a
 Glance C.04.60.000             17:55:54 ldinux01     ia64    Current  Avg  High
--------------------------------------------------------------------------------
CPU  Util   S                                                  |  1%    1%    1%
Disk Util   F                                                  |  1%    1%    1%
Mem  Util   S  SUUB B                                          | 18%   18%   18%
Swap Util   U  UR                                              |  8%    8%    8%
--------------------------------------------------------------------------------
                                CPU BY PROCESSOR                    Users=    2
CPU  State     Util   LoadAvg(1/5/15 min)   CSwitch   Last Pid
--------------------------------------------------------------------------------
  2 Enable      0.6     0.0/  0.0/  0.0       181          20
  0 Enable      0.4     0.0/  0.0/  0.0       139          20
  1 Enable      1.9     0.0/  0.0/  0.0       196          20
  3 Enable      0.0     0.0/  0.0/  0.0        96          20

So, turning the original question around, I can't see how to find out how many physical chips there are...

Thanks prowla.

What's your system config?

2x Dual Core as well?