How do I find the number of physical CPUs , number of cores in OEL ?

In RHEL , it is easy to find the number of Physical CPUs and the number of cores within each CPU
-- Ouput from Red Hat Enterprise Linux 5.4
-- This a real machine. Not a VM
$ cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 46
model name      : Intel(R) Xeon(R) CPU           X7550  @ 2.00GHz
stepping        : 6
cpu MHz         : 1995.048
cache size      : 18432 KB
physical id     : 0              --------------> This will give info on the physical CPU
siblings        : 8
core id         : 0
cpu cores       : 8              --------------> This will give the number of cores within a CPU
apicid          : 0
fpu             : yes
fpu_exception   : yes
cpuid level     : 11
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall nx rdtscp lm constant_tsc ida nonstop_tsc pni monitor ds_cpl vmx est tm2 cx16 xtpr popcnt lahf_lm
bogomips        : 3990.09
clflush size    : 64
cache_alignment : 64
address sizes   : 44 bits physical, 48 bits virtual
power management: [8]Output from Oracle Linux . Physical CPU Id and Number of Cores info is missing.
-- Output from Oracle Enterprise Linux 6.3
-- This is a virtual machine created using Virtual Box
-- Processor ID , number of cores is missing
$ cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 42
model name      : Intel(R) Core(TM) i7-2760QM CPU @ 2.40GHz
stepping        : 7
cpu MHz         : 2298.627
cache size      : 6144 KB
fpu             : yes
fpu_exception   : yes
cpuid level     : 5
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx rdtscp lm constant_tsc up rep_good nopl pni monitor ssse3 lahf_lm
bogomips        : 4597.25
clflush size    : 64
cache_alignment : 64
address sizes   : 36 bits physical, 48 bits virtual
power management:Is this the expected output in Oracle Enterprise Linux ? If so, how can I find the number of Physical CPUs and the number of cores within a Physical CPU in OEL?
Is this info missing because I am running OEL in a virtual machine ?

Oracle Linux behaves exactly like Red Hat in this matter an /proc/cpuinfo can be used for that. I guess this is because you have set up VirtualBox to only assign one virtual CPU to your guest Linux.
processor     : 0
vendor_id     : AuthenticAMD
cpu family     : 15
model          : 33
model name     : Dual Core AMD Opteron(tm) Processor 275
stepping     : 2
cpu MHz          : 1000.000
cache size     : 1024 KB
physical id     : 0
siblings     : 2
core id          : 0
cpu cores     : 2
apicid          : 0
initial apicid     : 0
fpu          : yes
fpu_exception     : yes
cpuid level     : 1
wp          : yes
flags          : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt lm 3dnowext 3dnow rep_good extd_apicid pni lahf_lm cmp_legacy
bogomips     : 1994.47
TLB size     : 1024 4K pages
clflush size     : 64
cache_alignment     : 64
address sizes     : 40 bits physical, 48 bits virtual
power management: ts fid vid ttpAnother example is this one, OEL 5.6 inside of VirtualBox but with 2 virtual CPUs assigned:
[root@oel56proxy ~]# cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 23
model name      : Intel(R) Core(TM)2 Duo CPU     P8600  @ 2.40GHz
stepping        : 10
cpu MHz         : 2064.652
cache size      : 6144 KB
physical id     : 0
siblings        : 2
core id         : 0
cpu cores       : 2
apicid          : 0
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 5
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx lm constant_tsc pni ssse3 lahf_lm
bogomips        : 4129.30
processor       : 1
vendor_id       : GenuineIntel
cpu family      : 6
model           : 23
model name      : Intel(R) Core(TM)2 Duo CPU     P8600  @ 2.40GHz
stepping        : 10
cpu MHz         : 2064.652
cache size      : 6144 KB
physical id     : 0
siblings        : 2
core id         : 1
cpu cores       : 2
apicid          : 1
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 5
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx lm constant_tsc pni ssse3 lahf_lm
bogomips        : 7494.15I have not tried to replicate this with a VM that only has one vCPU assigned but I guess that is why you only see one CPU and no processor_id and so on.
Bjoern

