From b937aa13a893776d64b4f8aa661ead4d3925de30 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Kubry=C5=84ski?= Date: Wed, 1 Mar 2017 10:06:32 +0100 Subject: [PATCH] Add description how to use lsof by PID --- pages/common/lsof.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pages/common/lsof.md b/pages/common/lsof.md index 3aa0e809b..a3493e7f4 100644 --- a/pages/common/lsof.md +++ b/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}}`