Hello! I'd like to see every program (with program name) that listen something on network. I can achive that on Linux by running "netstat -lpn", like that
server:~# netstat -lpn Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN 411/master tcp 0 0 0.0.0.0:445 0.0.0.0:* LISTEN 428/smbd tcp 0 0 0.0.0.0:139 0.0.0.0:* LISTEN 428/smbd tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 263/portmap tcp 0 0 127.0.0.1:20209 0.0.0.0:* LISTEN 8547/dkim-filter tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 343/sshd tcp6 0 0 :::22 :::* LISTEN 343/sshd udp 0 0 0.0.0.0:111 0.0.0.0:* 263/portmap udp 0 0 0.0.0.0:37764 0.0.0.0:* 8547/dkim-filter udp 0 0 127.0.0.2:137 0.0.0.0:* 421/nmbd udp 0 0 192.168.7.21:137 0.0.0.0:* 421/nmbd udp 0 0 0.0.0.0:137 0.0.0.0:* 421/nmbd udp 0 0 127.0.0.2:138 0.0.0.0:* 421/nmbd udp 0 0 192.168.7.21:138 0.0.0.0:* 421/nmbd udp 0 0 0.0.0.0:138 0.0.0.0:* 421/nmbd is there similar things for OpenBSD ? Cheers, Ilya Shipitsin

