aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/monitor/lsof.md
diff options
context:
space:
mode:
Diffstat (limited to 'src/monitor/lsof.md')
-rw-r--r--src/monitor/lsof.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/monitor/lsof.md b/src/monitor/lsof.md
index 7effd39..562c8fc 100644
--- a/src/monitor/lsof.md
+++ b/src/monitor/lsof.md
@@ -65,3 +65,10 @@ lsof -a -u $USER -i :1234
```markdown
lsof -i 4TCP -s TCP:ESTABLISHED
```
+## List open files in a mounted directory.
+This may help to find which processes keep devices busy when trying to unmount
+and the device is currently busy.
+```markdown
+# Assuming /proc is a mount point.
+lsof /proc
+```