Merge branch 'master' into lsof_add_some_options_example

This commit is contained in:
Yoshinari Takaoka
2016-01-10 21:37:46 +09:00
297 changed files with 1887 additions and 1304 deletions

View File

@@ -3,11 +3,11 @@
> Lists open files and the corresponding processes
> Note: In most cases, you need root privilege (or use sudo) because you want to list files opened by others
- find the processes that have a given file open
- Find the processes that have a given file open:
`lsof {{/path/to/file}}`
- find the process that opened a local internet port
- Find the process that opened a local internet port:
`lsof -i :{{port}}`