Difference between revisions of "Getting System Information"
Jump to navigation
Jump to search
m (m: typo + empty line) |
m (m: fixed syntaxhighlight warnings) |
||
Line 3: | Line 3: | ||
== Installed CPU(s) == | == Installed CPU(s) == | ||
− | <syntaxhighlight> | + | <syntaxhighlight lang="bash"> |
cat /proc/cpuinfo | cat /proc/cpuinfo | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Line 9: | Line 9: | ||
Example result (excerpt): | Example result (excerpt): | ||
− | <syntaxhighlight> | + | <syntaxhighlight lang="text"> |
cpu: POWER9, altivec supported | cpu: POWER9, altivec supported | ||
revision: 2.3 (pvr 004e 1203) | revision: 2.3 (pvr 004e 1203) | ||
Line 16: | Line 16: | ||
== Motherboard == | == Motherboard == | ||
− | <syntaxhighlight> | + | <syntaxhighlight lang="bash"> |
cat /proc/cpuinfo | cat /proc/cpuinfo | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Line 22: | Line 22: | ||
Example result (excerpt): | Example result (excerpt): | ||
− | <syntaxhighlight> | + | <syntaxhighlight lang="text"> |
machine: PowerNV C1P9S01 REV 1.01 | machine: PowerNV C1P9S01 REV 1.01 | ||
firmware: OPAL | firmware: OPAL | ||
Line 30: | Line 30: | ||
== PCI devices == | == PCI devices == | ||
− | <syntaxhighlight> | + | <syntaxhighlight lang="bash"> |
lspci | lspci | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Line 36: | Line 36: | ||
Example result (excerpt): | Example result (excerpt): | ||
− | <syntaxhighlight> | + | <syntaxhighlight lang="text"> |
0005:02:00.0 VGA compatible controller: ASPEED Technology, Inc. ASPEED Graphics Family (rev 41) | 0005:02:00.0 VGA compatible controller: ASPEED Technology, Inc. ASPEED Graphics Family (rev 41) | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Line 44: | Line 44: | ||
Show recognized and activated SATA settings: | Show recognized and activated SATA settings: | ||
− | <syntaxhighlight> | + | <syntaxhighlight lang="bash"> |
dmesg | grep -i sata | dmesg | grep -i sata | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Line 50: | Line 50: | ||
Eg. | Eg. | ||
− | <syntaxhighlight> | + | <syntaxhighlight lang="text"> |
[ 3.542383] ata1: SATA max UDMA/133 abar m2048@0x60c100000000 port 0x600c100000100 irq 28 | [ 3.542383] ata1: SATA max UDMA/133 abar m2048@0x60c100000000 port 0x600c100000100 irq 28 | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Line 56: | Line 56: | ||
== System Firmware versions == | == System Firmware versions == | ||
− | <syntaxhighlight> | + | <syntaxhighlight lang="bash"> |
sudo lsmcode | sudo lsmcode | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Line 62: | Line 62: | ||
Eg. | Eg. | ||
− | <syntaxhighlight> | + | <syntaxhighlight lang="text"> |
Version of System Firmware : | Version of System Firmware : | ||
Product Name : OpenPOWER Firmware | Product Name : OpenPOWER Firmware |
Revision as of 10:32, 21 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