Fork me on GitHub

命令拷屏之硬件信息

dmesg
cat /proc/cpuinfo,/proc/meminfo,/proc/bus/usb/devices
lspci,lsusb,lshal,lshw
dmidecode
sensors [root@rac01
~]# dmesg |wc -l 1079 [root@rac01 ~]# dmesg |grep cpu powernow-k8: Found 4 AMD Opteron(TM) Processor 6212 processors (16 cpu cores) (version 2.20.00) [root@250-shiyan ~]# cat /proc/cpuinfo processor : 0 vendor_id : AuthenticAMD cpu family : 21 model : 1 model name : AMD Opteron(TM) Processor 6212 stepping : 2 cpu MHz : 2600.000 cache size : 2048 KB fpu : yes fpu_exception : yes cpuid level : 13 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt rdtscp lm constant_tsc up rep_good tsc_reliable nonstop_tsc aperfmperf unfair_spinlock pni pclmulqdq ssse3 cx16 sse4_1 sse4_2 popcnt aes xsave avx hypervisor lahf_lm extapic abm sse4a misalignsse 3dnowprefetch osvw xop fma4 bogomips : 5200.00 TLB size : 1536 4K pages clflush size : 64 cache_alignment : 64 address sizes : 40 bits physical, 48 bits virtual power management: [root@250-shiyan ~]# cat /proc/meminfo MemTotal: 502168 kB MemFree: 23752 kB Buffers: 182860 kB Cached: 188176 kB SwapCached: 0 kB Active: 153864 kB Inactive: 231064 kB Active(anon): 2408 kB Inactive(anon): 11644 kB Active(file): 151456 kB Inactive(file): 219420 kB Unevictable: 0 kB Mlocked: 0 kB SwapTotal: 1015800 kB SwapFree: 1015800 kB Dirty: 204 kB Writeback: 0 kB AnonPages: 13916 kB Mapped: 6760 kB Shmem: 160 kB Slab: 82436 kB SReclaimable: 32744 kB SUnreclaim: 49692 kB KernelStack: 632 kB PageTables: 1752 kB NFS_Unstable: 0 kB Bounce: 0 kB WritebackTmp: 0 kB CommitLimit: 1266884 kB Committed_AS: 64700 kB VmallocTotal: 34359738367 kB VmallocUsed: 266284 kB VmallocChunk: 34359459352 kB HardwareCorrupted: 0 kB AnonHugePages: 0 kB HugePages_Total: 0 HugePages_Free: 0 HugePages_Rsvd: 0 HugePages_Surp: 0 Hugepagesize: 2048 kB DirectMap4k: 8192 kB DirectMap2M: 516096 kB [root@rac01 ~]# cat /proc/bus/usb/devices [root@rac01 ~]# cat /proc/bus/pci/devices [root@rac01 ~]# cat /proc/bus/input/devices [root@rac01 ~]# cat /etc/sysconfig/hwconf [root@rac01 ~]# which lsusb /sbin/lsusb [root@rac01 ~]# rpm -qf /sbin/lsusb usbutils-0.71-2.1 [root@rac01 ~]# rpm -ql usbutils /sbin/lsusb /usr/share/doc/usbutils-0.71 /usr/share/doc/usbutils-0.71/AUTHORS /usr/share/doc/usbutils-0.71/COPYING /usr/share/doc/usbutils-0.71/ChangeLog /usr/share/doc/usbutils-0.71/INSTALL /usr/share/doc/usbutils-0.71/NEWS /usr/share/doc/usbutils-0.71/README /usr/share/man/man8/lsusb.8.gz [root@rac01 ~]# which lspci /sbin/lspci [root@rac01 ~]# rpm -qf /sbin/lspci pciutils-3.1.7-5.el5 [root@rac01 ~]# rpm -ql pciutils /sbin/lspci /sbin/setpci /sbin/update-pciids /usr/share/doc/pciutils-3.1.7 /usr/share/doc/pciutils-3.1.7/ChangeLog /usr/share/doc/pciutils-3.1.7/README /usr/share/doc/pciutils-3.1.7/pciutils.lsm /usr/share/man/man8/lspci.8.gz /usr/share/man/man8/setpci.8.gz /usr/share/man/man8/update-pciids.8.gz [root@rac01 ~]# lsusb -tv Protocol spec without prior Class and Subclass spec at line 4297 Bus# 7 `-Dev# 1 Vendor 0x0000 Product 0x0000 Bus# 6 `-Dev# 1 Vendor 0x0000 Product 0x0000 Bus# 5 `-Dev# 1 Vendor 0x0000 Product 0x0000 Bus# 4 `-Dev# 1 Vendor 0x0000 Product 0x0000 Bus# 3 `-Dev# 1 Vendor 0x0000 Product 0x0000 Bus# 2 `-Dev# 1 Vendor 0x0000 Product 0x0000 `-Dev# 2 Vendor 0x046b Product 0xff01 Bus# 1 `-Dev# 1 Vendor 0x0000 Product 0x0000 |-Dev# 2 Vendor 0x0424 Product 0x2514 `-Dev# 3 Vendor 0x0928 Product 0x0007 [root@rac01 ~]# lspci -tv -[0000:00]-+-00.0 Advanced Micro Devices [AMD] nee ATI RD890 Northbridge only dual slot (2x16) PCI-e GFX Hydra part +-04.0-[01]--+-00.0 Broadcom Corporation NetXtreme II BCM5709 Gigabit Ethernet | \-00.1 Broadcom Corporation NetXtreme II BCM5709 Gigabit Ethernet +-06.0-[02]--+-00.0 Broadcom Corporation NetXtreme II BCM5709 Gigabit Ethernet | \-00.1 Broadcom Corporation NetXtreme II BCM5709 Gigabit Ethernet +-0b.0-[03]----00.0 LSI Logic / Symbios Logic MegaRAID SAS 2008 [Falcon] +-0c.0-[04]----00.0 QLogic Corp. ISP2532-based 8Gb Fibre Channel to PCI Express HBA +-0d.0-[05]----00.0 QLogic Corp. ISP2532-based 8Gb Fibre Channel to PCI Express HBA +-11.0 Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 SATA Controller [AHCI mode] +-12.0 Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB OHCI0 Controller +-12.1 Advanced Micro Devices [AMD] nee ATI SB7x0 USB OHCI1 Controller +-12.2 Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB EHCI Controller +-13.0 Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB OHCI0 Controller +-13.1 Advanced Micro Devices [AMD] nee ATI SB7x0 USB OHCI1 Controller +-13.2 Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB EHCI Controller +-14.0 Advanced Micro Devices [AMD] nee ATI SBx00 SMBus Controller +-14.3 Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 LPC host controller +-14.4-[06]----00.0 ASPEED Technology, Inc. ASPEED Graphics Family +-14.5 Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB OHCI2 Controller +-18.0 Advanced Micro Devices [AMD] Family 15h Processor Function 0 +-18.1 Advanced Micro Devices [AMD] Family 15h Processor Function 1 +-18.2 Advanced Micro Devices [AMD] Family 15h Processor Function 2 +-18.3 Advanced Micro Devices [AMD] Family 15h Processor Function 3 +-18.4 Advanced Micro Devices [AMD] Family 15h Processor Function 4 +-18.5 Advanced Micro Devices [AMD] Family 15h Processor Function 5 +-19.0 Advanced Micro Devices [AMD] Family 15h Processor Function 0 +-19.1 Advanced Micro Devices [AMD] Family 15h Processor Function 1 +-19.2 Advanced Micro Devices [AMD] Family 15h Processor Function 2 +-19.3 Advanced Micro Devices [AMD] Family 15h Processor Function 3 +-19.4 Advanced Micro Devices [AMD] Family 15h Processor Function 4 +-19.5 Advanced Micro Devices [AMD] Family 15h Processor Function 5 +-1a.0 Advanced Micro Devices [AMD] Family 15h Processor Function 0 +-1a.1 Advanced Micro Devices [AMD] Family 15h Processor Function 1 +-1a.2 Advanced Micro Devices [AMD] Family 15h Processor Function 2 +-1a.3 Advanced Micro Devices [AMD] Family 15h Processor Function 3 +-1a.4 Advanced Micro Devices [AMD] Family 15h Processor Function 4 +-1a.5 Advanced Micro Devices [AMD] Family 15h Processor Function 5 +-1b.0 Advanced Micro Devices [AMD] Family 15h Processor Function 0 +-1b.1 Advanced Micro Devices [AMD] Family 15h Processor Function 1 +-1b.2 Advanced Micro Devices [AMD] Family 15h Processor Function 2 +-1b.3 Advanced Micro Devices [AMD] Family 15h Processor Function 3 +-1b.4 Advanced Micro Devices [AMD] Family 15h Processor Function 4 \-1b.5 Advanced Micro Devices [AMD] Family 15h Processor Function 5 [root@rac01 ~]# rpm -qf /usr/bin/lshal 不知道为何显示两个 hal-0.5.8.1-62.el5 hal-0.5.8.1-62.el5 [root@rac01 ~]# rpm -ql hal 这个软件比较庞大 /etc/dbus-1/system.d /etc/dbus-1/system.d/hal.conf /etc/hal /etc/hal/fdi /etc/hal/fdi/information /etc/hal/fdi/policy /etc/hal/fdi/preprobe /etc/rc.d/init.d/haldaemon /etc/udev/rules.d/90-hal.rules /usr/bin/hal-device /usr/bin/hal-find-by-capability /usr/bin/hal-find-by-property /usr/bin/hal-get-property /usr/bin/hal-set-property /usr/bin/lshal [root@rac01 ~]# lshal|more Dumping 160 device(s) from the Global Device List: ------------------------------------------------- udi = '/org/freedesktop/Hal/devices/computer' info.callouts.add = {'hal-storage-cleanup-all-mountpoints'} (string list) org.freedesktop.Hal.Device.SystemPowerManagement.method_execpaths = {'hal-system-power-suspend', 'hal-system-power-suspend-clear-error', 'hal-system-power-hibernate', 'hal-sys tem-power-hibernate-clear-error', 'hal-system-power-shutdown', 'hal-system-power-reboot', 'hal-system-power-set-power-save'} (string list) org.freedesktop.Hal.Device.SystemPowerManagement.method_argnames = {'num_seconds_to_sleep', '', '', '', '', '', 'enable_power_save'} (string list) org.freedesktop.Hal.Device.SystemPowerManagement.method_signatures = {'i', '', '', '', '', '', 'b'} (string list) org.freedesktop.Hal.Device.SystemPowerManagement.method_names = {'Suspend', 'SuspendClearError', 'Hibernate', 'HibernateClearError', 'Shutdown', 'Reboot', 'SetPowerSave'} (str ing list) info.interfaces = {'org.freedesktop.Hal.Device.SystemPowerManagement'} (string list) info.addons = {'hald-addon-acpi'} (string list) [root@rac01 ~]# rpm -qf /usr/sbin/dmidecode dmidecode-2.11-1.el5 [root@rac01 ~]# rpm -qi dmidecode Name : dmidecode Relocations: (not relocatable) Version : 2.11 Vendor: Red Hat, Inc. Release : 1.el5 Build Date: Tue 01 Mar 2011 04:40:40 PM CST Install Date: Tue 27 Aug 2013 09:36:28 AM CST Build Host: hs20-bc2-3.build.redhat.com Group : System Environment/Base Source RPM: dmidecode-2.11-1.el5.src.rpm Size : 187602 License: GPLv2+ Signature : DSA/SHA1, Tue 14 Jun 2011 03:41:06 PM CST, Key ID 5326810137017186 Packager : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla> URL : http://www.nongnu.org/dmidecode/ Summary : Tool to analyse BIOS DMI data. Description : dmidecode reports information about x86 hardware as described in the system BIOS according to the SMBIOS/DMI standard. This information typically includes system manufacturer, model name, serial number, BIOS version, asset tag as well as a lot of other details of varying level of interest and reliability depending on the manufacturer. This will often include usage status for the CPU sockets, expansion slots (e.g. AGP, PCI, ISA) and memory module slots, and the list of I/O ports (e.g. serial, parallel, USB). [root@rac01 ~]# rpm -ql dmidecode /usr/sbin/biosdecode /usr/sbin/dmidecode /usr/sbin/ownership /usr/sbin/vpddecode /usr/share/doc/dmidecode-2.11 /usr/share/doc/dmidecode-2.11/AUTHORS /usr/share/doc/dmidecode-2.11/CHANGELOG /usr/share/doc/dmidecode-2.11/LICENSE /usr/share/doc/dmidecode-2.11/README /usr/share/man/man8/biosdecode.8.gz /usr/share/man/man8/dmidecode.8.gz /usr/share/man/man8/ownership.8.gz /usr/share/man/man8/vpddecode.8.gz [root@rac01 ~]# dmidecode -t processor # dmidecode 2.11 SMBIOS 2.5 present. Handle 0x0004, DMI type 4, 42 bytes Processor Information Socket Designation: CPU 1 Type: Central Processor Family: Opteron Manufacturer: AMD Opteron(TM) P ID: 12 0F 60 00 FF FB 8B 17 Signature: Family 21, Model 1, Stepping 2 Flags: FPU (Floating-point unit on-chip) VME (Virtual mode extension) DE (Debugging extension) PSE (Page size extension) TSC (Time stamp counter) MSR (Model specific registers) PAE (Physical address extension) MCE (Machine check exception) CX8 (CMPXCHG8 instruction supported) APIC (On-chip APIC hardware supported) SEP (Fast system call) MTRR (Memory type range registers) PGE (Page global enable) MCA (Machine check architecture) CMOV (Conditional move instruction supported) PAT (Page attribute table) PSE-36 (36-bit page size extension) CLFSH (CLFLUSH instruction supported) MMX (MMX technology supported) FXSR (FXSAVE and FXSTOR instructions supported) SSE (Streaming SIMD extensions) SSE2 (Streaming SIMD extensions 2) HTT (Multi-threading) Version: AMD Opteron(TM) Processor 6212 Voltage: 1.4 V External Clock: 200 MHz Max Speed: 2600 MHz Current Speed: 2600 MHz Status: Populated, Enabled Upgrade: Socket AM3 L1 Cache Handle: 0x0005 L2 Cache Handle: 0x0006 L3 Cache Handle: 0x0007 Serial Number: Not Specified Asset Tag: Not Specified Part Number: Not Specified Core Count: 8 Core Enabled: 8 Thread Count: 8 Characteristics: 64-bit capable Handle 0x0008, DMI type 4, 42 bytes Processor Information Socket Designation: CPU 2 Type: Central Processor Family: Opteron Manufacturer: AMD Opteron(TM) P ID: 12 0F 60 00 FF FB 8B 17 Signature: Family 21, Model 1, Stepping 2 Flags: FPU (Floating-point unit on-chip) VME (Virtual mode extension) DE (Debugging extension) PSE (Page size extension) TSC (Time stamp counter) MSR (Model specific registers) PAE (Physical address extension) MCE (Machine check exception) CX8 (CMPXCHG8 instruction supported) APIC (On-chip APIC hardware supported) SEP (Fast system call) MTRR (Memory type range registers) PGE (Page global enable) MCA (Machine check architecture) CMOV (Conditional move instruction supported) PAT (Page attribute table) PSE-36 (36-bit page size extension) CLFSH (CLFLUSH instruction supported) MMX (MMX technology supported) FXSR (FXSAVE and FXSTOR instructions supported) SSE (Streaming SIMD extensions) SSE2 (Streaming SIMD extensions 2) HTT (Multi-threading) Version: AMD Opteron(TM) Processor 6212 Voltage: 1.4 V External Clock: 200 MHz Max Speed: 2600 MHz Current Speed: 2600 MHz Status: Populated, Enabled Upgrade: Socket AM3 L1 Cache Handle: 0x0009 L2 Cache Handle: 0x000A L3 Cache Handle: 0x000B Serial Number: Not Specified Asset Tag: Not Specified Part Number: Not Specified Core Count: 8 Core Enabled: 8 Thread Count: 8 Characteristics: 64-bit capable Handle 0x000C, DMI type 4, 42 bytes Processor Information Socket Designation: CPU 3 Type: Central Processor Family: <OUT OF SPEC> Manufacturer: ID: 00 00 00 00 00 00 00 00 Version: Voltage: 0.0 V External Clock: Unknown Max Speed: Unknown Current Speed: Unknown Status: Unpopulated Upgrade: <OUT OF SPEC> L1 Cache Handle: 0x000D L2 Cache Handle: 0x000E L3 Cache Handle: 0x000F Serial Number: Not Specified Asset Tag: Not Specified Part Number: Not Specified Characteristics: 64-bit capable Handle 0x0010, DMI type 4, 42 bytes Processor Information Socket Designation: CPU 4 Type: Central Processor Family: <OUT OF SPEC> Manufacturer: ID: 00 00 00 00 00 00 00 00 Version: Voltage: 0.0 V External Clock: Unknown Max Speed: Unknown Current Speed: Unknown Status: Unpopulated Upgrade: <OUT OF SPEC> L1 Cache Handle: 0x0011 L2 Cache Handle: 0x0012 L3 Cache Handle: 0x0013 Serial Number: Not Specified Asset Tag: Not Specified Part Number: Not Specified Characteristics: 64-bit capable

 

