aboutsummaryrefslogtreecommitdiffstats
path: root/osmopy
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2017-02-27 01:02:45 +0100
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2017-03-06 15:31:08 +0100
commitac0b59d93a11687060f4a2328961d6d5bff3426a (patch)
tree21edb3792977aff056f10908414ad71ae6198517 /osmopy
parent2bdab3d2911badc892f62bb34c83c20e4eb79b85 (diff)
debug: also output nr of open file descriptors for 'tcp debug'
Diffstat (limited to 'osmopy')
-rwxr-xr-xosmopy/obscvty.py1
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');