📅  最后修改于: 2022-03-11 14:56:34.550000             🧑  作者: Mango
pfexec pfiles `ls /proc` 2>/dev/null | egrep '^[0-9]|port:' | grep -v "AF_INET6" | sed -e 's/sockname: AF_INET//' -e 's/ *port: /:/'