How to view CPU information in Linux and FreeBSD systems

Source: Internet
Author: User
Tags dmesg
Article Title: how to view CPU information in Linux and FreeBSD. Linux is a technology channel of the IT lab in China. Including desktop applications, Linux system management, kernel research, embedded systems and open source, and other basic categories I. Linux
 
View cpu information:
 
[Junjie2 @ ljj ~] $ Cat/proc/cpuinfo
 
Processor: 0
 
Vendor_id: GenuineIntel
 
Cpu family: 6
 
Model: 13
 
Model name: Intel (R) Pentium (R) M processor 1.60 GHz
 
Stepping: 8
 
Cpu MHz: 1592.106
 
Cache size: 2048 KB
 
Fdiv_bug: no
 
Hlt_bug: no
 
F00f_bug: no
 
Coma_bug: no
 
Fpu: yes
 
Fpu_exception: yes
 
Cpuid level: 2
 
Wp: yes
 
Flags: fpu vme de pse tsc msr mce cx8 apic mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss
 
Bogomips: 3192.69
 
Ii. Freebsd
 
For more information, see:
 
Dmesg's simplest method
 
Freebsd # cat/var/run/dmesg. boot | grep CPU can view cpu Information
 
View cpuid for sysctl hw. model
 
Sysctl machdep. tsc_freq cpu usage
 
Or directly through ports
 
Cd/usr/ports/misc/cpuid
 
Make install clean
 
Then
 
You can view it directly through cpuid
 
/Usr/local/bin/cpuid
 
Tags: cpu, freebsd
 
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.