aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/monitor
diff options
context:
space:
mode:
authorJohannes Stoelp <johannes.stoelp@gmail.com>2023-09-09 10:32:01 +0200
committerJohannes Stoelp <johannes.stoelp@gmail.com>2023-09-09 10:32:01 +0200
commit30bc89f36a0310eb5c9c710f0544577b3688fd77 (patch)
treec5e658e1e6b1702ab73ee3aeefcd9002bcfb5721 /src/monitor
parent6d7fa6eff28c2ba8bb87bf19e02f4de1b94701b9 (diff)
downloadnotes-30bc89f36a0310eb5c9c710f0544577b3688fd77.tar.gz
notes-30bc89f36a0310eb5c9c710f0544577b3688fd77.zip
lsof: add note about checking mnt points
Diffstat (limited to 'src/monitor')
-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
+```