[root@fgy ~]# cd /sys/devices/pci0000\:00/0000\:00\:00.0/
[root@fgy 0000:00:00.0]# ls
broken_parity_status  config  driver  irq            local_cpus  msi_bus    power   rescan    subsystem         subsystem_vendor  vendor
class                 device  enable  local_cpulist  modalias    numa_node  remove  resource  subsystem_device  uevent
[root@fgy 0000:00:00.0]# hexdump -C config
00000000  86 80 30 2e 06 00 90 20  03 00 00 06 00 00 00 00  |..0.... ........|
00000010  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000020  00 00 00 00 00 00 00 00  00 00 00 00 86 80 30 2e  |..............0.|
00000030  00 00 00 00 e0 00 00 00  00 00 00 00 00 00 00 00  |................|
00000040  01 90 d1 fe 00 00 00 00  01 40 d1 fe 00 00 00 00  |.........@......|
00000050  00 00 50 03 09 00 00 00  00 00 00 00 00 00 00 00  |..P.............|
00000060  01 00 00 e0 00 00 00 00  01 80 d1 fe 00 00 00 00  |................|
00000070  00 00 00 00 00 00 00 00  01 08 00 00 00 00 00 00  |................|
00000080  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000090  10 11 11 00 00 33 33 00  40 00 4b 00 00 1a 38 00  |.....33.@.K...8.|
000000a0  40 00 00 13 00 00 00 ce  00 00 e0 cd 00 00 e0 cd  |@...............|
000000b0  00 d0 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000000c0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000000d0  00 00 00 00 03 03 00 00  60 66 66 13 00 00 04 01  |........`ff.....|
000000e0  09 00 0c 61 24 0b a7 cf  e2 9d 2f 81 00 00 00 00  |...a$...../.....|
000000f0  00 00 00 00 08 00 00 00  a6 0f 05 00 00 00 00 00  |................|
00000100  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00001000
[root@fgy 0000:00:00.0]# lspci -v -d 8086:2e30
00:00.0 Host bridge: Intel Corporation 4 Series Chipset DRAM Controller (rev 03)
        Subsystem: Intel Corporation 4 Series Chipset DRAM Controller
        Flags: bus master, fast devsel, latency 0
        Capabilities: [e0] Vendor Specific Information: Len=0c <?>
        Kernel driver in use: agpgart-intel

[root@fgy 0000:00:00.0]#

 

探测cpu温度
[root@kvm ~]# yum install lm_sensors

下面两个命令都可以
一次性将所有回答都设为yes
sh -c "yes|sensors-detect"
[root@kvm ~]# sensors-detect
# sensors-detect revision 3.4.0-6 (2016-06-01)
# System: Gigabyte Technology Co., Ltd. H97-D3H
# Board: Gigabyte Technology Co., Ltd. H97-D3H-CF
# Kernel: 3.10.0-693.5.2.el7.x86_64 x86_64
# Processor: Intel(R) Core(TM) i3-4170 CPU @ 3.70GHz (6/60/3)

This program will help you determine which kernel modules you need
to load to use lm_sensors most effectively. It is generally safe
and recommended to accept the default answers to all questions,
unless you know what you're doing.

Some south bridges, CPUs or memory controllers contain embedded sensors.
Do you want to scan for them? This is totally safe. (YES/no): yes
Silicon Integrated Systems SIS5595...                       No
VIA VT82C686 Integrated Sensors...                          No
VIA VT8231 Integrated Sensors...                            No
AMD K8 thermal sensors...                                   No
AMD Family 10h thermal sensors...                           No
AMD Family 11h thermal sensors...                           No
AMD Family 12h and 14h thermal sensors...                   No
AMD Family 15h thermal sensors...                           No
AMD Family 16h thermal sensors...                           No
AMD Family 17h thermal sensors...                           No
AMD Family 15h power sensors...                             No
AMD Family 16h power sensors...                             No
Intel digital thermal sensor...                             Success!
    (driver `coretemp')
Intel AMB FB-DIMM thermal sensor...                         No
Intel 5500/5520/X58 thermal sensor...                       No
VIA C7 thermal sensor...                                    No
VIA Nano thermal sensor...                                  No

Some Super I/O chips contain embedded sensors. We have to write to
standard I/O ports to probe them. This is usually safe.
Do you want to scan for Super I/O sensors? (YES/no): yes
Probing for Super-I/O at 0x2e/0x2f
Trying family `National Semiconductor/ITE'...               No
Trying family `SMSC'...                                     No
Trying family `VIA/Winbond/Nuvoton/Fintek'...               No
Trying family `ITE'...                                      Yes
Found `ITE IT8620E Super IO Sensors'                        Success!
    (address 0xa30, driver `it87')
Probing for Super-I/O at 0x4e/0x4f
Trying family `National Semiconductor/ITE'...               No
Trying family `SMSC'...                                     No
Trying family `VIA/Winbond/Nuvoton/Fintek'...               No
Trying family `ITE'...                                      No

Some systems (mainly servers) implement IPMI, a set of common interfaces
through which system health data may be retrieved, amongst other things.
We first try to get the information from SMBIOS. If we don't find it
there, we have to read from arbitrary I/O ports to probe for such
interfaces. This is normally safe. Do you want to scan for IPMI
interfaces? (YES/no): y
Probing for `IPMI BMC KCS' at 0xca0...                      No
Probing for `IPMI BMC SMIC' at 0xca8...                     No

