hardware-erkennung
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
| Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende Überarbeitung | ||
| hardware-erkennung [2022-11-28 15:23:46] – [FreeBSD] manfred | hardware-erkennung [2024-04-07 19:59:25] (aktuell) – manfred | ||
|---|---|---|---|
| Zeile 12: | Zeile 12: | ||
| > udevadm info -e | less | > udevadm info -e | less | ||
| + | |||
| + | |||
| + | ===== Architektur ===== | ||
| + | |||
| + | |||
| + | Debian/ | ||
| + | > dpkg --print-architecture | ||
| + | amd64 | ||
| + | |||
| + | FreeBSD: | ||
| + | > uname -m | ||
| + | amd64 | ||
| + | |||
| + | > sysctl -n hw.machine | ||
| + | amd64 | ||
| Zeile 246: | Zeile 261: | ||
| address sizes : 32 bits physical, 32 bits virtual | address sizes : 32 bits physical, 32 bits virtual | ||
| power management: | power management: | ||
| + | |||
| + | Anzahl der (logischen) CPU-Kerne ausgeben: | ||
| + | > awk '/ | ||
| + | 12 | ||
| + | | ||
| + | > nproc --all | ||
| + | 12 | ||
| + | |||
| + | Anzahl der (pysikalischen) CPU-Kerne ausgeben: | ||
| + | > sed ' | ||
| + | 6 | ||
| + | | ||
| + | > awk '/^cpu cores/ | ||
| + | 6 | ||
| + | | ||
| + | > lscpu -p=CORE | grep -E ' | ||
| + | 6 | ||
| + | | ||
| + | > grep -m 1 'cpu cores' / | ||
| + | 6 | ||
| + | | ||
| + | > grep -m 1 'cpu cores' / | ||
| + | 6 | ||
| === FreeBSD === | === FreeBSD === | ||
| + | |||
| + | FreeBSD-Kernel-Version: | ||
| + | > freebsd-version -k | ||
| + | 13.1-RELEASE-p4 | ||
| + | |||
| + | FreeBSD-Userland-Version: | ||
| + | > freebsd-version -u | ||
| + | 13.1-RELEASE-p4 | ||
| + | |||
| + | > pciconf -lv | grep -A1 -E vendor[^=] | less | ||
| + | |||
| + | > usbconfig | ||
| + | ugen0.1: <Intel XHCI root HUB> at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=SAVE (0mA) | ||
| + | ugen0.2: <ASRock LED Controller> | ||
| + | ugen0.3: <vendor 0x413c Dell KB216 Wired Keyboard> | ||
| Bei FeeBSD kommt man über das Werkzeug //dmesg// an die ersehnten Infos ran: | Bei FeeBSD kommt man über das Werkzeug //dmesg// an die ersehnten Infos ran: | ||
| Zeile 277: | Zeile 330: | ||
| cpu1 (AP): APIC ID: 1 | cpu1 (AP): APIC ID: 1 | ||
| - | Hier ist auch zu sehen, das die CPU zwei Kerne besitzt, das kann man in der ///usr/compat/linux/proc/cpuinfo// auch nur am Namen erkennen. | + | Hier ist auch zu sehen, das die CPU zwei Kerne besitzt. |
| + | |||
| + | > sysctl -a | grep -Ei ' | ||
| + | hw.machine: amd64 | ||
| + | hw.model: Intel(R) Core(TM) i5-10600T CPU @ 2.40GHz | ||
| + | hw.ncpu: 12 | ||
| + | hw.machine_arch: | ||
| + | |||
| + | > sysctl hw.model hw.machine hw.ncpu | ||
| + | hw.model: Intel(R) Core(TM) i5-10600T CPU @ 2.40GHz | ||
| + | hw.machine: amd64 | ||
| + | hw.ncpu: 12 | ||
| + | |||
| + | > sysctl hw.ncpu | ||
| + | hw.ncpu: 12 | ||
| + | |||
| + | > sysctl -e hw.ncpu | ||
| + | hw.ncpu=12 | ||
| + | |||
| + | > sysctl -n hw.ncpu | ||
| + | 12 | ||
| + | |||
| + | # Beschreibung: | ||
| + | > sysctl -d hw.ncpu | ||
| + | hw.ncpu: Number of active CPUs | ||
| + | |||
| + | > devinfo -rv | grep -F cpu | ||
| + | |||
| + | Anzahl | ||
| + | > sysctl -n hw.ncpu | ||
| + | 12 | ||
| + | |||
| + | > nproc --all | ||
| + | 12 | ||
| + | |||
| + | Anzahl der (pysikalischen) CPU-Kerne ausgeben: | ||
| + | > sysctl -n kern.smp.cores | ||
| + | 6 | ||
| + | |||
| + | > getconf LONG_BIT | ||
| + | 64 | ||
| + | |||
| + | > pkg install sysutils/cpu-x | ||
| + | > cpu-x | ||
| + | |||
| + | > pkg install sysutils/cpuid | ||
| + | > cpuid | less | ||
| + | |||
| + | > pkg install sysutils/dmidecode | ||
| + | > dmidecode -t processor | grep -F Count | ||
| + | Core Count: 6 | ||
| + | Thread Count: 12 | ||
| + | |||
| + | > pkg install sysutils/x86info | ||
| + | > x86info -a | ||
| + | |||
| + | > kldload -v coretemp | ||
| + | > echo ' | ||
| + | oder bei AMD-CPUs | ||
| + | > kldload -v amdtemp | ||
| + | > echo ' | ||
| + | |||
| + | > sysctl -a | grep -F temperature | ||
| + | dev.pchtherm.0.temperature: | ||
| + | dev.cpu.11.temperature: | ||
| + | dev.cpu.9.temperature: | ||
| + | dev.cpu.7.temperature: | ||
| + | dev.cpu.5.temperature: | ||
| + | dev.cpu.3.temperature: | ||
| + | dev.cpu.1.temperature: | ||
| + | dev.cpu.10.temperature: | ||
| + | dev.cpu.8.temperature: | ||
| + | dev.cpu.6.temperature: | ||
| + | dev.cpu.4.temperature: | ||
| + | dev.cpu.2.temperature: | ||
| + | dev.cpu.0.temperature: | ||
| Wenn man die Linuxemulation aktiviert hat und das Linux-// | Wenn man die Linuxemulation aktiviert hat und das Linux-// | ||
/home/http/wiki/data/attic/hardware-erkennung.1669649026.txt · Zuletzt geändert: von manfred
