diff options
author | Johannes Stoelp <johannes.stoelp@gmail.com> | 2023-09-09 10:32:01 +0200 |
---|---|---|
committer | Johannes Stoelp <johannes.stoelp@gmail.com> | 2023-09-09 10:32:01 +0200 |
commit | 30bc89f36a0310eb5c9c710f0544577b3688fd77 (patch) | |
tree | c5e658e1e6b1702ab73ee3aeefcd9002bcfb5721 /src/monitor/lsof.md | |
parent | 6d7fa6eff28c2ba8bb87bf19e02f4de1b94701b9 (diff) | |
download | notes-30bc89f36a0310eb5c9c710f0544577b3688fd77.tar.gz notes-30bc89f36a0310eb5c9c710f0544577b3688fd77.zip |
lsof: add note about checking mnt points
Diffstat (limited to 'src/monitor/lsof.md')
-rw-r--r-- | src/monitor/lsof.md | 7 |
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 +``` |