total 0
lrwx------ 1 huatai dialout 64 Jul 6 22:06 0 -> /dev/pts/24
lrwx------ 1 huatai dialout 64 Jul 6 22:06 1 -> /dev/pts/24
lrwx------ 1 huatai dialout 64 Jul 6 22:06 2 -> /dev/pts/24
lrwx------ 1 huatai dialout 64 Jul 6 22:06 3 -> 'socket:[2671265]'
lrwx------ 1 huatai dialout 64 Aug 24 00:21 4 -> 'socket:[2671268]'
$ lsof -i -a -p 54024
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
ssh 54024 huatai 3u IPv4 2671265 0t0 TCP zcloud:40336->z-k8s-n-4:ssh (ESTABLISHED)
$ lsof -i -a -p 54024 | grep 2671265
ssh 54024 huatai 3u IPv4 2671265 0t0 TCP zcloud:40336->z-k8s-n-4:ssh (ESTABLISHED)