Difference between revisions of "Getting System Information"

From RCS Wiki
Jump to navigation Jump to search
m (m: fixed syntaxhighlight warnings)
(Add sensors)
Line 48: Line 48:
 
</syntaxhighlight>
 
</syntaxhighlight>
  
Eg.
+
eg.
  
 
<syntaxhighlight lang="text">
 
<syntaxhighlight lang="text">
Line 60: Line 60:
 
</syntaxhighlight>
 
</syntaxhighlight>
  
Eg.
+
eg.
  
 
<syntaxhighlight lang="text">
 
<syntaxhighlight lang="text">
Line 74: Line 74:
 
  Product Extra  : sbe-459a974
 
  Product Extra  : sbe-459a974
 
  Product Extra  : hcode-81ae5fd
 
  Product Extra  : hcode-81ae5fd
 +
</syntaxhighlight>
 +
 +
 +
== Sensors (CPU and drive temperatures etc.) ==
 +
 +
Installation:
 +
 +
<syntaxhighlight lang="bash">
 +
sudo apt install lm-sensors
 +
sudo sensors-detect          # use all default values by pressing enter when asked
 +
</syntaxhighlight>
 +
 +
Display current sensor values:
 +
 +
<syntaxhighlight lang="bash">
 +
sensors
 
</syntaxhighlight>
 
</syntaxhighlight>

Revision as of 00:54, 23 January 2020

This page contains a list of commands to query your system properties (mainly hardware and firmware). It requires a working Linux installation (eg. Ubuntu Server or Fedora).

Installed CPU(s)

cat /proc/cpuinfo

Example result (excerpt):

cpu:      POWER9, altivec supported
revision: 2.3 (pvr 004e 1203)

Motherboard

cat /proc/cpuinfo

Example result (excerpt):

machine:  PowerNV C1P9S01 REV 1.01
firmware: OPAL
MMU:      Radix

PCI devices

lspci

Example result (excerpt):

0005:02:00.0 VGA compatible controller: ASPEED Technology, Inc. ASPEED Graphics Family (rev 41)

SATA

Show recognized and activated SATA settings:

dmesg | grep -i sata

eg.

[   3.542383] ata1: SATA max UDMA/133 abar m2048@0x60c100000000 port 0x600c100000100 irq 28

System Firmware versions

sudo lsmcode

eg.

Version of System Firmware :
 Product Name    : OpenPOWER Firmware
 Procuct Version : blackbird-v2.3-rc2-65-g1bd4a042-dirty
 Product Extra   : skiboot-c81f9d6
 Product Extra   : hostboot-3beba24
 Product Extra   : linux-v4.19-openpower1-p048916f
 Product Extra   : petittboot-v1.10.3-pdd2d545
 Product Extra   : machine-xml-17e9e84
 Product Extra   : occ-b010273
 Product Extra   : sbe-459a974
 Product Extra   : hcode-81ae5fd


Sensors (CPU and drive temperatures etc.)

Installation:

sudo apt install lm-sensors
sudo sensors-detect          # use all default values by pressing enter when asked

Display current sensor values:

sensors