Mention lsof works on Mac.

This commit is contained in:
Joshua Levy 2017-05-20 10:50:22 -07:00 committed by GitHub
parent 27806b0e02
commit fbd091caf6

View file

@ -109,7 +109,7 @@ Notes:
- Use `nohup` or `disown` if you want a background process to keep running forever. - Use `nohup` or `disown` if you want a background process to keep running forever.
- Check what processes are listening via `netstat -lntp` or `ss -plat` (for TCP; add `-u` for UDP) or `lsof -iTCP -sTCP:LISTEN -P -n`. - Check what processes are listening via `netstat -lntp` or `ss -plat` (for TCP; add `-u` for UDP) or `lsof -iTCP -sTCP:LISTEN -P -n` (which also works on OX X).
- See also `lsof` for open sockets and files. - See also `lsof` for open sockets and files.