mirror of https://github.com/CrimsonTome/tldr.git
Add description how to use lsof by PID
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}}`
|
||||||
|
|
Loading…
Reference in New Issue