Some hardware monitoring chips are accessible through the ISA I/O ports.
We have to write to arbitrary I/O ports to probe them. This is usually
safe though. Yes, you do have ISA I/O ports even if you do not have any
ISA slots! Do you want to scan the ISA I/O ports? (yes/NO): y
Probing for `National Semiconductor LM78' at 0x290...       No
Probing for `National Semiconductor LM79' at 0x290...       No
Probing for `Winbond W83781D' at 0x290...                   No
Probing for `Winbond W83782D' at 0x290...                   No

Lastly, we can probe the I2C/SMBus adapters for connected hardware
monitoring devices. This is the most risky part, and while it works
reasonably well on most systems, it has been reported to cause trouble
on some systems.
Do you want to probe the I2C/SMBus adapters now? (YES/no): y
Found unknown SMBus adapter 8086:8ca2 at 0000:00:1f.3.
Sorry, no supported PCI bus adapters found.
Module i2c-dev loaded successfully.

Next adapter: i915 gmbus ssc (i2c-0)
Do you want to scan it? (yes/NO/selectively): y

Next adapter: i915 gmbus vga (i2c-1)
Do you want to scan it? (yes/NO/selectively): y

Next adapter: i915 gmbus panel (i2c-2)
Do you want to scan it? (yes/NO/selectively): y

