nixCraft Linux Forum

nixCraft

Linux Tech Support Forum

How to check CPU Numbers in Linux

This is a discussion on How to check CPU Numbers in Linux within the Linux hardware forums, part of the Linux Getting Started category; To display number of CPU in system type the following command: Code: grep processor /proc/cpuinfo You can always obtain more ...


Go Back   nixCraft Linux Forum > Linux Getting Started > Linux hardware

Register FAQ Members List Calendar Forgotten your password? Mark Forums Read
  #1 (permalink)  
Old 04-22-2008, 02:57 AM
raj raj is offline
Contributors
User
 
Join Date: Jun 2005
Location: Hyderabad
Posts: 151
Rep Power: 4
raj is on a distinguished road
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
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 06-17-2008, 03:29 PM
harry's Avatar
Junior Member
User
 
Join Date: Jun 2008
My distro: Redhat
Posts: 8
Rep Power: 0
harry is on a distinguished road
Default

dmidecode|grep CPU

will display the number of CPU sockets

dmidecode|grep Populated

will display the populated sockets.


njoy!
Reply With Quote
Reply

Bookmarks

Tags
cpu , linux


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Linux check disk error raj Linux hardware 3 12-07-2007 11:00 AM
Command to Check Linux File System lacloai Getting started tutorials 3 05-14-2007 06:45 PM
Help with numbers ricc Shell scripting 3 12-16-2006 07:48 PM
Linux command to check size of hard drive disk gbdood Linux software 2 08-27-2006 10:44 AM
script to add all numbers from 1 to 100 ricc Shell scripting 3 08-17-2005 03:27 PM


All times are GMT +5.5. The time now is 09:35 PM.


Powered by vBulletin® Version 3.7.4 - Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36