diff options
author | Martin Schuppert <mschuppert@redhat.com> | 2016-12-30 11:41:50 +0100 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2017-03-27 18:39:56 +0100 |
commit | d576f79f451692fee9ea36a2a4aab4422b9a95c7 (patch) | |
tree | 269eaa65d9136506931ca662655b2003675de6c3 | |
parent | 491c3779125b2d9e0649c3fd19e395dad3272432 (diff) | |
download | sos-d576f79f451692fee9ea36a2a4aab4422b9a95c7.tar.gz |
[networking] collect socket stat from each namespace
added command to collect 'ss -lnp' within each namespace
(edited to use -peaonmi for consistence with collection in the
main namespace. -- bmr).
Resolves: #966.
Signed-off-by: Martin Schuppert <mschuppert@redhat.com>
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r-- | sos/plugins/networking.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sos/plugins/networking.py b/sos/plugins/networking.py index 470fa35b..9d8aac66 100644 --- a/sos/plugins/networking.py +++ b/sos/plugins/networking.py @@ -291,7 +291,8 @@ class Networking(Plugin): self.add_cmd_output([ cmd_prefix + namespace + " ip address show", cmd_prefix + namespace + " ip route show table all", - cmd_prefix + namespace + " iptables-save" + cmd_prefix + namespace + " iptables-save", + cmd_prefix + namespace + " ss -peaonmi" ]) # Devices that exist in a namespace use less ethtool |