====== FreeBSD: Информация о процессоре ====== Как посмотреть информацию о процессоре во FreeBSD? # sysctl -a | egrep -i 'hw.machine|hw.model|hw.ncpu' Пример вывода: sysctl -a | egrep -i 'hw.machine|hw.model|hw.ncpu' Пример вывода: hw.machine: amd64 hw.model: AMD Athlon(tm) 64 X2 Dual Core Processor 5600+ hw.ncpu: 2 hw.machine_arch: amd64 Возможен и такой способ: grep -i cpu /var/run/dmesg.boot CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 5600+ (2799.98-MHz K8-class CPU) FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 cpu0: on acpi0 cpu1: on acpi0 acpi_throttle0: on cpu0 powernow0: on cpu0 powernow1: on cpu1 SMP: AP CPU #1 Launched! Можно посмотреть еще больше информации: sysctl -a | grep -i cpu | less Пример вывода: kern.ccpu: 0 0, 1 0, 1 kern.smp.cpus: 2 kern.smp.maxcpus: 32 debug.cpufreq.verbose: 0 debug.cpufreq.lowest: 0 debug.kdb.stop_cpus: 1 hw.ncpu: 2 hw.acpi.cpu.cx_lowest: C1 machdep.hlt_cpus: 0 security.jail.param.cpuset.id: 0 dev.cpu.0.%desc: ACPI CPU dev.cpu.0.%driver: cpu dev.cpu.0.%location: handle=\_PR_.P001 dev.cpu.0.%pnpinfo: _HID=none _UID=0 dev.cpu.0.%parent: acpi0 dev.cpu.0.freq: 2800 dev.cpu.0.freq_levels: 2800/89000 2600/76407 2400/65000 2200/54722 2000/49747 1800/44772 1000/22757 dev.cpu.0.cx_supported: C1/0 dev.cpu.0.cx_lowest: C1 dev.cpu.0.cx_usage: 100.00% last 427us dev.cpu.1.%desc: ACPI CPU dev.cpu.1.%driver: cpu dev.cpu.1.%location: handle=\_PR_.P002 dev.cpu.1.%pnpinfo: _HID=none _UID=0 dev.cpu.1.%parent: acpi0 dev.cpu.1.cx_supported: C1/0 dev.cpu.1.cx_lowest: C1 dev.cpu.1.cx_usage: 100.00% last 410us dev.acpi_perf.0.%parent: cpu0 dev.acpi_perf.1.%parent: cpu1 dev.powernow.0.%parent: cpu0 dev.powernow.1.%parent: cpu1 dev.cpufreq.0.%driver: cpufreq dev.cpufreq.0.%parent: cpu0 dev.cpufreq.1.%driver: cpufreq dev.cpufreq.1.%parent: cpu1 TAG: {{tag> FreeBSD}} ~~DISCUSSION:closed~~