Next adapter: i915 gmbus dpc (i2c-3)
Do you want to scan it? (yes/NO/selectively): y

Next adapter: i915 gmbus dpb (i2c-4)
Do you want to scan it? (yes/NO/selectively): y

Next adapter: i915 gmbus dpd (i2c-5)
Do you want to scan it? (yes/NO/selectively): y


Now follows a summary of the probes I have just done.
Just press ENTER to continue:

Driver `it87':
  * ISA bus, address 0xa30
    Chip `ITE IT8620E Super IO Sensors' (confidence: 9)

Driver `coretemp':
  * Chip `Intel digital thermal sensor' (confidence: 9)

Do you want to overwrite /etc/sysconfig/lm_sensors? (YES/no): y
Unloading i2c-dev... OK


[root@kvm ~]# sensors
acpitz-virtual-0
Adapter: Virtual device
temp1:        +27.8°C  (crit = +105.0°C)
temp2:        +29.8°C  (crit = +105.0°C)

coretemp-isa-0000
Adapter: ISA adapter
Physical id 0:  +40.0°C  (high = +80.0°C, crit = +100.0°C)
Core 0:         +40.0°C  (high = +80.0°C, crit = +100.0°C)
Core 1:         +35.0°C  (high = +80.0°C, crit = +100.0°C)

 