Similar Messages

  • How do you find the number of lines in a file?

    I need to count how many lines there are in a file, I am using a BufferedReader to read in the data, but how can I find the number of lines?
    Thanks

    That depends. How do you define a line? Is it a specific number of
    characters, a String that's terminated by a newline character or some
    combination thereof?

  • How do I find the number of users returned by a cfldap query?

    How do I find the number of users returned by a cfldap query?
    I'm not allowed to do something like:
    <cfif ArrayLen(results.rows) gt 1>
    I then get an error:
    faultCode:Server.Processing faultString:'Unable to invoke CFC - Object of type class coldfusion.tagext.net.LdapResultTable cannot be used as an array' faultDetail:''
    Many thanks for any light you can shed

       Cheers again Ian for your many helps,
    it now won't let me do
    <cfqueryparam value="#results.USNCreated#" cfsqltype="cf_sql_varchar">
    I get the message:
    faultCode:Server.Processing faultString:'Unable to invoke CFC - Error Executing Database Query.' faultDetail:'[Macromedia][SQLServer JDBC Driver][SQLServer]The name "results.USNCreated" is not permitted in this context. Valid expressions are constants, constant expressions, and (in some contexts) variables. Column names are not permitted.'

  • How do I find the number of contacts in a smart group?

    How do I find the number of contacts in a smart group in Contacts?

    Hi,
    To get the depth using JMS you must create a QueueBrowse and browse the entire queue. Its generally horribly inefficient if you want to do it with any regularity.
    In Hermes I have had to write plugins that open separate connections to providers using their non-JMS APIs or JMX and get that kind of information that way.
    Look at the getDepth() method in this JBoss plugin for an example that uses JMX:
    http://cvs.sourceforge.net/viewcvs.py/hermesjms/Hermes4/src/java/hermes/ext/jbossmq/JBossMQAdmin.java?view=markup
    And here is one for WebSphereMQ that uses one of its many APIs..
    http://cvs.sourceforge.net/viewcvs.py/hermesjms/Hermes4/src/java/hermes/ext/mq/MQSeriesAdmin.java?view=markup
    Colin.
    http://hermesjms.com

  • How can I find the number of megabytes per seconde of mij connection with internet

    In a tuning program is asked the number of MB per second of mij lan-connection with internet.
    I should like to know how I can find that number.

    Hey Tongo,
    This isn't really a Firefox question. I would suggest doing a quick Google search for "Internet Speed Test" or something of that nature. I know a very popular one is located here: http://www.speakeasy.net/speedtest/
    Hopefully this helps!

  • How do I find the number of users logged on another server?

    I'm trying to ping other servers and find the number of users logged on that server. Any leads?

    Do you need maybe something like this?
    FINGER(1) UNIX Reference Manual
    NAME
    finger - user information lookup program
    SYNOPSIS
    finger [-lmMspho] [user ...] [user@host ...]
    DESCRIPTION
    The finger utility displays information about the system users.

  • How do I find the number of instances of a text entry?

    Hello,
    I have a spreadsheet and the cells have either a text entry or numerical entry.
    I am trying to work out how to write a formula to total the number of cells which have a particular text entry.
    Any help would be apprectiated. Thank you.

    =COUNTIF(test-array, condition)
    'test-array' is the range of cells you want to test
    'condition' must be expressed as a text string. To find the count of "example text" on the table named "Data", you could use either of the formulas below (on a separate table). Both counts are of 'all columns of "Data"'. The counts include items in the Header column (Column 1 of Data), but do NOT include items in the Header row (Row 1).
    In the single cell table, "Count 1" the search text is stated as a literal in the formula:
    =COUNTIF(Data :: $A:$D, "=example text")
    In the two cell table, the search text (other text), is set in the top cell, A1, and that cell is referenced in the formula in A2:
    =COUNTIF(Data :: $A:$D, "="&A1)
    Note that because of the omission of Header row cells, the formulas could be placed in a Header Row cell on the main table ("Data"), with the search value also placed in a Header row cell on that table. The formulas in this case would not include the "Data::" part of the 'test-array' argument.
    Regards,
    Barry

  • Can't find email with serial number for Pages, how can I find the number?

    Purchased Pages on 9th September following iWork09 trial, however I must have trashed the email containing serial number
    in error. Does anyone know how to find the serial number. Thanks in advance for any reply...

    You need to delete the trial & then reinstall from the boxed DVD or the Mac App Store. The files to delete are the iWork ’09 folder from the main HD > Applications; the iWork ’09 folder in HD > Library > Application Support & the individual iWork application plist files found in HD > Users > (your account) > Library > Preferences for each user. Yvan Koenig has written an AppleScript that removes the files. You can find it on his box.com account in for_iWork'09 > other_iWork'09 items > uninstall iWork '09.zip.

  • How do I find the number of file descriptors in use by the system?

    Hey folks,
    I am trying to figure out how many file descriptors my Leopard system has in use. On FreeBSD, this is exposed via sysctl at the OID kern.open_files (or something close to that, can't recall exactly what the name is). I do see that OS X has kern.maxfiles, which gives the maximum number of file descriptors the system can have open, but I don't see a sysctl that tells me how many of the 12288 descriptors the kernel thinks are in use.
    There's lsof, but is that really the only way? And, I'm not even sure if I can just equate the number of lines from lsof to the number of in use descriptors. I don't think it's that easy (perhaps it is and I'm just over complicating things).
    So, anyone know where this information is?
    Thanks for your time.

    glsmith wrote:
    There's lsof, but is that really the only way? And, I'm not even sure if I can just equate the number of lines from lsof to the number of in use descriptors.
    Can't think of anything other than lsof right now. However:
    Only root can list all open files, all other users see only their own
    There is significant duplication, and
    All types of file descriptor are listed, which you may not want, so you need to consider filtering.
    As an example, the following will count all regular files opened by all users:
    sudo lsof | awk '/REG/ { print $NF }' | sort -u | wc -lIf you run it without the sudo, you get just your own open files.

  • How do i find the number of messages in a queue

    Sorry if this is too trivial, but i haven't been able to figure out how to determine the number of messages in a queue. business case being that i can only have 3 messages in the send queue, so i need to stop sending if there are 3 outstanding messages still in the send queue.
    Can someone point the way?
    Thanks,
    Nilesh

    Hi,
    To get the depth using JMS you must create a QueueBrowse and browse the entire queue. Its generally horribly inefficient if you want to do it with any regularity.
    In Hermes I have had to write plugins that open separate connections to providers using their non-JMS APIs or JMX and get that kind of information that way.
    Look at the getDepth() method in this JBoss plugin for an example that uses JMX:
    http://cvs.sourceforge.net/viewcvs.py/hermesjms/Hermes4/src/java/hermes/ext/jbossmq/JBossMQAdmin.java?view=markup
    And here is one for WebSphereMQ that uses one of its many APIs..
    http://cvs.sourceforge.net/viewcvs.py/hermesjms/Hermes4/src/java/hermes/ext/mq/MQSeriesAdmin.java?view=markup
    Colin.
    http://hermesjms.com

  • How do I find the number times blob has been read?

    Hi there,
    I have a file, stored as a blob. Just wanted to know, how many times the (URL of the) blob has been accessed.
    Thanks, 
    Siddharth

    Hi Siddharth,
    As far as I know, there is no API for get the times of azure blob accessed. But you could custom this function on you side. When there has a request for your blob url, you could increase the number of your blob accessed times
    and store this number into table. Also, you could submit a feature request on this page:
     http://www.mygreatwindowsazureidea.com/forums/34192-windows-azure-feature-voting.
    Best Regards,
    Will
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How do I find the number of characters including spaces in Pages '13?

    Hi,
    I need the number of characters including spaces on the new pages for an online document I have to fill in. I've found the character count excluding spaces but this is of no use to me.
    Thanks

    http://lifehacker.com/5907637/add-a-right+click-option-to-count-characters-words -and-paragraphs-in-any-mac-program
    Use this version of the script:
    http://hints.macworld.com/comment.php?mode=view&cid=129016
    Peter

  • How do I find the number of pixels in height of photos?

    I have been asked the following question: If you wish to send book cover images the preferred format is .jpg, 648 pixels high, at a resolution of 100 dpi. Where do I find the answer?

    Open the image in Preview .app and Get Info command i
    To set the size and resolution in Preview:
    Menu > Tools > Adjust Size…
    Peter

  • Materialized Views: how can I find the number of updates, inserts, delete

    We are using Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Prod.
    In a materialized view, with fast incremental refresh, done after every 5 minutes automatically, I want to store in a logging table the number of rows inserted,updated and deleted in the materialized view by that refresh.
    One option is to create a job that should read the materialized view log table just before the refresh and store the required information in the logging table. But this information may not be accurate.
    Is there any other way to collect this information for each refresh?

    Use auditing, or an before insert/update/delete trigger, that updates a counter
    I hate myself for giving this advice, because it will bring you problems, with the MV update/refresh speed, table lock contention on the log-table....
    Be carefull !!
    Why not use auditing on the source table and why does anyone wants to know the number of changes??
    Regards
    FJFranken

  • How do you find the number of songs in your library, more importantly the number of duplicates, this new version is very lacking in access to info

    I do not like the interface of the new version.  I lost a lot of playlists and songs in the iMatch process.  As I attempt recovery from backups,  I am trying to identify how many duplicates I have in total. I can get a list, but there are too many to count.  There  has to be a better way.
    thanks

    View > Show Status Bar puts the grey bar at the bottom where song/playlist stats are displayed
    In itunes 11 the Show duplicates feature was omitted.
    However in iTunes 11.0.1 they put it back
    from the top menu
    View > Show Duplicates
    or
    Option(alt) + View > Show Exact duplicates

Maybe you are looking for

  • Iphone sending emails from wrong address

    My Iphone is sending emails from a gmail account I no longer wish to use.  I cannot find any trace of these details on the phone, I have deleted and set up the one I want to use but it is still happening.  I am missing important messages because I se

  • Multiple Domains in a Single Server

    Hi: I have a requirement where two domains (at this time) need to be set-up in single server. Each domain need to have a Admin Server , OSB, SOA, OSR and OER as managed servers and each runs in different port. Each domain has it own schema, but share

  • ITunes cannot find folder

    I've just got a brand new PC and I'm trying to get iTunes up so I can sync iTunes and my iPhone together. Every time i start iTUnes I get the message cannot find the iTunes folder or it cannot be created. My computer reads my music folder as a remova

  • Sales Employee without HR - Maintaining Address Details

    Hi All, We are using Sales Employee without HR. When the Sales Employee is linked as a partner on a Sales Document, the address details are filled with "XXXX". Example: Name: Graham Shanks Street: XXXXXX Post Code: XXXX City: XXXXXX I want to be able

  • Error when completing the WI by FM SAP_WAPI_WORKITEM_COMPLETE

    Hi Have develop a workflow for PR approval, I created a   asynchronous method approverPR with teriminating events like release step created, released etc. Now we are approving and rejecting PR through webdinpro. when user clicks on approve pr in dynp