debug: also output nr of open file descriptors for 'tcp debug'

Change-Id: I8a583df549f3e2b79068fd8cd32b75473539410d
This commit is contained in:
Neels Hofmeyr 2017-02-27 01:02:45 +01:00
parent 2bdab3d291
commit ac0b59d93a
1 changed files with 1 additions and 0 deletions

View File

@ -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');