diff options
-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 +``` |