View hard disk parameters, CPU parameter temperature, etc.

Source: Internet
Author: User
Article Title: View hard disk parameters, CPU parameter temperature, and so on. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.

1) view hard disk parameters:

Hdparm/dev/hda

My hard disk display:

/Dev/hda:

Multcount = 16 (on)

IO_support = 1 (32-bit)

Unmaskirq = 1 (on)

Using_dma = 1 (on)

Keepsettings = 0 (off)

Readonly = 0 (off)

Readahead = 256 (on)

Geometry = 59582/16/63, sectors = 60058656, start = 0

2) view cpu Parameters

Cat/proc/cpuinfo

Processor: 0

Vendor_id: GenuineIntel

Cpu family: 15

Model: 1

Model name: Intel (R) Pentium (R) 4 CPU 1.80 GHz

Stepping: 3

Cpu MHz: 1800.029

Cache size: 256 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 pae mce cx8 apic mtrr pge mca cmov pat limit 36 clflush dts acpi mmx fxsr sse sse2 ss ht tm up

Bogomips: 3600.05

3) view the cpu temperature:

1.

Cat/proc/acpi/thermal_zone/THRM/temperature

However, there are two prerequisites:

To support kernel-related modules (such as I2C), find the sensor model of the system, and then enable the corresponding options in the kernel.

I may fail to check if this prerequisite is not met.

2.

First, make sure that the lm_sensors package is installed in the system. After installation, run sensors-detect on the terminal and press Enter. The lm_sensors service is started by default, then you can run the sensors command on the terminal to display the CPU temperature and voltage models.

It87-isa-0290
Adapter: ISA adapter
VCore 1: + 1.71 V (min = + 4.08 V, max = + 4.08 V) ALarm
VCore 2: + 2.59 V (min = + 4.08 V, max = + 4.08 V) ALarm
+ 3.3 V: + 3.25 V (min = + 4.08 V, max = + 4.08 V) ALarm
+ 5 V: + 5.19 V (min = + 6.85 V, max = + 6.85 V) ALarm
+ 12 V: + 11.39 V (min = + 16.32 V, max = + 16.32 V) ALarm
-12 V:-20.00 V (min = + 3.93 V, max = + 3.93 V) ALarm
-5-v: + 3.33 V (min = + 4.03 V, max = + 4.03 V) ALarm
Stdby: + 5.03 V (min = + 6.85 V, max = + 6.85 V) ALarm
VBat: + 2.03 V
Fan1: 0 RPM (min = 0 RPM, div = 8)
Fan2: 0 RPM (min = 0 RPM, div = 8)
Fan3: 0 RPM (min = 0 RPM, div = 2)
M/B Temp: + 49 C (low =-1 C, high =-1 C) sensor = thermistor
CPU Temp: + 36 C (low =-1 C, high =-1 C) sensor = thermistor
Temp3: + 35 C (low =-1 C, high =-1 C) sensor = diode

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.