aboutsummaryrefslogtreecommitdiffhomepage
path: root/monitor/lsof.html
diff options
context:
space:
mode:
authorjohannst <johannst@users.noreply.github.com>2023-09-09 08:32:23 +0000
committerjohannst <johannst@users.noreply.github.com>2023-09-09 08:32:23 +0000
commit3839b5e390c53b74f58003cf082030df02391f9a (patch)
treefeb4c3e7c3e6674200e49594b49bd4be7bd1bd89 /monitor/lsof.html
parentf0cf514eb3ca30c5170e534c3861ad73996c7726 (diff)
downloadnotes-3839b5e390c53b74f58003cf082030df02391f9a.tar.gz
notes-3839b5e390c53b74f58003cf082030df02391f9a.zip
deploy: 30bc89f36a0310eb5c9c710f0544577b3688fd77
Diffstat (limited to 'monitor/lsof.html')
-rw-r--r--monitor/lsof.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/monitor/lsof.html b/monitor/lsof.html
index 5bb272d..ce57136 100644
--- a/monitor/lsof.html
+++ b/monitor/lsof.html
@@ -219,6 +219,12 @@
<h2 id="ipv4-tcp-connections-in-established-state"><a class="header" href="#ipv4-tcp-connections-in-established-state">IPv4 TCP connections in <code>ESTABLISHED</code> state</a></h2>
<pre><code class="language-markdown">lsof -i 4TCP -s TCP:ESTABLISHED
</code></pre>
+<h2 id="list-open-files-in-a-mounted-directory"><a class="header" href="#list-open-files-in-a-mounted-directory">List open files in a mounted directory.</a></h2>
+<p>This may help to find which processes keep devices busy when trying to unmount
+and the device is currently busy.</p>
+<pre><code class="language-markdown"># Assuming /proc is a mount point.
+lsof /proc
+</code></pre>
</main>