Add per interface support for tx_queue_len, Linux only.
Update the ifconfig example output.
This commit is contained in:
1 parent
c007175b21
commit
83996dda13
4 files changed
+20
-2
No files matched your search
@@ -65,7 +65,8 @@ iflist.each do |ifname|
|
||||
" overruns:" + ifstat.tx_overruns.to_s +
|
||||
" carrier:" + ifstat.tx_carrier.to_s
|
||||
|
||||
puts "\t" + "collisions:" + ifstat.tx_collisions.to_s
|
||||
puts "\t" + "collisions:" + ifstat.tx_collisions.to_s +
|
||||
" txqueuelen:" + ifconfig.tx_queue_len.to_s
|
||||
|
||||
rx_bytes = ifstat.rx_bytes
|
||||
tx_bytes = ifstat.tx_bytes
|
||||
|
||||
Reference in new issue
Block a user