比如:
$ sudo ss -tulpn
Netid State Recv-Q Send-Q Local Address:Port Peer Address:Port
udp UNCONN 0 0 0.0.0.0:5353 0.0.0.0:* users:(("avahi-daemon",pid=1223,fd=11))
udp UNCONN 0 0 192.168.x.x:123 0.0.0.0:* users:(("ntpd",pid=3896,fd=23))
udp UNCONN 0 0 127.0.0.1:123 0.0.0.0:* users:(("ntpd",pid=3896,fd=18))
udp UNCONN 0 0 0.0.0.0:123 0.0.0.0:* users:(("ntpd",pid=3896,fd=17))
udp UNCONN 0 0 0.0.0.0:39293 0.0.0.0:* users:(("avahi-daemon",pid=1223,fd=13))
udp UNCONN 0 0 [::]:5353 [::]:* users:(("avahi-daemon",pid=1223,fd=12))
udp UNCONN 0 0 [fe80::xxxx:xxxx:xxxx:xxxx]%wlan0:123 [::]:* users:(("ntpd",pid=3896,fd=24))
udp UNCONN 0 0 [::1]:123 [::]:* users:(("ntpd",pid=3896,fd=19))
udp UNCONN 0 0 [::]:123 [::]:* users:(("ntpd",pid=3896,fd=16))
udp UNCONN 0 0 [::]:60421 [::]:* users:(("avahi-daemon",pid=1223,fd=14))
tcp LISTEN 0 5 127.0.0.1:631 0.0.0.0:* users:(("cupsd",pid=2935,fd=7))
tcp LISTEN 0 100 127.0.0.1:25 0.0.0.0:* users:(("master",pid=4137,fd=13))
tcp LISTEN 0 5 [::1]:631 [::]:* users:(("cupsd",pid=2935,fd=6))
tcp LISTEN 0 100 [::1]:25 [::]:* users:(("master",pid=4137,fd=14))
中间空好多,把终端最大化了还是被折行