当我运行lshw -C network时
*-network:1
description: Ethernet interface
product: Ethernet Connection (6) I219-V
vendor: Intel Corporation
physical id: 1f.6
bus info: pci@0000:00:1f.6
logical name: eno1
version: 30
serial: 1c:69:7a:0d:82:69
--> size: 100Mbit/s
--> capacity: 1Gbit/s
width: 32 bits
clock: 33MHz
capabilities: pm msi bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=3.2.6-k duplex=full firmware=0.4-4 ip=192.168.30.239 latency=0 link=yes multicast=yes port=twisted pair speed=100Mbit/s
resources: irq:133 memory:c0b00000-c0b1ffff在这种情况下,size和capacity有什么区别?
发布于 2020-06-17 20:59:58
容量是网卡的最大速度(在这种情况下,1 1Gbit/s)。
大小是当前连接速度(在本例中为100 this /S)。
来源:https://ezix.org/src/pkg/lshw/src/branch/master/src/core/network.cc
发布于 2020-06-17 20:59:43
这些字段名是为其他类型的硬件设计的,而将它们映射到网络接口并没有多大意义。也就是说,在这种情况下,“容量”是NIC的最大带宽,而“大小”是当前带宽。
https://serverfault.com/questions/1021943
复制相似问题