Add description how to use lsof by PID
This commit is contained in:

committed by
Agniva De Sarker

parent
c10d09d0bd
commit
b937aa13a8
@@ -22,3 +22,7 @@
|
|||||||
- List files opened by the given command or process:
|
- List files opened by the given command or process:
|
||||||
|
|
||||||
`lsof -c {{process_or_command_name}}`
|
`lsof -c {{process_or_command_name}}`
|
||||||
|
|
||||||
|
- List files opened by the given PID:
|
||||||
|
|
||||||
|
`lsof -p {{PID}}`
|
||||||
|
Reference in New Issue
Block a user