Druckversion
Holger Wagner
Diese Frage kann mit Linux Bordmitteln beantwortet werden.
Hier am Beispiel des Betriebssystem Debian 11 Codename Bullseye auf der Kommandozeile:
Zuerst wird das Betriebssystem aktualisiert und einige Programme installiert.
# apt update -y && apt upgrade -y && apt dist-upgrade -y
# apt install lshw inxi lm-sensors
Mit dieser Software können jetzt die Daten aus der Hardware ausgelesen werden.
HTML Ausgabe (Umlenkung in Datei):
# lshw -html > lshw_ausgabe.html
Normale Textausgabe (Umlenkung in Datei):
# lshw > lshw_ausgabe.txt
Kurzfassung:
# lshw -short
Nur eine bestimmte Hardwareklasse ausgeben:
# lshw -c CPU
Ausgabe auf der Konsole:
# inxi -Fxz
System: Host: pc-00111 Kernel: 4.15.0-192-generic i686 bits: 32 gcc: 7.5.0 Console: tty 1
Distro: Ubuntu 18.04.6 LTS
Machine: Device: desktop System: Compaq product: Evo D510 USDT serial: N/A
Mobo: Compaq model: 07ECh serial: N/A BIOS: Compaq v: 686O1 v1.07 date: 08/28/2002
CPU: Single core Intel Pentium 4 (-UP-) arch: Netburst Willamette rev.7 cache: 512 KB
flags: (pae sse sse2) bmips: 3789 speed: 1894 MHz (max)
Graphics: Card: Intel 82845G/GL[Brookdale-G]/GE Integrated Graphics Device bus-ID: 00:02.0
Display Server: X.org 1.19.6 drivers: intel (unloaded: modesetting,fbdev,vesa)
tty size: 149x33 Advanced Data: N/A out of X
Audio: Card Intel 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller
driver: snd_intel8x0 ports: 2000 2400 bus-ID: 00:1f.5
Sound: Advanced Linux Sound Architecture v: k4.15.0-192-generic
Network: Card: Intel 82801DB PRO/100 VM (LOM) Ethernet Controller
driver: e100 v: 3.5.24-k2-NAPI port: 1000 bus-ID: 05:08.0
IF: enp5s8 state: up speed: 100 Mbps duplex: full mac:
Drives: HDD Total Size: 20.0GB (24.7% used)
ID-1: /dev/sda model: Maxtor_6E020L0 size: 20.0GB temp: 42C
Partition: ID-1: / size: 19G used: 4.6G (27%) fs: ext4 dev: /dev/sda1
RAID: No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors: None detected - is lm-sensors installed and configured?
Info: Processes: 130 Uptime: 12:03 Memory: 182.8/990.0MB Init: systemd runlevel: 5 Gcc sys: N/A
Client: Shell (bash 4.4.201) inxi: 2.3.56
Informationen zu Partitionen, Betriebssystem, Ressourcenverbrauch, Speicherbelegung
und auch Informationen zu den verwendeten Repositories.
# inxi -pluFxxrm