3 lines
58 B

ls -l /proc/$1/fd
echo sockstat
cat /proc/$1/net/sockstat