Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- """
- Commands to check any active processes on host-port
- example: lsof -i :8000
- where 8000 is current port
- Output example:
- Python 10959 name 3u IPv4 0xe72a6101950ead6f 0t0 TCP localhost:irdmi (LISTEN)
- Python 12586 name 3u IPv4 0xe72a6101950ead6f 0t0 TCP localhost:irdmi (LISTEN)
- There are 2 process with PID 10959 / 12586
- Commands for kill this processes:
- example: kill -9 10959
- To check what each process is for use this:
- ps -p 10959 -o command
- """
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement