FreeBSD 查看CPUINFO
来源:互联网 发布:appscan sql文件注入 编辑:程序博客网 时间:2024/05/29 18:32
linux下的cat /proc/cpuinfo在bsd下没法用,替换的是
[yangsong@ /]#dmesg | grep -i CPU
CPU: Intel(R) Xeon(TM) CPU 3.20GHz (3204.40-MHz 686-class CPU)
Hyperthreading: 2 logical CPUs
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
cpu0 (BSP): APIC ID: 0
cpu1 (AP): APIC ID: 1
cpu2 (AP): APIC ID: 6
cpu3 (AP): APIC ID: 7
cpu0: on acpi0
acpi_throttle0: on cpu0
cpu1: on acpi0
cpu2: on acpi0
cpu3: on acpi0
SMP: AP CPU #3 Launched!
SMP: AP CPU #1 Launched!
SMP: AP CPU #2 Launched!
还可以:
[yangsong@siva.enetwork.com.cn /proc]#sysctl -a | grep -i cpu
kern.threads.virtual_cpu: 4
kern.sched.ipiwakeup.onecpu: 0
kern.ccpu: 1948
kern.smp.maxcpus: 16
kern.smp.cpus: 4
debug.cpufreq.lowest: 0
debug.cpufreq.verbose: 0
debug.kdb.stop_cpus: 1
debug.PMAP1changedcpu: 188
hw.model: Intel(R) Xeon(TM) CPU 3.20GHz
hw.ncpu: 4
hw.acpi.cpu.cx_supported: C1/0
hw.acpi.cpu.cx_lowest: C1
hw.acpi.cpu.cx_usage: 100.00%
machdep.cpu_idle_hlt: 1
machdep.hlt_cpus: 10
machdep.hlt_logical_cpus: 0
machdep.logical_cpus_mask: 10
dev.cpu.0.%desc: ACPI CPU
dev.cpu.0.%driver: cpu
dev.cpu.0.%location: handle=/_PR_.CPU1
dev.cpu.0.%pnpinf _HID=none _UID=0
dev.cpu.0.%parent: acpi0
dev.cpu.0.freq: 3207
dev.cpu.0.freq_levels: 3207/-1 2806/-1 2405/-1 2004/-1 1603/-1 1202/-1 801/-1 400/-1
dev.cpu.1.%desc: ACPI CPU
dev.cpu.1.%driver: cpu
dev.cpu.1.%location: handle=/_PR_.CPU2
dev.cpu.1.%pnpinf _HID=none _UID=0
dev.cpu.1.%parent: acpi0
dev.cpu.2.%desc: ACPI CPU
dev.cpu.2.%driver: cpu
dev.cpu.2.%location: handle=/_PR_.CPU3
dev.cpu.2.%pnpinf _HID=none _UID=0
dev.cpu.2.%parent: acpi0
dev.cpu.3.%desc: ACPI CPU
dev.cpu.3.%driver: cpu
dev.cpu.3.%location: handle=/_PR_.CPU4
dev.cpu.3.%pnpinf _HID=none _UID=0
dev.cpu.3.%parent: acpi0
dev.acpi_throttle.0.%desc: ACPI CPU Throttling
dev.acpi_throttle.0.%parent: cpu0
dev.cpufreq.0.%driver: cpufreq
dev.cpufreq.0.%parent: cpu0
甚至还能:
sysctl -a | egrep -i 'hw.machine|hw.model|hw.ncpu'
[yangsong@ /]#dmesg | grep -i CPU
CPU: Intel(R) Xeon(TM) CPU 3.20GHz (3204.40-MHz 686-class CPU)
Hyperthreading: 2 logical CPUs
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
cpu0 (BSP): APIC ID: 0
cpu1 (AP): APIC ID: 1
cpu2 (AP): APIC ID: 6
cpu3 (AP): APIC ID: 7
cpu0: on acpi0
acpi_throttle0: on cpu0
cpu1: on acpi0
cpu2: on acpi0
cpu3: on acpi0
SMP: AP CPU #3 Launched!
SMP: AP CPU #1 Launched!
SMP: AP CPU #2 Launched!
还可以:
[yangsong@siva.enetwork.com.cn /proc]#sysctl -a | grep -i cpu
kern.threads.virtual_cpu: 4
kern.sched.ipiwakeup.onecpu: 0
kern.ccpu: 1948
kern.smp.maxcpus: 16
kern.smp.cpus: 4
debug.cpufreq.lowest: 0
debug.cpufreq.verbose: 0
debug.kdb.stop_cpus: 1
debug.PMAP1changedcpu: 188
hw.model: Intel(R) Xeon(TM) CPU 3.20GHz
hw.ncpu: 4
hw.acpi.cpu.cx_supported: C1/0
hw.acpi.cpu.cx_lowest: C1
hw.acpi.cpu.cx_usage: 100.00%
machdep.cpu_idle_hlt: 1
machdep.hlt_cpus: 10
machdep.hlt_logical_cpus: 0
machdep.logical_cpus_mask: 10
dev.cpu.0.%desc: ACPI CPU
dev.cpu.0.%driver: cpu
dev.cpu.0.%location: handle=/_PR_.CPU1
dev.cpu.0.%pnpinf _HID=none _UID=0
dev.cpu.0.%parent: acpi0
dev.cpu.0.freq: 3207
dev.cpu.0.freq_levels: 3207/-1 2806/-1 2405/-1 2004/-1 1603/-1 1202/-1 801/-1 400/-1
dev.cpu.1.%desc: ACPI CPU
dev.cpu.1.%driver: cpu
dev.cpu.1.%location: handle=/_PR_.CPU2
dev.cpu.1.%pnpinf _HID=none _UID=0
dev.cpu.1.%parent: acpi0
dev.cpu.2.%desc: ACPI CPU
dev.cpu.2.%driver: cpu
dev.cpu.2.%location: handle=/_PR_.CPU3
dev.cpu.2.%pnpinf _HID=none _UID=0
dev.cpu.2.%parent: acpi0
dev.cpu.3.%desc: ACPI CPU
dev.cpu.3.%driver: cpu
dev.cpu.3.%location: handle=/_PR_.CPU4
dev.cpu.3.%pnpinf _HID=none _UID=0
dev.cpu.3.%parent: acpi0
dev.acpi_throttle.0.%desc: ACPI CPU Throttling
dev.acpi_throttle.0.%parent: cpu0
dev.cpufreq.0.%driver: cpufreq
dev.cpufreq.0.%parent: cpu0
甚至还能:
sysctl -a | egrep -i 'hw.machine|hw.model|hw.ncpu'
Linux学习网收集整理
- FreeBSD 查看CPUINFO
- cpuinfo
- cpuinfo
- cpuinfo
- cpuinfo
- CpuInfo
- Cpuinfo
- Linux下查看CPU信息[/proc/cpuinfo]
- /proc/cpuinfo 文件分析(查看CPU信息)
- Linux下查看CPU信息[/proc/cpuinfo]
- Linux下查看CPU信息[/proc/cpuinfo]
- Linux下查看CPU信息[/proc/cpuinfo]
- Linux - 查看CPU信息[/proc/cpuinfo]
- Linux下查看CPU信息[/proc/cpuinfo]
- Linux下查看CPU信息[/proc/cpuinfo]
- /proc/cpuinfo 文件分析(查看CPU信息)
- Linux下查看CPU信息[/proc/cpuinfo]
- Linux下查看CPU信息[/proc/cpuinfo]
- Tomcat调优指南
- 我到底在忙啥呢?
- 图灵奖得主Tony Hoare:我的错误造成了十亿美元损失
- FreeBSD添加中文字体
- STL中Map用法详解
- FreeBSD 查看CPUINFO
- Freebsd 安装防病毒软件clam
- linux/freebsd 查看目录大小命令
- 准备狂灌英语
- 同步 异步 阻塞 非阻塞
- “格式化都没用?教你清除“不可杀”病毒”
- 开始opengoo的汉化了,完成度70%。
- 公交换乘简单算法
- 老师说蚯蚓切成两段仍能再生,小东照老师话去做,蚯蚓却死了,为什么?