vty: Print open file descriptors of the VTY test runner

/proc/self/fd refers to the process opening the file. In this case
self will be "ls". Maybe it is better to look at the FDs open in
the test runner itself.

Change-Id: I638e94f16f4019a7b6026d1fae69e677870fb253
This commit is contained in:
Holger Hans Peter Freyther 2017-09-13 15:38:48 +08:00
parent baa6f12260
commit 562bfea593
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ def print_used_tcp_sockets():
global debug_tcp_sockets
if not debug_tcp_sockets:
return
cmd('ls /proc/self/fd');
cmd('ls /proc/' + str(os.getpid()) + '/fd');
cmd('ss -tn');
cmd('ss -tln');
cmd('ps xua | grep osmo');