[root@wds ~]# ethtool -i eth0
driver: pcnet32
version: 1.31
firmware-version:
bus-info: 0000:00:11.0
[root@wds ~]# ethtool -k eth0
Offload parameters for eth0:
Cannot get device rx csum settings: Operation not supported
rx-checksumming: off
tx-checksumming: off
scatter-gather: off
tcp segmentation offload: off
[root@wds ~]# ethtool -g eth0
Ring parameters for eth0:
Pre-set maximums:
RX: 511
RX Mini: 0
RX Jumbo: 0
TX: 511
Current hardware settings:
RX: 31
RX Mini: 0
RX Jumbo: 0
TX: 15
[root@wds ~]#
cpu
lscpu命令,查看的是cpu的统计信息.
查看/proc/cpuinfo,可以知道每个cpu信息,如每个CPU的型号,主频等。可以看下Linux资料,如《Linux就该这么学》。
ethtool -i eth0 既然用Linux,就多查资料呗,网上很多的