Linux Command To Find the System Configuration And Hardware Information


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Linux Command To Find the System Configuration And Hardware Information
# 1  
Old 02-09-2015
Linux Command To Find the System Configuration And Hardware Information

Hello guys.
I wanted to find the System Configuration and Hardware Information on one of my servers. Here is part of the cpu info:
Code:
  CPU core info:
  processor       : 0
  vendor_id       : GenuineIntel
  cpu family      : 6
  model           : 44
  model name      : Intel(R) Xeon(R) CPU           X5675  @ 3.07GHz
  stepping        : 2
  cpu MHz         : 3065.958
  cache size      : 12288 KB
  physical id     : 0
  siblings        : 1
  core id         : 255
  cpu cores       : 1
  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 pdpe1gb rdtscp                                                                               lm pni monitor ds_cpl est tm2 cx16 xtpr popcnt lahf_lm
  bogomips        : 6135.94
  clflush size    : 64
  cache_alignment : 64
  address sizes   : 40 bits physical, 48 bits virtual
  power management:
   
  number of CPU cores:
  cat /proc/cpuinfo | grep processor | wc -l
  8

then I googled the server type(ProLiant DL380 G7) and found this document:
HP ProLiant DL380 Generation 7 '('G7')' '('QuickSpecs'/'c04286665.pdf')'
If you take a look at it you'll see a conflict in number of cpu cores!!
Can you explain why this happened?
Someone told me it's because of the kernel version but I kind of doubt about it! Here is some info about our server:


Code:
Linux 2.6.9-89.0.0.0.1.ELsmp x86_64
Red Hat Enterprise Linux AS release 4 (Nahant Update 8)

# 2  
Old 02-09-2015
So according the docs you would expect 12 cores? Can you verify this in the bios?

Anyway, you could check if it is a case of cores being offline to save power:

Code:
cat /sys/devices/system/cpu/online
cat /sys/devices/system/cpu/offline

To check if the kernel was compiled to support less cores do a:
Code:
grep NR_CPUS /boot/config-`uname -r`

This User Gave Thanks to Walter Misar For This Post:
# 3  
Old 02-09-2015
Quote:
Originally Posted by Walter Misar
So according the docs you would expect 12 cores? Can you verify this in the bios?

Anyway, you could check if it is a case of cores being offline to save power:

Code:
cat /sys/devices/system/cpu/online
cat /sys/devices/system/cpu/offline

To check if the kernel was compiled to support less cores do a:
Code:
grep NR_CPUS /boot/config-`uname -r`

yes exactly. i expected 12 cores.
unfortunately these command dosnt work:
Code:
cat /sys/devices/system/cpu/online
cat /sys/devices/system/cpu/offline

here is the output:
Code:
cat /sys/devices/system/cpu/online
cat: /sys/devices/system/cpu/online: No such file or directory
cat /sys/devices/system/cpu/offline
cat: /sys/devices/system/cpu/offline: No such file or directory
 grep NR_CPUS /boot/config-`uname -r`
CONFIG_NR_CPUS=8

thank you.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Red Hat

Command to find the harddisk information

I tried to find the harddisk information using the command hdparm -i /dev/sda. But I couldn't get the info. Is there any similar command to find the harddisk serial number. (5 Replies)
Discussion started by: gsiva
5 Replies

2. Infrastructure Monitoring

How to get the Linux system information?

Hi, How to get the Linux system hardware and software basic information using terminal command ? Here below i have specified some of the information i need. Please have a look at this and guide me. OS Name: OS Version : OS Manufacturer: OS Configuration: OS Build Type:... (6 Replies)
Discussion started by: forumguest
6 Replies

3. UNIX for Advanced & Expert Users

Command to find Hardware model in Solaris

Hi, I need a command to find the Hardware Model in Solaris 8,9,10,11. The command which I am using right now is: /usr/platform/`uname -i`/sbin/prtdiag The problem is in this output:- System Configuration: Sun Microsystems sun4u Netra T1 200 (UltraSPARC-IIe 500MHz) Here I am... (1 Reply)
Discussion started by: vineetd
1 Replies

4. UNIX for Advanced & Expert Users

Solaris and Linux system information.

Hey, I have a program that takes more time on a solaris machine than on a linux machine. So I guess the best way to know whats going on is to compare the two systems ? CPU and Memory ? Is there any other parameter that I should look at ? So on the linux box I ran: And on the Solaris: ... (6 Replies)
Discussion started by: the_learner
6 Replies

5. Programming

Hardware information

How would I write a program in C that prints out the hardware the current computer has? And what about information about it? Thank you for your time. (4 Replies)
Discussion started by: cubics
4 Replies

6. Solaris

What command to check system hardware

What command can I run on a Solaris 8 server to check the hardware (ie number of processors, speed of processors, installed memory etc). (4 Replies)
Discussion started by: soliberus
4 Replies

7. UNIX for Dummies Questions & Answers

How do I find information about the hardware?

Hello I used to Red Hat and the common Linux commands, but now I have to deal with a SCO-Unix (Unix Ware 7). I have to find information about the hardware. What networkcard is installed? What graphiccard is installed? Which SCSI-Adapter and what kind of harddisks? What software is... (3 Replies)
Discussion started by: Fwurm
3 Replies

8. UNIX for Dummies Questions & Answers

solaris2.6 command to find/list system configuration

Hi. What command can be used to determine the system configuration. For example I want to find out how much CPU, how much memory, what CPU and 233mhz or 400mhz, etc. Please help.... (4 Replies)
Discussion started by: subhransu
4 Replies

9. UNIX for Dummies Questions & Answers

Please help me find out system information

I'm just getting started with unix and would like to know 1) how to tell how big the harddrive is 2) how to tell if there are multiple harddrive installed on the machine 3) a relitavely easy way to tell what programs are installed on the machine. I'm using Sun OS 5.6 Thanks (3 Replies)
Discussion started by: ViperD
3 Replies
Login or Register to Ask a Question