Zuletzt aktualisiert am 13.06.2023 um 10:06 Uhr
Um zum Beispiel Informationen über die Grafikkarte oder ähnliches anzeigen zu lassen, sind in der Regel verschiedene Möglichkeiten vorhanden, die hier kurz erläutert werden.
Alle Befehle werden in der “Konsole” (Terminal) ausgeführt.
Inhalte
Verbergen
lshw
Installation
Debian/Ubuntu
sudo apt install lshw
CentOS etc.
sudo yum install lshw
Ausführen
sudo lshw -C display
Beispielausgabe
*-display
description: VGA compatible controller
product: UHD Graphics 630 (Desktop)
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
version: 00
width: 64 bits
clock: 33MHz
capabilities: pciexpress msi pm vga_controller bus_master cap_list rom
configuration: driver=i915 latency=0
resources: irq:134 memory:f6000000-f6ffffff memory:e0000000-efffffff ioport:f000(size=64) memory:c0000-dffff
Hilfe anzeigen
Hardware Lister (lshw) -
usage: lshw [-format] [-options ...]
lshw -version
-version print program version ()
format can be
-html output hardware tree as HTML
-xml output hardware tree as XML
-json output hardware tree as a JSON object
-short output hardware paths
-businfo output bus information
options can be
-class CLASS only show a certain class of hardware
-C CLASS same as '-class CLASS'
-c CLASS same as '-class CLASS'
-disable TEST disable a test (like pci, isapnp, cpuid, etc. )
-enable TEST enable a test (like pci, isapnp, cpuid, etc. )
-quiet don't display status
-sanitize sanitize output (remove sensitive information like serial numbers, etc.)
-numeric output numeric IDs (for PCI, USB, etc.)
-notime exclude volatile attributes (timestamps) from output
lspci
Ausführen
sudo lspci | grep VGA
Beispielausgabe
00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 630 (Desktop)
Xorg Protokolldatei
Ausführen
sudo grep Graphics /var/log/Xorg.0.log
Beispielausgabe
[ 18.778] (II) modeset(0): glamor X acceleration enabled on Mesa Intel(R) UHD Graphics 630 (CFL GT2)
neofetch
Installation
sudo add-apt-repository ppa:dawidd0811weseneofetch
sudo apt update
sudo apt install neofetch
Ausführen
neofetch