yum install lshw

[root@web-228 ~]# lshw web-228 description: Desktop Computer product: All Series (All) vendor: ASUS version: System Version serial: System Serial Number width: 64 bits capabilities: smbios-2.7 dmi-2.7 smp vsyscall32 configuration: administrator_password=disabled boot=normal chassis=desktop family=ASUS MB frontpanel_password=disabled keyboard_password=disabled power-on_password=disabled sku=All uuid=86800654-4E1F-168F-4CE9-9C5C8E716906 *-core description: Motherboard product: B85M-V5 PLUS vendor: ASUSTeK COMPUTER INC. physical id: 0 version: Rev X.0x serial: 151260928100663 slot: To be filled by O.E.M. *-firmware description: BIOS vendor: American Megatrends Inc. physical id: 0 version: 0503 date: 09/22/2015 size: 64KiB capacity: 8MiB capabilities: pci apm upgrade shadowing cdboot bootselect socketedrom edd int13floppy1200 int13floppy720 int13floppy2880 int5printscreen int9keyboard int14serial int17printer acpi usb biosbootspecification uefi *-memory description: System memory physical id: 1 size: 8GiB *-bank:0 description: DIMM DDR3 Synchronous 1600 MHz (0.6 ns) product: SUPER KINGSTEK vendor: 0000 physical id: 0 serial: 00000000 slot: ChannelA-DIMM0 size: 8GiB width: 64 bits clock: 1600MHz (0.6ns) *-bank:1 description: DIMM [empty] product: [Empty] vendor: [Empty] physical id: 1 serial: [Empty] slot: ChannelB-DIMM0




