Is it possible to output full command name with lsof -nP -i4UDP
?
I've been looking in the manual for a suitable option, like -V
(see below), but it doesn't result in full COMMAND
names, i.e. systemd-resolve
is displayed as systemd-r
:
$ sudo lsof -V -nP -i4UDP
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
avahi-dae 437 avahi 12u IPv4 12982 0t0 UDP *:5353
avahi-dae 437 avahi 14u IPv4 12984 0t0 UDP *:45006
cups-brow 449 root 7u IPv4 12149 0t0 UDP *:631
systemd-r 485 systemd-resolve 12u IPv4 14694 0t0 UDP 127.0.0.53:53
systemd-r 485 systemd-resolve 13u IPv4 14695 0t0 UDP *:5355
dhclient 629 root 6u IPv4 14985 0t0 UDP *:68
minissdpd 1186 root 4u IPv4 19639 0t0 UDP *:1900