[MERGED] python/osmo-python-tests[master]: debug: also output nr of open file descriptors for 'tcp debug'

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Neels Hofmeyr gerrit-no-reply at lists.osmocom.org
Mon Mar 6 14:31:53 UTC 2017


Neels Hofmeyr has submitted this change and it was merged.

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


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

Change-Id: I8a583df549f3e2b79068fd8cd32b75473539410d
---
M osmopy/obscvty.py
1 file changed, 1 insertion(+), 0 deletions(-)

Approvals:
  Holger Freyther: Looks good to me, approved



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

-- 
To view, visit https://gerrit.osmocom.org/1918
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I8a583df549f3e2b79068fd8cd32b75473539410d
Gerrit-PatchSet: 2
Gerrit-Project: python/osmo-python-tests
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: Holger Freyther <holger at freyther.de>
Gerrit-Reviewer: Neels Hofmeyr <nhofmeyr at sysmocom.de>



More information about the gerrit-log mailing list