<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Display File Filling /tmp in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/display-file-filling-tmp/m-p/5126057#M448723</link>
    <description>If it were me I'd make a tmp directory in his home directory then set the tmp env in his .profile.&lt;BR /&gt;&lt;BR /&gt;export TMP=/home/username/tmp&lt;BR /&gt;&lt;BR /&gt;That way he could shoot himself in the foot.</description>
    <pubDate>Fri, 22 Aug 2008 18:51:31 GMT</pubDate>
    <dc:creator>Paul Sperry</dc:creator>
    <dc:date>2008-08-22T18:51:31Z</dc:date>
    <item>
      <title>Display File Filling /tmp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/display-file-filling-tmp/m-p/5126054#M448720</link>
      <description>I have a server that someone is running a job on during the day that fills up /tmp, than after about 15 minutes /tmp is back to it's normal 3% Full...&lt;BR /&gt;&lt;BR /&gt;As root I've done an ls -al on /tmp but it does not show any file that is being written to /tmp that is filling it up... &lt;BR /&gt;&lt;BR /&gt;Is there a way to find out what file is being written to /tmp and then deleted afterwards so I can get the developer to cease or at least use there own file system for this temporary file ??&lt;BR /&gt;</description>
      <pubDate>Fri, 22 Aug 2008 18:41:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/display-file-filling-tmp/m-p/5126054#M448720</guid>
      <dc:creator>MikeL_4</dc:creator>
      <dc:date>2008-08-22T18:41:41Z</dc:date>
    </item>
    <item>
      <title>Re: Display File Filling /tmp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/display-file-filling-tmp/m-p/5126055#M448721</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;This sounds as if a process is creating a temporary file and immediately unlinking (removing) it while using it (keeping it open).  This is a common technique.  The advantage is that when the process terminates, the programmer doesn't need to perform any other actions to remove the file.  The fact that the file's link count is zero, means that the disk blocks used are returned to the system.&lt;BR /&gt;&lt;BR /&gt;You can use 'lsof' to see the files with a link count of zero (0):&lt;BR /&gt;&lt;BR /&gt;# lsof +L1 +D /tmp&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Fri, 22 Aug 2008 18:49:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/display-file-filling-tmp/m-p/5126055#M448721</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2008-08-22T18:49:15Z</dc:date>
    </item>
    <item>
      <title>Re: Display File Filling /tmp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/display-file-filling-tmp/m-p/5126056#M448722</link>
      <description>Hi (again):&lt;BR /&gt;&lt;BR /&gt;If you don't have 'lsof' installed (and you should!), fetch and install it (no reboot required) from here:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://hpux.connect.org.uk/hppd/hpux/Sysadmin/lsof-4.80/" target="_blank"&gt;http://hpux.connect.org.uk/hppd/hpux/Sysadmin/lsof-4.80/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Fri, 22 Aug 2008 18:51:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/display-file-filling-tmp/m-p/5126056#M448722</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2008-08-22T18:51:21Z</dc:date>
    </item>
    <item>
      <title>Re: Display File Filling /tmp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/display-file-filling-tmp/m-p/5126057#M448723</link>
      <description>If it were me I'd make a tmp directory in his home directory then set the tmp env in his .profile.&lt;BR /&gt;&lt;BR /&gt;export TMP=/home/username/tmp&lt;BR /&gt;&lt;BR /&gt;That way he could shoot himself in the foot.</description>
      <pubDate>Fri, 22 Aug 2008 18:51:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/display-file-filling-tmp/m-p/5126057#M448723</guid>
      <dc:creator>Paul Sperry</dc:creator>
      <dc:date>2008-08-22T18:51:31Z</dc:date>
    </item>
    <item>
      <title>Re: Display File Filling /tmp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/display-file-filling-tmp/m-p/5126058#M448724</link>
      <description>&amp;gt;fills up /tmp,&lt;BR /&gt;&lt;BR /&gt;Is this /tmp or /var/tmp?&lt;BR /&gt;The latter is what users should be using.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Paul: tmp env in his .profile.&lt;BR /&gt;&amp;gt;export TMP=/home/username/tmp&lt;BR /&gt;&lt;BR /&gt;The official variable is TMPDIR for tempnam(3).&lt;BR /&gt;I'm not sure if tmpfile(3) removes the file at the start or at the end?</description>
      <pubDate>Sat, 23 Aug 2008 01:10:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/display-file-filling-tmp/m-p/5126058#M448724</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-08-23T01:10:36Z</dc:date>
    </item>
    <item>
      <title>Re: Display File Filling /tmp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/display-file-filling-tmp/m-p/5126059#M448725</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;you can find the user or process which is the culprit for creating the filw in /tmp&lt;BR /&gt;&lt;BR /&gt;Check who is using the /tmp using&lt;BR /&gt;1) fuser -cu /tmp&lt;BR /&gt;then u will get the pid&lt;BR /&gt;&lt;BR /&gt;2)ps -ef |grep &lt;PID&gt;&lt;BR /&gt;you will get the idea which is processess and which user is resoponsible for it&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Atul&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/PID&gt;</description>
      <pubDate>Mon, 25 Aug 2008 04:14:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/display-file-filling-tmp/m-p/5126059#M448725</guid>
      <dc:creator>Prashanth Waugh</dc:creator>
      <dc:date>2008-08-25T04:14:42Z</dc:date>
    </item>
    <item>
      <title>Re: Display File Filling /tmp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/display-file-filling-tmp/m-p/5126060#M448726</link>
      <description>With the following command you can determine which files grow in /tmp:&lt;BR /&gt;&lt;BR /&gt;#du -akx /tmp | sort -nr &amp;gt; output1.txt&lt;BR /&gt;&lt;BR /&gt;then execute the same after a while...&lt;BR /&gt;&lt;BR /&gt;#du -akx /tmp | sort -nr &amp;gt; output2.txt&lt;BR /&gt;&lt;BR /&gt;and compare the both files to see what grows:&lt;BR /&gt;&lt;BR /&gt;#diff output1.txt output2.txt&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 25 Aug 2008 05:10:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/display-file-filling-tmp/m-p/5126060#M448726</guid>
      <dc:creator>Anka</dc:creator>
      <dc:date>2008-08-25T05:10:18Z</dc:date>
    </item>
    <item>
      <title>Re: Display File Filling /tmp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/display-file-filling-tmp/m-p/5126061#M448727</link>
      <description>Thanks</description>
      <pubDate>Mon, 25 Aug 2008 12:34:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/display-file-filling-tmp/m-p/5126061#M448727</guid>
      <dc:creator>MikeL_4</dc:creator>
      <dc:date>2008-08-25T12:34:41Z</dc:date>
    </item>
  </channel>
</rss>

