diff options
author | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2017-02-27 01:02:45 +0100 |
---|---|---|
committer | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2017-03-06 15:31:08 +0100 |
commit | ac0b59d93a11687060f4a2328961d6d5bff3426a (patch) | |
tree | 21edb3792977aff056f10908414ad71ae6198517 /osmopy | |
parent | 2bdab3d2911badc892f62bb34c83c20e4eb79b85 (diff) |
debug: also output nr of open file descriptors for 'tcp debug'
Change-Id: I8a583df549f3e2b79068fd8cd32b75473539410d
Diffstat (limited to 'osmopy')
-rwxr-xr-x | osmopy/obscvty.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/osmopy/obscvty.py b/osmopy/obscvty.py index 4457a90..f0cd4a1 100755 --- a/osmopy/obscvty.py +++ b/osmopy/obscvty.py @@ -41,6 +41,7 @@ def cmd(what): def print_used_tcp_sockets(): if not debug_tcp_sockets: return + cmd('ls /proc/self/fd'); cmd('ss -tn'); cmd('ss -tln'); cmd('ps xua | grep osmo'); |