lshw 도구 및 반환된 옵션과 그 의미

lshw 도구 및 반환된 옵션과 그 의미

이 도구는 lshw연결된 모든 하드웨어에 대한 정보를 보고합니다.

보고된 옵션과 기능 중 일부는 이해하기에 충분히 간단하지만 일부는 그렇지 않습니다.

발견된 문서 페이지여기그리고프로젝트 페이지이러한 기능과 해당 설명을 모두 정의하지는 마세요.

이에 대한 예:

sudo lshw -C net

  *-usb:1                 
       description: Wireless interface
       product: USB2.0 WLAN
       vendor: ATHEROS
       physical id: 3
       bus info: usb@1:1.3
       logical name: wlan2
       version: 1.08
       serial: 12345
       capabilities: usb-2.00 ethernet physical wireless
       configuration: broadcast=yes driver=ath9k_htc driverversion=4.9.35-v7+ firmware=1.3 ip=192.168.2.254 link=yes maxpower=500mA multicast=yes speed=480Mbit/s wireless=IEEE 802.11
  *-usb:2
       description: Wireless interface
       product: 802.11n NIC
       vendor: Realtek
       physical id: 4
       bus info: usb@1:1.4
       logical name: wlan1
       version: 0.00
       serial: 123456
       capabilities: usb-2.00 ethernet physical wireless
       configuration: broadcast=yes driver=rtl8812au ip=192.168.1.254 maxpower=500mA multicast=yes speed=480Mbit/s wireless=IEEE 802.11AC
  *-network:0
       description: Wireless interface
       physical id: 2
       logical name: wlan0
       serial: b8:27:eb:b0:32:ae
       capabilities: ethernet physical wireless
       configuration: broadcast=yes driver=brcmfmac driverversion=7.45.41.26 firmware=01-df77e4a7 ip=192.168.8.254 multicast=yes wireless=IEEE 802.11
  *-network:1
       description: Ethernet interface
       physical id: 3
       logical name: eth0
       serial: b8:27:eb:e5:67:fb
       size: 100Mbit/s
       capacity: 100Mbit/s
       capabilities: ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=smsc95xx driverversion=22-Aug-2005 duplex=full firmware=smsc95xx USB 2.0 Ethernet ip=192.168.0.254 link=yes multicast=yes port=MII speed=100Mbit/s

각 NIC를 살펴보면 다음을 추론할 수 있습니다.

  1. 4개의 NIC가 있으며 그 중 2개는 USB NIC입니다.

  2. 링크 속도, 물리적 주소, IP 주소, 논리적 이름, 드라이버 이름 등을 볼 수 있습니다.

  3. 또한 어댑터가 멀티캐스트, 브로드캐스트 등을 지원하는 경우에도 마찬가지입니다.

질문:

그러나 link(및 다른 옵션과 같은) 옵션은 명확하거나 이해할 수 없으며 이에 대한 정의나 설명도 문서에 나와 있지 않습니다.

이러한 구성/기능에 대한 설명은 어디에 문서화되어 있습니까?

답변1

"능력"으로 찾았습니다

명령:lshw -class network -json

    "capabilities" : {
      "pm" : "Power Management",
      "msi" : "Message Signalled Interrupts",
      "msix" : "MSI-X",
      "pciexpress" : "PCI Express",
      "bus_master" : "bus mastering",
      "cap_list" : "PCI capabilities listing",
      "rom" : "extension ROM",
      "ethernet" : true,
      "physical" : "Physical interface",
      "tp" : "twisted pair",
      "10bt-fd" : "10Mbit/s (full duplex)",
      "100bt-fd" : "100Mbit/s (full duplex)",
      "1000bt-fd" : "1Gbit/s (full duplex)",
      "autonegotiation" : "Auto-negotiation"}

관련 정보