yum install hdparm
[root@web-228 ~]# hdparm -i /dev/sdb
[root@web-228 ~]# hdparm -I /dev/sdb

 

查找磁盘及控制器
[root@web-228 ~]# lshw -class disk -class storage *-ide description: IDE interface product: 8 Series/C220 Series Chipset Family 2-port SATA Controller 2 [IDE mode] vendor: Intel Corporation physical id: 1f.5 bus info: pci@0000:00:1f.5 logical name: scsi0 logical name: scsi1 version: 05 width: 32 bits clock: 66MHz capabilities: ide pm bus_master cap_list emulated configuration: driver=ata_piix latency=0 resources: irq:19 ioport:f0b0(size=8) ioport:f0a0(size=4) ioport:f090(size=8) ioport:f080(size=4) ioport:f070(size=16) ioport:f060(size=16) *-disk:0 description: ATA Disk product: Kingstek 120G physical id: 0 bus info: scsi@0:0.0.0 logical name: /dev/sda version: 0818 serial: AA000000000000001292 size: 111GiB (120GB) capabilities: partitioned partitioned:dos configuration: ansiversion=5 logicalsectorsize=512 sectorsize=512 signature=000b7daf *-disk:1 description: ATA Disk product: ST1000DM010-2EP1 physical id: 1 bus info: scsi@1:0.0.0 logical name: /dev/sdb version: CC43 serial: Z9AAFEKS size: 931GiB (1TB) capabilities: partitioned partitioned:dos configuration: ansiversion=5 logicalsectorsize=512 sectorsize=4096 signature=000281c7

 

posted on 2014-10-30 20:28  阳光-源泉  阅读(727)  评论(0编辑  收藏  举报

导航