socklist --version (return code: 0)
type port inode uid pid fd name
tcp 389 6859267 0 25770 6 slapd
tcp 5038 6805144 0 14327 8 asterisk
tcp 111 6793696 0 12544 8 rpcbind
tcp 2000 6805199 0 14327 14 asterisk
tcp 46660 6760634 0 4694 3 qscand
tcp 68 6723075 0 32371 0 pump
tcp6 389 6859268 0 25770 7 slapd
tcp6 111 6793699 0 12544 11 rpcbind
udp 2727 6808089 0 14327 19 asterisk
udp 52553 6809456 0 14327 4 asterisk
udp 4520 6812746 0 14327 24 asterisk
udp 4569 6808087 0 14327 17 asterisk
udp 5000 6805224 0 14327 21 asterisk
udp 5060 6808088 0 14327 18 asterisk
udp 111 6793694 0 12544 6 rpcbind
udp 844 6793695 0 12544 7 rpcbind
udp6 111 6793697 0 12544 9 rpcbind
udp6 844 6793698 0 12544 10 rpcbind
udp6 34606 6809457 0 14327 9 asterisk
socklist --help (return code: 0)
type port inode uid pid fd name
tcp 389 6859267 0 25770 6 slapd
tcp 5038 6805144 0 14327 8 asterisk
tcp 111 6793696 0 12544 8 rpcbind
tcp 2000 6805199 0 14327 14 asterisk
tcp 46660 6760634 0 4694 3 qscand
tcp 68 6723075 0 32371 0 pump
tcp6 389 6859268 0 25770 7 slapd
tcp6 111 6793699 0 12544 11 rpcbind
udp 2727 6808089 0 14327 19 asterisk
udp 52553 6809456 0 14327 4 asterisk
udp 4520 6812746 0 14327 24 asterisk
udp 4569 6808087 0 14327 17 asterisk
udp 5000 6805224 0 14327 21 asterisk
udp 5060 6808088 0 14327 18 asterisk
udp 111 6793694 0 12544 6 rpcbind
udp 844 6793695 0 12544 7 rpcbind
udp6 111 6793697 0 12544 9 rpcbind
udp6 844 6793698 0 12544 10 rpcbind
udp6 34606 6809457 0 14327 9 asterisk