Browse Source

Add description how to use lsof by PID

Jakub Kubryński 8 years ago
parent
commit
b937aa13a8
1 changed files with 4 additions and 0 deletions
  1. 4 0
      pages/common/lsof.md

+ 4 - 0
pages/common/lsof.md

@@ -22,3 +22,7 @@
 - List files opened by the given command or process:
 
 `lsof -c {{process_or_command_name}}`
+
+- List files opened by the given PID:
+
+`lsof -p {{PID}}`