[PATCH] 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 Feb 27 01:13:31 UTC 2017


Review at  https://gerrit.osmocom.org/1918

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(-)


  git pull ssh://gerrit.osmocom.org:29418/python/osmo-python-tests refs/changes/18/1918/1

diff --git a/osmopy/obscvty.py b/osmopy/obscvty.py
index f369527..a517a5f 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: newchange
Gerrit-Change-Id: I8a583df549f3e2b79068fd8cd32b75473539410d
Gerrit-PatchSet: 1
Gerrit-Project: python/osmo-python-tests
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>



More information about the gerrit-log mailing list