|
lsof -iTCP -i :port
|
|
lsof -i :22
|
|
lsof -i@192.168.1.5
|
|
lsof -i| grep LISTEN
|
|
lsof -u <user>
|
|
lsof -c <command>
|
|
lsof -p <pid>
|
|
get list of processes in use by command
|
lsof -t -c <command>
|
|
kill processes open by command
|
kill -HUP $(lsof -t -c <command>)
|
|
kill processes open by user
|
kill -9 $(lsof -t -u <user>)
|
No comments yet.
Cheatography n. The art of mapping complex subjects into clear, instantly navigable reference guides.