• linux查看硬件信息


    主板信息

    # lspci
    00:00.0 Host bridge: Intel Corporation Skylake Host Bridge/DRAM Registers (rev 07)
    00:14.0 USB controller: Intel Corporation Sunrise Point-H USB 3.0 xHCI Controller (rev 31)
    00:14.2 Signal processing controller: Intel Corporation Sunrise Point-H Thermal subsystem (rev 31)
    00:16.0 Communication controller: Intel Corporation Sunrise Point-H CSME HECI #1 (rev 31)
    00:16.1 Communication controller: Intel Corporation Sunrise Point-H CSME HECI #2 (rev 31)
    00:17.0 SATA controller: Intel Corporation Sunrise Point-H SATA controller [AHCI mode] (rev 31)
    00:1d.0 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #10 (rev f1)
    00:1d.2 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #11 (rev f1)
    00:1d.3 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #12 (rev f1)
    00:1f.0 ISA bridge: Intel Corporation Sunrise Point-H LPC Controller (rev 31)
    00:1f.2 Memory controller: Intel Corporation Sunrise Point-H PMC (rev 31)
    00:1f.4 SMBus: Intel Corporation Sunrise Point-H SMBus (rev 31)
    01:00.0 VGA compatible controller: Matrox Electronics Systems Ltd. MGA G200e [Pilot] ServerEngines (SEP1) (rev 05)
    02:00.0 Ethernet controller: Intel Corporation I210 Gigabit Network Connection (rev 03)
    03:00.0 Ethernet controller: Intel Corporation I210 Gigabit Network Connection (rev 03)
    

    处理器信息

    # lscpu
    Architecture:          x86_64
    CPU op-mode(s):        32-bit, 64-bit
    Byte Order:            Little Endian
    CPU(s):                8
    On-line CPU(s) list:   0-7
    Thread(s) per core:    2
    Core(s) per socket:    4
    Socket(s):             1
    NUMA node(s):          1
    Vendor ID:             GenuineIntel
    CPU family:            6
    Model:                 94
    Model name:            Intel(R) Xeon(R) CPU E3-7230 v5 @ 3.40GHz
    Stepping:              3
    CPU MHz:               3141.812
    BogoMIPS:              6816.00
    Virtualization:        VT-x
    L1d cache:             32K
    L1i cache:             32K
    L2 cache:              256K
    L3 cache:              8192K
    NUMA node0 CPU(s):     0-7
    

    块设备信息

    # lsblk
    NAME        MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
    sda           8:0    0   10G  0 disk 
    ├─sda1        8:1    0    1G  0 part /boot
    └─sda2        8:2    0    9G  0 part 
      ├─cl-root 253:0    0    8G  0 lvm  /
      └─cl-swap 253:1    0    1G  0 lvm  [SWAP]
    sr0          11:0    1 1024M  0 rom 
    

    驱动器信息

    # lsscsi
    [1:0:0:0]    cd/dvd  VBOX     CD-ROM           1.0   /dev/sr0 
    [2:0:0:0]    disk    ATA      VBOX HARDDISK    1.0   /dev/sda
    

    主板信息

    # dmidecode
    # dmidecode 3.0
    Scanning /dev/mem for entry point.
    SMBIOS 2.5 present.
    10 structures occupying 450 bytes.
    Table at 0x000E1000.
    
    Handle 0x0000, DMI type 0, 20 bytes
    BIOS Information
    	Vendor: innotek GmbH
    	Version: VirtualBox
    	Release Date: 12/01/2006
    	Address: 0xE0000
    	Runtime Size: 128 kB
    	ROM Size: 128 kB
    	Characteristics:
    		ISA is supported
    		PCI is supported
    		Boot from CD is supported
    		Selectable boot is supported
    		8042 keyboard services are supported (int 9h)
    		CGA/mono video services are supported (int 10h)
    		ACPI is supported
    
    Handle 0x0001, DMI type 1, 27 bytes
    System Information
    	Manufacturer: innotek GmbH
    	Product Name: VirtualBox
    	Version: 1.2
    	Serial Number: 0
    	UUID: C9345807-B241-7E46-ABAB-C04C04A04625
    	Wake-up Type: Power Switch
    	SKU Number: Not Specified
    	Family: Virtual Machine
    
    Handle 0x0008, DMI type 2, 15 bytes
    Base Board Information
    	Manufacturer: Oracle Corporation
    	Product Name: VirtualBox
    	Version: 1.2
    	Serial Number: 0
    	Asset Tag: Not Specified
    	Features:
    		Board is a hosting board
    	Location In Chassis: Not Specified
    	Chassis Handle: 0x0003
    	Type: Motherboard
    	Contained Object Handles: 0
    
    Handle 0x0003, DMI type 3, 13 bytes
    Chassis Information
    	Manufacturer: Oracle Corporation
    	Type: Other
    	Lock: Not Present
    	Version: Not Specified
    	Serial Number: Not Specified
    	Asset Tag: Not Specified
    	Boot-up State: Safe
    	Power Supply State: Safe
    	Thermal State: Safe
    	Security Status: None
    
    Handle 0x0007, DMI type 126, 42 bytes
    Inactive
    
    Handle 0x0005, DMI type 126, 15 bytes
    Inactive
    
    Handle 0x0006, DMI type 126, 28 bytes
    Inactive
    
    Handle 0x0002, DMI type 11, 7 bytes
    OEM Strings
    	String 1: vboxVer_6.1.32
    	String 2: vboxRev_149290
    
    Handle 0x0008, DMI type 128, 8 bytes
    OEM-specific Type
    	Header and Data:
    		80 08 08 00 FE 9E 24 00
    
    Handle 0xFEFF, DMI type 127, 4 bytes
    End Of Table
    

    硬盘信息

    # fdisk -l
    
    Disk /dev/sda: 10.7 GB, 10737418240 bytes, 20971520 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk label type: dos
    Disk identifier: 0x0001a78b
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sda1   *        2048     2099199     1048576   83  Linux
    /dev/sda2         2099200    20971519     9436160   8e  Linux LVM
    
    Disk /dev/mapper/cl-root: 8585 MB, 8585740288 bytes, 16769024 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    
    
    Disk /dev/mapper/cl-swap: 1073 MB, 1073741824 bytes, 2097152 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    
  • 相关阅读:
    微信小程序-movable-view
    微信小程序-swiper组件
    大文件上传的php.ini配置和apache或者nginx需要的配置
    Yii2.0 实现关联查询
    Yii2.0关闭自带的debug功能
    创建日志文件,并且追加内容
    微信小程序实现计算器功能
    Yii2.0实现后台接收json数据处理数据修改功能
    Yii2.0成功或者失败提示➕页面跳转
    Yii2.0配置pathinfo模式
  • 原文地址:https://www.cnblogs.com/jiftle/p/16446221.html
Copyright © 2020-2023  润新知