/usr/local/etc/rc.d/postgresql start sockstat -l4 | grep post postgres postgres 99719 4 tcp4 *:5432 *:*