mirror of https://github.com/CrimsonTome/tldr.git
fuser: add example to kill processes bound to a specific socket (#8175)
parent
9650f7f3d5
commit
91cd7a0be1
|
@ -22,3 +22,7 @@
|
||||||
- Find which processes are accessing the filesystem containing a specific file or directory:
|
- Find which processes are accessing the filesystem containing a specific file or directory:
|
||||||
|
|
||||||
`fuser --mount {{path/to/file_or_directory}}`
|
`fuser --mount {{path/to/file_or_directory}}`
|
||||||
|
|
||||||
|
- Kill all processes with a TCP connection on a specific port:
|
||||||
|
|
||||||
|
`fuser --kill {{port}}/tcp`
|
||||||
|
|
Loading…
Reference in New Issue