<?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: temp size in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/temp-size/m-p/5169647#M665752</link>
    <description>Hi Anoop,&lt;BR /&gt;&lt;BR /&gt;To know more about the process,&lt;BR /&gt;&lt;BR /&gt;#ps -fp &lt;PID&gt;&lt;BR /&gt;&lt;BR /&gt;#ps -fp 20633 &lt;BR /&gt;&lt;BR /&gt;To kill the process&lt;BR /&gt;&lt;BR /&gt;#kill -9 20633&lt;/PID&gt;</description>
    <pubDate>Wed, 15 Apr 2009 08:56:46 GMT</pubDate>
    <dc:creator>Ganesan R</dc:creator>
    <dc:date>2009-04-15T08:56:46Z</dc:date>
    <item>
      <title>temp size</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/temp-size/m-p/5169640#M665745</link>
      <description>Hi,&lt;BR /&gt;I am facing a stange issue,see the below o/p /temp showing differ size in bdf and du .&lt;BR /&gt;# bdf .&lt;BR /&gt;Filesystem          kbytes    used   avail %used Mounted on&lt;BR /&gt;/dev/vg00/lvol4    2097152 1756472  340680   84% /tmp&lt;BR /&gt;# pwd&lt;BR /&gt;/tmp&lt;BR /&gt;# du -sk .&lt;BR /&gt;17144   &lt;BR /&gt;Please help me to solve this.&lt;BR /&gt;Thanks&lt;BR /&gt;Anoop&lt;BR /&gt;#</description>
      <pubDate>Wed, 15 Apr 2009 05:40:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/temp-size/m-p/5169640#M665745</guid>
      <dc:creator>Anoopkumar</dc:creator>
      <dc:date>2009-04-15T05:40:16Z</dc:date>
    </item>
    <item>
      <title>Re: temp size</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/temp-size/m-p/5169641#M665746</link>
      <description>Hi Anoop,&lt;BR /&gt;&lt;BR /&gt;It is because of open files. There are some process having open files on /tmp filesystem.&lt;BR /&gt;&lt;BR /&gt;du will not count open files whereas bdf will count those space as well. Use lsof to find the process having open files and kill if necessary.</description>
      <pubDate>Wed, 15 Apr 2009 06:08:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/temp-size/m-p/5169641#M665746</guid>
      <dc:creator>Ganesan R</dc:creator>
      <dc:date>2009-04-15T06:08:26Z</dc:date>
    </item>
    <item>
      <title>Re: temp size</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/temp-size/m-p/5169642#M665747</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Command syntax would be,&lt;BR /&gt;&lt;BR /&gt;# lsof +aL1 |grep /tmp&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 15 Apr 2009 06:20:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/temp-size/m-p/5169642#M665747</guid>
      <dc:creator>Ganesan R</dc:creator>
      <dc:date>2009-04-15T06:20:51Z</dc:date>
    </item>
    <item>
      <title>Re: temp size</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/temp-size/m-p/5169643#M665748</link>
      <description>Thanks for the replay &lt;BR /&gt;&lt;BR /&gt;#  /usr/local/bin/lsof lsof +aL1 |grep /tmp&lt;BR /&gt;lsof: status error on lsof: No such file or directory&lt;BR /&gt;lsof: status error on +aL1: No such file or directory&lt;BR /&gt;lsof 4.77&lt;BR /&gt; latest revision: &lt;A href="ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/" target="_blank"&gt;ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/&lt;/A&gt;&lt;BR /&gt; latest FAQ: &lt;A href="ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/FAQ" target="_blank"&gt;ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/FAQ&lt;/A&gt;&lt;BR /&gt; latest man page: &lt;A href="ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/lsof_man" target="_blank"&gt;ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/lsof_man&lt;/A&gt;&lt;BR /&gt; usage: [-?abChlnNoOPRstUvV] [+|-c c] [+|-d s] [+D D] [+|-f[cfgGn]]&lt;BR /&gt; [-F [f]] [-g [s]] [-i [i]] [+|-L [l]] [+|-M] [-o [o]]&lt;BR /&gt; [-p s] [+|-r [t]] [-S [t]] [-T [t]] [-u s] [+|-w] [-x [fl]] [--] [names]&lt;BR /&gt;Use the ``-h'' option to get more help information.&lt;BR /&gt;#&lt;BR /&gt;&lt;BR /&gt;it  hsowing this error</description>
      <pubDate>Wed, 15 Apr 2009 06:27:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/temp-size/m-p/5169643#M665748</guid>
      <dc:creator>Anoopkumar</dc:creator>
      <dc:date>2009-04-15T06:27:19Z</dc:date>
    </item>
    <item>
      <title>Re: temp size</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/temp-size/m-p/5169644#M665749</link>
      <description>Hi AnoopKumar,&lt;BR /&gt;&lt;BR /&gt;du - Displays a summary of disk usage&lt;BR /&gt;&lt;A href="http://h30097.www3.hp.com/docs/base_doc/DOCUMENTATION/V51_HTML/MAN/MAN1/0102____.HTM" target="_blank"&gt;http://h30097.www3.hp.com/docs/base_doc/DOCUMENTATION/V51_HTML/MAN/MAN1/0102____.HTM&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;bdf â   report number of free disk blocks (Berkeley version) &lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/B2355-90691/bdf.1M.html" target="_blank"&gt;http://docs.hp.com/en/B2355-90691/bdf.1M.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Obviously there is a difference in how du and bdf behave.&lt;BR /&gt;This may occur if we touch open files.&lt;BR /&gt;"du" shows output in a positive view: it shows the number of currently allocated&lt;BR /&gt;blocks and counts the blocks you've just deleted as free.&lt;BR /&gt;&lt;BR /&gt;"bdf" has a more negative perspective: it shows the free disk space available.&lt;BR /&gt;&lt;BR /&gt;The difference is here: if a still-active process has allocated blocks (such as&lt;BR /&gt;for a logfile that you've just deleted), "bdf" counts these as still occupied.&lt;BR /&gt;This won't change until the process closes the file ("deallocates the blocks")&lt;BR /&gt;as it usually happens when the process terminates.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Rgds//&lt;BR /&gt;Taifur&lt;BR /&gt;</description>
      <pubDate>Wed, 15 Apr 2009 06:33:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/temp-size/m-p/5169644#M665749</guid>
      <dc:creator>Taifur</dc:creator>
      <dc:date>2009-04-15T06:33:27Z</dc:date>
    </item>
    <item>
      <title>Re: temp size</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/temp-size/m-p/5169645#M665750</link>
      <description>&amp;gt;# /usr/local/bin/lsof lsof +aL1 |grep /tmp&lt;BR /&gt;&amp;gt;lsof: status error on lsof: No such file or directory&lt;BR /&gt;&lt;BR /&gt;You have an extra "lsof" there.&lt;BR /&gt;Check Ganesan's example.</description>
      <pubDate>Wed, 15 Apr 2009 08:12:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/temp-size/m-p/5169645#M665750</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-04-15T08:12:54Z</dc:date>
    </item>
    <item>
      <title>Re: temp size</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/temp-size/m-p/5169646#M665751</link>
      <description>Hi,&lt;BR /&gt;Sorry my mistake...&lt;BR /&gt;it showing the output.&lt;BR /&gt;&lt;BR /&gt; /usr/local/bin/lsof +aL1 |grep /tmp&lt;BR /&gt;snmpdm     1120  root    2w   REG     64,0x4          0     0     47 /tmp (/dev/vg00/lvol4)&lt;BR /&gt;vmstat    20633  root  cwd    DIR     64,0x4       8192     0    397 /tmp (/dev/vg00/lvol4)&lt;BR /&gt;vmstat    20633  root    1u   REG     64,0x4 1786297567     0    229 /tmp (/dev/vg00/lvol4)&lt;BR /&gt;vmstat    20633  root    2u   REG     64,0x4 1786297567     0    229 /tmp (/dev/vg00/lvol4)&lt;BR /&gt;&lt;BR /&gt;I think taht 1.7 GB is using for vmstat How can find out which process is using how can kill that ??&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Anoop&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 15 Apr 2009 08:48:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/temp-size/m-p/5169646#M665751</guid>
      <dc:creator>Anoopkumar</dc:creator>
      <dc:date>2009-04-15T08:48:34Z</dc:date>
    </item>
    <item>
      <title>Re: temp size</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/temp-size/m-p/5169647#M665752</link>
      <description>Hi Anoop,&lt;BR /&gt;&lt;BR /&gt;To know more about the process,&lt;BR /&gt;&lt;BR /&gt;#ps -fp &lt;PID&gt;&lt;BR /&gt;&lt;BR /&gt;#ps -fp 20633 &lt;BR /&gt;&lt;BR /&gt;To kill the process&lt;BR /&gt;&lt;BR /&gt;#kill -9 20633&lt;/PID&gt;</description>
      <pubDate>Wed, 15 Apr 2009 08:56:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/temp-size/m-p/5169647#M665752</guid>
      <dc:creator>Ganesan R</dc:creator>
      <dc:date>2009-04-15T08:56:46Z</dc:date>
    </item>
    <item>
      <title>Re: temp size</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/temp-size/m-p/5169648#M665753</link>
      <description>Thanks,&lt;BR /&gt;&lt;BR /&gt;Killed the vmstat process</description>
      <pubDate>Wed, 15 Apr 2009 09:15:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/temp-size/m-p/5169648#M665753</guid>
      <dc:creator>Anoopkumar</dc:creator>
      <dc:date>2009-04-15T09:15:18Z</dc:date>
    </item>
    <item>
      <title>Re: temp size</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/temp-size/m-p/5169649#M665754</link>
      <description>Dear anoop &lt;BR /&gt;Same error i had faced for the /var file system which is showing 100% but in du -sk its not showing less than the used space in bdf&lt;BR /&gt;&lt;BR /&gt;your question provided a good answer for my issue thanks,now i understood why its happening so.</description>
      <pubDate>Thu, 16 Apr 2009 17:55:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/temp-size/m-p/5169649#M665754</guid>
      <dc:creator>Jestin John Chacko</dc:creator>
      <dc:date>2009-04-16T17:55:41Z</dc:date>
    </item>
  </channel>
</rss>

