From 30bc89f36a0310eb5c9c710f0544577b3688fd77 Mon Sep 17 00:00:00 2001 From: Johannes Stoelp Date: Sat, 9 Sep 2023 10:32:01 +0200 Subject: lsof: add note about checking mnt points --- src/monitor/lsof.md | 7 +++++++ 1 file changed, 7 insertions(+) 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 +``` -- cgit v1.2.3