<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Lsof on Oracle Scripts</title><link>https://www.oraclescripts.com/tags/lsof/</link><description>Recent content in Lsof on Oracle Scripts</description><generator>Hugo -- gohugo.io</generator><language>en</language><copyright>OracleScripts.com</copyright><lastBuildDate>Tue, 28 Apr 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://www.oraclescripts.com/tags/lsof/index.xml" rel="self" type="application/rss+xml"/><item><title>List Files Opened by an Oracle Process with lsof -p</title><link>https://www.oraclescripts.com/post/lsof-find-files-opened-by-process-oracle/</link><pubDate>Tue, 28 Apr 2026 00:00:00 +0000</pubDate><guid>https://www.oraclescripts.com/post/lsof-find-files-opened-by-process-oracle/</guid><description>
&lt;h2 id="list-files-opened-by-an-oracle-process-with-lsof--p"&gt;List Files Opened by an Oracle Process with lsof -p&lt;/h2&gt;
&lt;h2 id="purpose"&gt;Purpose&lt;/h2&gt;
&lt;p&gt;&lt;code&gt;lsof&lt;/code&gt; (LiSt Open Files) is the UNIX tool for inspecting which processes have which files open. For an Oracle DBA it is the fastest answer to four common questions: which datafiles is this server process touching, which trace file is &lt;code&gt;PMON&lt;/code&gt; writing into right now, why is &lt;code&gt;df&lt;/code&gt; reporting more space used than &lt;code&gt;du&lt;/code&gt;, and which library is the database currently mapped against. The one-liner below — taken straight from the shutdownabort.com DBA Quick Guides (Andrew Barry, 2007–2013, preserved via the Wayback Machine as the anchor source for this post) — is the smallest possible invocation: list every file held open by one process, identified by its PID.&lt;/p&gt;</description></item></channel></rss>