mirror of
https://github.com/xmengnet/the-art-of-command-line.git
synced 2024-12-24 04:06:28 +08:00
Merge pull request #488 from mkwardakov/lsof-listen
Fix #457: use lsof to see listening processes
This commit is contained in:
commit
5b675026b7
1 changed files with 1 additions and 1 deletions
|
@ -109,7 +109,7 @@ Notes:
|
|||
|
||||
- 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).
|
||||
- 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` and `fuser` for open sockets and files.
|
||||
|
||||
|
|
Loading…
Reference in a new issue