Results 1 to 2 of 2

Thread: How to check CPU Numbers in Linux

  1. #1
    Senior Member raj's Avatar
    Join Date
    Jun 2005
    Location
    Hyderabad
    Posts
    565
    Thanks
    57
    Thanked 40 Times in 37 Posts
    Rep Power
    13

    Default How to check CPU Numbers in Linux

    To display number of CPU in system type the following command:
    Code:
    grep processor /proc/cpuinfo
    You can always obtain more information about CPU by viewing /proc/cpuinfo file:
    Code:
    more /proc/cpuinfo
    Raj
    Linux rulz.
    I have never turned back in my life ; I shall not do so today.. haha

  2. #2
    Junior Member harry's Avatar
    Join Date
    Jun 2008
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Default

    dmidecode|grep CPU

    will display the number of CPU sockets

    dmidecode|grep Populated

    will display the populated sockets.


    njoy!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. script to add all numbers from 1 to 100
    By ricc in forum Shell scripting
    Replies: 4
    Last Post: 26th September 2012, 11:19 PM
  2. Linux check disk error
    By raj in forum Linux hardware
    Replies: 4
    Last Post: 29th November 2011, 05:25 PM
  3. Command to Check Linux File System
    By lacloai in forum Getting started tutorials
    Replies: 6
    Last Post: 23rd November 2011, 02:31 PM
  4. Help with numbers
    By ricc in forum Shell scripting
    Replies: 3
    Last Post: 16th December 2006, 06:48 PM
  5. Linux command to check size of hard drive disk
    By gbdood in forum Linux software
    Replies: 2
    Last Post: 27th August 2006, 09:44 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •