Geräteverwaltung: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
 
(2 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
<span id="speichergeräte-anzeigen"></span>
+
= Anzeigen =
= Speichergeräte anzeigen =
+
 
 +
== Speichergeräte anzeigen ==
  
 
* Zeigt die Partionen der Festplatten und ihren Einhängepunkt
 
* Zeigt die Partionen der Festplatten und ihren Einhängepunkt
 
* '''lsblk'''
 
* '''lsblk'''
  
<!----->
 
 
  NAME  MAJ:MIN RM  SIZE RO TYPE MOUNTPOINTS
 
  NAME  MAJ:MIN RM  SIZE RO TYPE MOUNTPOINTS
 
  sda      8:0    0 238,5G  0 disk  
 
  sda      8:0    0 238,5G  0 disk  
Zeile 12: Zeile 12:
 
  └─sda3  8:3    0 236,2G  0 part /
 
  └─sda3  8:3    0 236,2G  0 part /
 
  sr0    11:0    1  1024M  0 rom   
 
  sr0    11:0    1  1024M  0 rom   
<span id="pci-geräte-anzeigen"></span>
+
 
= PCI-Geräte anzeigen =
+
== PCI-Geräte anzeigen ==
  
 
* '''lspci'''
 
* '''lspci'''
  
<!----->
 
 
  00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v2/Ivy Bridge DRAM Controller (rev 09)
 
  00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v2/Ivy Bridge DRAM Controller (rev 09)
 
  00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor PCI Express Root Port (rev 09)
 
  00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor PCI Express Root Port (rev 09)
Zeile 33: Zeile 32:
 
  01:00.0 VGA compatible controller: NVIDIA Corporation GF106GL [Quadro 2000] (rev a1)
 
  01:00.0 VGA compatible controller: NVIDIA Corporation GF106GL [Quadro 2000] (rev a1)
 
  01:00.1 Audio device: NVIDIA Corporation GF106 High Definition Audio Controller (rev a1)
 
  01:00.1 Audio device: NVIDIA Corporation GF106 High Definition Audio Controller (rev a1)
<span id="usb-geräte-anzeigen"></span>
+
 
= USB-Geräte anzeigen =
+
== USB-Geräte anzeigen ==
  
 
* '''lsusb'''
 
* '''lsusb'''
  
<!----->
 
 
  Bus 002 Device 003: ID 05a3:9331 ARC International Camera
 
  Bus 002 Device 003: ID 05a3:9331 ARC International Camera
 
  Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
 
  Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Zeile 49: Zeile 47:
 
  Bus 003 Device 002: ID 046d:0a45 Logitech, Inc. 960 Headset
 
  Bus 003 Device 002: ID 046d:0a45 Logitech, Inc. 960 Headset
 
  Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 
  Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
<span id="cpus-anzeigen"></span>
+
 
= CPUs anzeigen =
+
== CPUs anzeigen ==
  
 
* '''lscpu'''
 
* '''lscpu'''
  
<!----->
 
 
  Architektur:                    x86_64
 
  Architektur:                    x86_64
 
  CPU Operationsmodus:            32-bit, 64-bit
 
  CPU Operationsmodus:            32-bit, 64-bit
Zeile 73: Zeile 70:
 
  Minimale Taktfrequenz der CPU:  1600,0000
 
  Minimale Taktfrequenz der CPU:  1600,0000
 
  ...
 
  ...
<div class="mw-collapsible-content">askdjalskd</div>
+
 
 +
= Verwalten =
 +
 
 +
== Festplatten ein-/aushängen ==
 +
 
 +
* '''mount ''/dev/sdxx'' /pfad/zum/zielverzeichnis'''
 +
* '''umount /pfad/zum/zielverzeichnis'''
 +
 
 +
== Netzwerkschnittstellen hoch-/runterfahren ==
 +
 
 +
=== Hochfahren ===
 +
 
 +
* '''ifup -va'''
 +
* '''ip link set ''device_name'' up'''
 +
 
 +
=== Herunterfahren ===
 +
 
 +
* '''ifdown -va'''
 +
* '''ip link set ''device_name'' down'''
 +
 
 +
== Konfigurieren mit ==
 +
 
 +
* [[udev]]

Aktuelle Version vom 14. März 2023, 14:48 Uhr

Anzeigen

Speichergeräte anzeigen

  • Zeigt die Partionen der Festplatten und ihren Einhängepunkt
  • lsblk
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
sda      8:0    0 238,5G  0 disk 
├─sda1   8:1    0   300M  0 part /boot
├─sda2   8:2    0     2G  0 part [SWAP]
└─sda3   8:3    0 236,2G  0 part /
sr0     11:0    1  1024M  0 rom  

PCI-Geräte anzeigen

  • lspci
00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v2/Ivy Bridge DRAM Controller (rev 09)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor PCI Express Root Port (rev 09)
00:06.0 PCI bridge: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor PCI Express Root Port (rev 09)
00:14.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller (rev 04)
00:16.0 Communication controller: Intel Corporation 7 Series/C216 Chipset Family MEI Controller #1 (rev 04)
00:19.0 Ethernet controller: Intel Corporation 82579LM Gigabit Network Connection (Lewisville) (rev 04)
00:1a.0 USB controller: Intel Corporation 7 Series/C216 Chipset Family USB Enhanced Host Controller #2 (rev 04)
00:1b.0 Audio device: Intel Corporation 7 Series/C216 Chipset Family High Definition Audio Controller (rev 04)
00:1d.0 USB controller: Intel Corporation 7 Series/C216 Chipset Family USB Enhanced Host Controller #1 (rev 04)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev a4)
00:1f.0 ISA bridge: Intel Corporation C216 Series Chipset LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation 7 Series/C210 Series Chipset Family 6-port SATA Controller [AHCI mode] (rev 04)
00:1f.3 SMBus: Intel Corporation 7 Series/C216 Chipset Family SMBus Controller (rev 04)
01:00.0 VGA compatible controller: NVIDIA Corporation GF106GL [Quadro 2000] (rev a1)
01:00.1 Audio device: NVIDIA Corporation GF106 High Definition Audio Controller (rev a1)

USB-Geräte anzeigen

  • lsusb
Bus 002 Device 003: ID 05a3:9331 ARC International Camera
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 004: ID 1a2c:0e24 China Resource Semico Co., Ltd USB Keyboard
Bus 001 Device 003: ID 04f2:0939 Chicony Electronics Co., Ltd Amazon Basics mouse
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 002: ID 046d:0a45 Logitech, Inc. 960 Headset
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

CPUs anzeigen

  • lscpu
Architektur:                     x86_64
CPU Operationsmodus:             32-bit, 64-bit
Adressgrößen:                    36 bits physical, 48 bits virtual
Byte-Reihenfolge:                Little Endian
CPU(s):                          4
Liste der Online-CPU(s):         0-3
Anbieterkennung:                 GenuineIntel
Modellname:                      Intel(R) Xeon(R) CPU E3-1225 V2 @ 3.20GHz
Prozessorfamilie:                6
Modell:                          58
Thread(s) pro Kern:              1
Kern(e) pro Sockel:              4
Sockel:                          1
Stepping:                        9
Skalierung der CPU(s):           95%
Maximale Taktfrequenz der CPU:   3600,0000
Minimale Taktfrequenz der CPU:   1600,0000
...

Verwalten

Festplatten ein-/aushängen

  • mount /dev/sdxx /pfad/zum/zielverzeichnis
  • umount /pfad/zum/zielverzeichnis

Netzwerkschnittstellen hoch-/runterfahren

Hochfahren

  • ifup -va
  • ip link set device_name up

Herunterfahren

  • ifdown -va
  • ip link set device_name down

Konfigurieren mit