zoukankan      html  css  js  c++  java
  • lshw 命令(查看硬件信息)

    帮助

    $ lshw -h
    Hardware Lister (lshw) - B.02.16
    usage: lshw [-format] [-options ...]
           lshw -version
    
        -version        print program version (B.02.16)
    
    format can be
        -html           output hardware tree as HTML
        -xml            output hardware tree as XML
        -short          output hardware paths
        -businfo        output bus information
    
    options can be
        -class CLASS    only show a certain class of hardware
        -C CLASS        same as '-class CLASS'
        -c CLASS        same as '-class CLASS'
        -disable TEST   disable a test (like pci, isapnp, cpuid, etc. )
        -enable TEST    enable a test (like pci, isapnp, cpuid, etc. )
        -quiet          don't display status
        -sanitize       sanitize output (remove sensitive information like serial numbers, etc.)
        -numeric        output numeric IDs (for PCI, USB, etc.)

    示例(查看网卡信息)

    $ lshw  -C network
    WARNING: you should run this program as super-user.
      *-network:0             
           description: Ethernet interface
           product: 82576 Gigabit Network Connection
           vendor: Intel Corporation
           physical id: 0
           bus info: pci@0000:03:00.0
           logical name: em1
           version: 01
           serial: 00:90:0b:22:3f:ca
           size: 1Gbit/s
           capacity: 1Gbit/s
            32 bits
           clock: 33MHz
           capabilities: bus_master cap_list rom ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
           configuration: autonegotiation=on broadcast=yes driver=igb driverversion=5.2.15-k duplex=full firmware=2.0.1 ip=200.200.194.155 latency=0 link=yes multicast=yes port=twisted pair speed=1Gbit/s
           resources: irq:18 memory:fbba0000-fbbbffff memory:fbb80000-fbb9ffff ioport:e020(size=32) memory:fbbc4000-fbbc7fff memory:fbb60000-fbb7ffff memory:bfa00000-bfa1ffff memory:bfa20000-bfa3ffff
      *-network:1
           description: Ethernet interface
           product: 82576 Gigabit Network Connection
           vendor: Intel Corporation
           physical id: 0.1
           bus info: pci@0000:03:00.1
           logical name: em2
  • 相关阅读:
    向企业一样的思考
    在CentOS上搭建WordPress的博客系统
    DirectoryEntry所有字段对应解释
    Oracle11gSGA调整方法
    Oracle之内存结构(SGA、PGA)
    C# 打开指定目录并定位到文件
    C# 客户端读取共享目录文件
    谈30岁后it人员职业发展规划
    常用HTTP contentType与后端处理方式
    C# worksheet设置Excel样式
  • 原文地址:https://www.cnblogs.com/licongyu/p/5265008.html
Copyright © 2011-2022 走看看