nixCraft Linux Forum

nixCraft

Linux / UNIX 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

Linux answers from nixCraft.


Linux hardware Discussion about Linux hardware related problems.

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 22-04-2008, 01:57 AM
raj's Avatar
raj raj is offline
Senior Member
User
 
Join Date: Jun 2005
Location: Hyderabad
OS: Fedora, Debian Linux
Posts: 307
Thanks: 42
Thanked 8 Times in 8 Posts
Rep Power: 6
raj will become famous soon enough raj will become famous soon enough
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
  #2 (permalink)  
Old 17-06-2008, 02:29 PM
harry's Avatar
Junior Member
User
 
Join Date: Jun 2008
OS: Redhat
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
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

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 Off


Similar Threads

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


All times are GMT +5.5. The time now is 05:32 AM.


Powered by vBulletin® Version 3.8.5 - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
©2005-2010 nixCraft. All rights reserved

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 37 38