aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Baldessari <michele@acksyn.org>2017-08-03 19:21:21 +0200
committerBryn M. Reeves <bmr@redhat.com>2018-03-28 16:52:52 +0100
commitda0e1c36ca8c8824207a30a47c5d7f11013a66fb (patch)
tree32e35f8bfeb0cd6cb183fed81962f2af26245935
parentc975855e0529bba13571ec191e6222d4dc667d36 (diff)
downloadsos-da0e1c36ca8c8824207a30a47c5d7f11013a66fb.tar.gz
[networking] Collect lifetime of L2 addresses
Currently we do this: $ ip neigh show 172.16.16.254 dev wlp3s0 lladdr 00:0d:b9:37:2e:71 STALE 172.16.11.5 dev enp0s25 lladdr d0:50:99:19:29:eb REACHABLE 172.16.15.254 dev enp0s25 lladdr 00:0d:b9:37:2e:70 REACHABLE 172.16.11.113 dev enp0s25 FAILED It is often quite useful to understand what the lifetime of those L2 addresses are: $ ip -s -s neigh show 172.16.16.254 dev wlp3s0 lladdr 00:0d:b9:37:2e:71 used 179/174/54 probes 1 STALE 172.16.11.5 dev enp0s25 lladdr d0:50:99:19:29:eb ref 1 used 22/22/22 probes 1 REACHABLE 172.16.15.254 dev enp0s25 lladdr 00:0d:b9:37:2e:70 ref 1 used 32571/1/0 probes 4 REACHABLE 172.16.11.113 dev enp0s25 used 18194/18284/18192 probes 6 FAILED Resolves: #1069 Signed-off-by: Michele Baldessari <michele@acksyn.org> Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r--sos/plugins/networking.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sos/plugins/networking.py b/sos/plugins/networking.py
index 53f85ad4..505b77d2 100644
--- a/sos/plugins/networking.py
+++ b/sos/plugins/networking.py
@@ -186,7 +186,7 @@ class Networking(Plugin):
"ifenslave -a",
"ip mroute show",
"ip maddr show",
- "ip neigh show",
+ "ip -s -s neigh show",
"ip neigh show nud noarp",
"biosdevname -d",
"tc -s qdisc show",