首页主机资讯Linux dmesg日志中的硬件检测信息有哪些

Linux dmesg日志中的硬件检测信息有哪些

时间2025-11-04 14:16:03发布访客分类主机资讯浏览904
导读:在Linux系统中,dmesg命令用于显示内核环缓冲区的消息,这些消息通常包括硬件检测、驱动程序加载、系统启动过程中的各种信息等。硬件检测信息可以帮助你了解系统的硬件配置和状态。以下是一些常见的硬件检测信息类别及其示例: 1. CPU信息...

在Linux系统中,dmesg命令用于显示内核环缓冲区的消息,这些消息通常包括硬件检测、驱动程序加载、系统启动过程中的各种信息等。硬件检测信息可以帮助你了解系统的硬件配置和状态。以下是一些常见的硬件检测信息类别及其示例:

1. CPU信息

  • CPU型号:显示CPU的型号和核心数。
    [    0.000000] Linux version 5.4.0-42-generic (buildd@lgw01-amd64-039) (gcc version 9.3.0 (Ubuntu 9.3.0-10ubuntu2)) #46~18.04.1-Ubuntu SMP Fri Jul 10 00:24:02 UTC 2020
    [    0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-5.4.0-42-generic root=UUID=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx ro quiet splash vt.handoff=7
    [    0.000000] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
    [    0.000000] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
    [    0.000000] x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'
    [    0.000000] x86/fpu: xstate_offset[2]:  576, xstate_sizes[2]:  256
    [    0.000000] x86/fpu: Enabled xstate features 0x7, context size is 832 bytes, using 'compacted' format.
    [    0.000000] BIOS-provided physical RAM map:
    [    0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009ffff] usable
    [    0.000000] BIOS-e820: [mem 0x0000000000100000-0x00000000bffaffff] usable
    [    0.000000] BIOS-e820: [mem 0x00000000bff b0000-0x00000000bfffffff] reserved
    [    0.000000] BIOS-e820: [mem 0x00000000c0000000-0x00000000cfffffff] reserved
    [    0.000000] BIOS-e820: [mem 0x00000000d0000000-0x00000000d1ffffff] reserved
    [    0.000000] BIOS-e820: [mem 0x00000000d2000000-0x00000000d3ffffff] ACPI data
    [    0.000000] BIOS-e820: [mem 0x00000000d4000000-0x00000000d5ffffff] ACPI NVS
    [    0.000000] BIOS-e820: [mem 0x00000000d6000000-0x00000000d7ffffff] reserved
    [    0.000000] BIOS-e820: [mem 0x00000000d8000000-0x00000000dbffffff] reserved
    [    0.000000] BIOS-e820: [mem 0x00000000dc000000-0x00000000dfffffff] reserved
    [    0.000000] BIOS-e820: [mem 0x00000000e0000000-0x00000000ffffffff] reserved
    [    0.000000] BIOS-e820: [mem 0x0000000100000000-0x000000041fffffff] usable
    [    0.000000] NX (Execute Disable) protection: active
    [    0.000000] SMBIOS 2.8 present.
    [    0.000000] DMI: Dell Inc. Latitude E6520, BIOS 1.6.2 01/19/2011
    [    0.000000] tsc: Fast TSC calibration using PIT
    [    0.000000] tsc: Detected 2400.000 MHz processor
    

2. 内存信息

  • 内存大小和类型:显示系统的内存大小和类型。
    [    0.000000] Memory: 16388M/17408M available (8M kernel code, 1344M rwdata, 3584M rodata, 1024M init, 1968M bss, 2208M reserved, 0K cma-reserved)
    

3. 硬盘信息

  • 硬盘型号和分区:显示硬盘的型号和分区信息。
    [    0.000000] scsi host0: uas
    [    0.000000] sd 0:0:0:0: [sda] Attached SCSI disk
    [    0.000000] sd 0:0:0:0: [sda] 3907029168 512-byte logical blocks: (2.00 TB/1.81 TiB)
    [    0.000000] sd 0:0:0:0: [sda] Write Protect is off
    [    0.000000] sd 0:0:0:0: [sda] Mode Sense: 03 00 00 00
    [    0.000000] sd 0:0:0:0: [sda] Assuming drive cache: write through
    [    0.000000] sd 0:0:0:0: [sda] Assuming drive cache: write through
    [    0.000000] sd 0:0:0:0: [sda] Assuming drive cache: write through
    [    0.000000] sd 0:0:0:0: [sda] Assuming drive cache: write through
    [    0.000000] sd 0:0:0:0: [sda] Assuming drive cache: write through
    [    0.000000] sd 0:0:0:0: [sda] Assuming drive cache: write through
    [    0.000000] sd 0:0:0:0: [sda] Assuming drive cache: write through
    [    0.000000] sd 0:0:0:0: [sda] Assuming drive cache: write through
    [    0.000000] sd 0:0:0:0: [sda] Assuming drive cache: write through
    [    0.000000] sd 0:0:0:0: [sda] Assuming drive cache: write through
    [    0.000000] sd 0:0:0:0: [sda] Assuming drive cache: write through
    [    0.000000] sd 0:0:0:0: [sda] Assuming drive cache: write through
    [    0.000000] sd 0:0:0:0: [sda] Assuming drive cache: write through
    [    0.000000] sd 0:0:0:0: [sda] Assuming drive cache: write through
    [    0.000000] sd 0:0:0:0: [sda] Assuming drive cache: write through
    [    0.000000] sd 0:0:0:0: [sda] Assuming drive cache: write through
    [    0.000000] sd 0:0:0:0: [sda] Assuming drive cache: write through
    [    0.000000] sd 0:0:0:0: [sda] Assuming drive cache: write through
    [    0.000000] sd 0:0:0:0: [sda] Assuming drive cache: write through
    [    0.000000] sd 0:0:0:0: [sda] Assuming drive cache: write through
    [    0.000000] sd 0:0:0:0: [sda] Assuming drive cache: write through
    [    0.000000] sd 0:0:0:0: [sda] Assuming drive cache: write through
    [    0.000000] sd 0:0:0:0: [sda] Assuming drive cache: write through
    [    0.000000] sd 0:0:0:0: [sda] Assuming drive cache: write through
    [    0.000000] sd 0:0:0:0: [sda] Assuming drive cache: write through
    [    0.000000] sd 0:0:0:0: [sda] Assuming drive cache: write through
    [    0.000000] sd 0:0:0:0: [sda] Assuming drive cache: write through
    [    0.000000] sd 0:0:0:0: [sda] Assuming drive cache: write through
    [    0.000000] sd 0:0:0:0: [sda] Assuming drive cache: write through
    [    0.000000] sd 0:0:0:0: [sda] Assuming drive cache: write through
    [    0.000000] sd 0:0:0:0: [sda] Assuming drive cache: write through
    [    0.000000] sd 0:0:0:0: [sda] Assuming drive cache: write through
    [    0.000000] sd 0:0:0:0: [sda] Assuming drive cache: write through
    [    0.000000] sd 0:0:0:0: [sda] Assuming drive cache: write through
    [    0.000000] sd 0:0:0:0: [sda] Assuming drive cache: write through
    [    0.000000] sd 0:0:0:0: [sda] Assuming drive cache: write through
    [    0.000000] sd 0:0:0:0: [sda] Assuming drive cache: write through
    [    0.000000] sd 0:0:0:0: [sda] Assuming drive cache: write through
    [    0.000000] sd 0:0:0:0: [sda] Assuming drive cache: write through
    [    0.000000] sd 0:0:0:0: [sda] Assuming drive cache: write through
    [    0.000000] sd 0:0:0:0: [sda] Assuming drive cache: write through
    [    0.000000] sd 0:0:0:0: [sda] Assuming drive cache: write through
    [    0.000000] sd 0:0:0:0: [sda] Assuming drive cache: write through
    [    0.000000] sd 0:0:0:0: [sda] Assuming drive cache: write through
    [    0.000000] sd 0:0:0:0: [sda] Assuming drive cache: write through
    [    0.000000] sd 0:0:0:0: [sda] Assuming drive cache: write through
    [    0.000000] sd 0:0:0:0: [sda] Assuming drive cache: write through
    [    0.000000] sd 0:0:0:0: [sda] Assuming drive cache: write through
    [    0.000000] sd 0:0:0:0: [sda] Assuming drive cache: write through
    [    0.000000] sd 0:0:0:0: [sda] Assuming drive cache: write through
    [    0.000000] sd 0:0:0:0: [sda] Assuming drive cache: write through
    [    0.000000] sd 0:0:0:0: [sda] Assuming drive cache: write through
    [    0.000000] sd 0:0:0:0: [sda] Assuming drive cache: write through
    [    0.000000] sd 0:0:0:0: [sda] Assuming drive cache: write through
    [    0.000000] sd 0:0:0:0: [sda] Assuming drive cache: write through
    [    0.000000] sd 0:0:0:0: [sda] Assuming drive cache: write through
    [    0.000000] sd 0:0:0:0: [sda] Assuming drive cache: write through
    [    0.000000] sd 0:0:0:0: [sda] Assuming drive cache: write through
    [    0.000000] sd 0:0:0:0: [sda] Assuming drive cache: write through
    [    0.000000] sd 0:0:0:0: [sda] Assuming drive cache: write through
    [    0.000000] sd 0:0:0:0: [sda] Assuming drive cache: write through
    [    0.000000] sd 0:0:0:0: [sda] Assuming drive cache: write through
    [    0.000000] sd 0:0:0:0: [sda] Assuming drive cache: write through
    [    0.000000] sd 0:0:0:0: [sda] Assuming drive cache: write through
    [    0.000000] sd 0:0:0:0: [sda] Assuming drive cache: write through
    [    0.000000] sd 0:0:0:0: [sda] Assuming drive cache: write through
    [    0.000000] sd 0:0:0:0: [sda] Assuming drive cache: write through
    [    0.000000] sd 0:0:0:0: [sda] Assuming drive cache: write through
    [    0.000000] sd 0:0:0:0: [sda] Assuming drive cache: write through
    [    0.000000] sd 0:0:0:0: [sda] Assuming drive cache: write through
    [    0.000000] sd 0:0:0:0: [sda] Assuming drive cache: write through
    [    0.000000] sd 0:0:0:0: [sda] Assuming drive cache: write through
    [    0.000000] sd 0:0:0:0: [sda] Assuming drive cache: write through
    [    0.

声明:本文内容由网友自发贡献,本站不承担相应法律责任。对本内容有异议或投诉,请联系2913721942#qq.com核实处理,我们将尽快回复您,谢谢合作!


若转载请注明出处: Linux dmesg日志中的硬件检测信息有哪些
本文地址: https://pptw.com/jishu/741882.html
Linux dmesg日志中的警告信息意味着什么 如何利用Linux dmesg日志优化系统性能

游客 回复需填写必要信息