vty: Follow links to see what is a file and what is a socket

Change-Id: I3d94cde8523a2ed26a66b8b8b3f651606aa17a9d
This commit is contained in:
Holger Hans Peter Freyther 2017-09-13 15:42:15 +08:00
parent 562bfea593
commit f41db1e337
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/' + str(os.getpid()) + '/fd');
cmd('ls -l /proc/' + str(os.getpid()) + '/fd');
cmd('ss -tn');
cmd('ss -tln');
cmd('ps xua | grep osmo');