Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Note that you can do a lot of this by just querying systemctl with the PID

    systemctl status 1
And there might be more than one process using a port

    sudo lsof +c 0 -i:22




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: