<?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: /usr 98% full in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/usr-98-full/m-p/4875557#M399596</link>
    <description>You may want to find which files is utilizing the most space in /usr and which process is running that is writing information to that file.</description>
    <pubDate>Wed, 15 Dec 2004 09:31:54 GMT</pubDate>
    <dc:creator>Deoncia Grayson_1</dc:creator>
    <dc:date>2004-12-15T09:31:54Z</dc:date>
    <item>
      <title>/usr 98% full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/usr-98-full/m-p/4875553#M399592</link>
      <description>well you can see from the thread title, what the problem is. Is there anything in /usr that is a culprit for eating up space? I need to free space  on /usr urgently.&lt;BR /&gt;&lt;BR /&gt;Thanks for your help in advance. Attached is the output from bdf /usr&lt;BR /&gt;&lt;BR /&gt;Cheers.</description>
      <pubDate>Wed, 15 Dec 2004 09:25:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/usr-98-full/m-p/4875553#M399592</guid>
      <dc:creator>Adrian Sobers2</dc:creator>
      <dc:date>2004-12-15T09:25:01Z</dc:date>
    </item>
    <item>
      <title>Re: /usr 98% full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/usr-98-full/m-p/4875554#M399593</link>
      <description>Usually not.&lt;BR /&gt;&lt;BR /&gt;/usr is where you install software.&lt;BR /&gt;&lt;BR /&gt;The content is supposed to be static. I've run systems for months with /usr at 98% without any difficulties at all.&lt;BR /&gt;&lt;BR /&gt;Variable output and logs are directed to /var&lt;BR /&gt;&lt;BR /&gt;If this figure is changing without software instalaltions, then look for an application that is storing variable output in /usr&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Wed, 15 Dec 2004 09:28:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/usr-98-full/m-p/4875554#M399593</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2004-12-15T09:28:05Z</dc:date>
    </item>
    <item>
      <title>Re: /usr 98% full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/usr-98-full/m-p/4875555#M399594</link>
      <description>I usually do du -sk * in your directory to see which directory is the largest.  I then drill down until I find some files I know I can remove.&lt;BR /&gt;&lt;BR /&gt;So&lt;BR /&gt;# cd /usr&lt;BR /&gt;# du -sk * | sort -An&lt;BR /&gt;0       adm&lt;BR /&gt;0       hpC2400&lt;BR /&gt;0       keysh&lt;BR /&gt;0       lost+found&lt;BR /&gt;0       mail&lt;BR /&gt;0       man&lt;BR /&gt;0       netls&lt;BR /&gt;0       news&lt;BR /&gt;0       openv&lt;BR /&gt;0       preserve&lt;BR /&gt;0       pub&lt;BR /&gt;0       spool&lt;BR /&gt;0       tftpdir&lt;BR /&gt;0       tmp&lt;BR /&gt;3       etc&lt;BR /&gt;15      TT_DB&lt;BR /&gt;40      examples&lt;BR /&gt;874     vue&lt;BR /&gt;1462    tsm&lt;BR /&gt;2862    old&lt;BR /&gt;4222    dmi&lt;BR /&gt;7855    include&lt;BR /&gt;7867    newconfig&lt;BR /&gt;8796    lbin&lt;BR /&gt;17092   ccs&lt;BR /&gt;23556   sam&lt;BR /&gt;32691   obam&lt;BR /&gt;33035   bin&lt;BR /&gt;44959   contrib&lt;BR /&gt;54400   share&lt;BR /&gt;57924   conf&lt;BR /&gt;67520   dt&lt;BR /&gt;85627   sbin&lt;BR /&gt;93439   local&lt;BR /&gt;570480  lib&lt;BR /&gt;&lt;BR /&gt;I would then go in lib and do the same command until I've freed up enough space.</description>
      <pubDate>Wed, 15 Dec 2004 09:28:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/usr-98-full/m-p/4875555#M399594</guid>
      <dc:creator>Dave Hutton</dc:creator>
      <dc:date>2004-12-15T09:28:30Z</dc:date>
    </item>
    <item>
      <title>Re: /usr 98% full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/usr-98-full/m-p/4875556#M399595</link>
      <description>Adrian,&lt;BR /&gt;&lt;BR /&gt;The bdf isn't all that helpful.  You need to analyze what's filling it up.  Run "du -sk /usr/* |sort -n".  This will produce a listing of the files and directories under /usr from smallest to largest.  If something immediately jumps out at you as being out of line, investigate it.  If not, start looking at the largest areas by running "du -sk /usr/bigdir/* |sort -n" and keep drilling down until you find the culprit.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Wed, 15 Dec 2004 09:30:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/usr-98-full/m-p/4875556#M399595</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2004-12-15T09:30:13Z</dc:date>
    </item>
    <item>
      <title>Re: /usr 98% full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/usr-98-full/m-p/4875557#M399596</link>
      <description>You may want to find which files is utilizing the most space in /usr and which process is running that is writing information to that file.</description>
      <pubDate>Wed, 15 Dec 2004 09:31:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/usr-98-full/m-p/4875557#M399596</guid>
      <dc:creator>Deoncia Grayson_1</dc:creator>
      <dc:date>2004-12-15T09:31:54Z</dc:date>
    </item>
    <item>
      <title>Re: /usr 98% full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/usr-98-full/m-p/4875558#M399597</link>
      <description>cd /usr&lt;BR /&gt;du -sk * |sort -n&lt;BR /&gt;&lt;BR /&gt;Look at the largest - non mounted ones....&lt;BR /&gt;&lt;BR /&gt;Keep drilling down the directories...&lt;BR /&gt;&lt;BR /&gt;If room in the vg, if you have online jfs - you can extend on the fly, &lt;BR /&gt;&lt;BR /&gt;lvextend -L 1572864 /dev/vg00/lvol7&lt;BR /&gt;fsadm -b 1572864M /usr&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Wed, 15 Dec 2004 09:35:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/usr-98-full/m-p/4875558#M399597</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2004-12-15T09:35:03Z</dc:date>
    </item>
    <item>
      <title>Re: /usr 98% full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/usr-98-full/m-p/4875559#M399598</link>
      <description>Adrian,&lt;BR /&gt;&lt;BR /&gt;I suspect you've a installed non-OS software in /usr that may be generating logs or temp files, etc. Do the following:&lt;BR /&gt;&lt;BR /&gt;du -ax /usr|sort -nr|head 20&lt;BR /&gt;&lt;BR /&gt;This will give you the biggest top 20 directories AND files.&lt;BR /&gt;&lt;BR /&gt;If what you have is a large log file - DO NOT SIMPLY DELETE IT as it will not give you back space. Copy it to a temporary holding space COMPRESSED if it is a text file (file command). Do a :&lt;BR /&gt;&lt;BR /&gt;cat /usr/somesoftware/biglogefile.txt|gzip&amp;gt;/temp_repo/biglogfile.txt.gz&lt;BR /&gt;&lt;BR /&gt;Then you simply cp /dev/null /usr/somesoftware/biglogefile.txt&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Hope this helps..&lt;BR /&gt;</description>
      <pubDate>Wed, 15 Dec 2004 09:37:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/usr-98-full/m-p/4875559#M399598</guid>
      <dc:creator>Zinky</dc:creator>
      <dc:date>2004-12-15T09:37:42Z</dc:date>
    </item>
    <item>
      <title>Re: /usr 98% full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/usr-98-full/m-p/4875560#M399599</link>
      <description>1.2GB in /usr may be normal, depending on what products are installed on server. Do you see it grow, or this this just a fact that it's full.&lt;BR /&gt;&lt;BR /&gt;You should just increase it. If you have OnlineJFS, This can be done without a reboot.&lt;BR /&gt;&lt;BR /&gt;Please post output for "du -ks /usr/*".&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Fred&lt;BR /&gt;</description>
      <pubDate>Wed, 15 Dec 2004 09:37:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/usr-98-full/m-p/4875560#M399599</guid>
      <dc:creator>Fred Ruffet</dc:creator>
      <dc:date>2004-12-15T09:37:56Z</dc:date>
    </item>
    <item>
      <title>Re: /usr 98% full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/usr-98-full/m-p/4875561#M399600</link>
      <description>Adrian,&lt;BR /&gt;&lt;BR /&gt;Correction on the head command -- there should be a -:&lt;BR /&gt;&lt;BR /&gt;du -ax /usr|sort -nr|head -20&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Note:&lt;BR /&gt;&lt;BR /&gt;du -sk /usr/* will only show you directory sizes.&lt;BR /&gt;&lt;BR /&gt;du -ax /usr WILL show you both directory sizes AND files. files -- because I suspect a growing log file on there.. (possibly /usr/vendor/autotree - if Autosys is installed... for example..)&lt;BR /&gt;</description>
      <pubDate>Wed, 15 Dec 2004 09:43:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/usr-98-full/m-p/4875561#M399600</guid>
      <dc:creator>Zinky</dc:creator>
      <dc:date>2004-12-15T09:43:01Z</dc:date>
    </item>
    <item>
      <title>Re: /usr 98% full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/usr-98-full/m-p/4875562#M399601</link>
      <description>Well, Nelson, on *my* HP machines, du -sk gives results for both files and directories - are you sure you aren't confusing one of your Sun machines or something?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Wed, 15 Dec 2004 09:46:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/usr-98-full/m-p/4875562#M399601</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2004-12-15T09:46:46Z</dc:date>
    </item>
    <item>
      <title>Re: /usr 98% full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/usr-98-full/m-p/4875563#M399602</link>
      <description>attached is the output from&lt;BR /&gt;&lt;BR /&gt;du -ax /usr|sort -nr|head &amp;gt; big.txt&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;this means absolutely nothing to me, anyone care to explain exactly what I can do with this knowledge?</description>
      <pubDate>Wed, 15 Dec 2004 09:47:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/usr-98-full/m-p/4875563#M399602</guid>
      <dc:creator>Adrian Sobers2</dc:creator>
      <dc:date>2004-12-15T09:47:46Z</dc:date>
    </item>
    <item>
      <title>Re: /usr 98% full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/usr-98-full/m-p/4875564#M399603</link>
      <description>That's the problem with using du -ax piped to head - all we're seeing is that /usr/lib is the biggest directory under /usr - not exactly a surprise.  Run "du -sk |sort -n" and post the last 20 lines or so.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Wed, 15 Dec 2004 09:53:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/usr-98-full/m-p/4875564#M399603</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2004-12-15T09:53:26Z</dc:date>
    </item>
    <item>
      <title>Re: /usr 98% full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/usr-98-full/m-p/4875565#M399604</link>
      <description>attached is the output from the command:&lt;BR /&gt;&lt;BR /&gt;du -ax /usr|sort -nr|head -20 &amp;gt; 20.txt</description>
      <pubDate>Wed, 15 Dec 2004 09:54:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/usr-98-full/m-p/4875565#M399604</guid>
      <dc:creator>Adrian Sobers2</dc:creator>
      <dc:date>2004-12-15T09:54:14Z</dc:date>
    </item>
    <item>
      <title>Re: /usr 98% full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/usr-98-full/m-p/4875566#M399605</link>
      <description>I also have to agree with Fred that this may be completely normal.  I've got machines with /usr ranging from 1.08 to 1.22 GB.  As long as it's not growing, this is probably OK, though you might want to enlarge it a little bit just so you don't keep scaring yourself everytime you run bdf.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Wed, 15 Dec 2004 09:56:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/usr-98-full/m-p/4875566#M399605</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2004-12-15T09:56:25Z</dc:date>
    </item>
    <item>
      <title>Re: /usr 98% full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/usr-98-full/m-p/4875567#M399606</link>
      <description>Thats showing you the top directorys in blocks. Add k for Kbytes:&lt;BR /&gt;&lt;BR /&gt;du -akx /usr|sort -nr|head -20&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Mine is:&lt;BR /&gt;&lt;BR /&gt;1604952 /usr&lt;BR /&gt;522560  /usr/lib&lt;BR /&gt;268568  /usr/local&lt;BR /&gt;191288  /usr/ecc&lt;BR /&gt;191280  /usr/ecc/exec&lt;BR /&gt;164800  /usr/local/src&lt;BR /&gt;150240  /usr/lib/nls&lt;BR /&gt;118952  /usr/lib/X11&lt;BR /&gt;114568  /usr/sbin&lt;BR /&gt;102768  /usr/lib/nls/loc&lt;BR /&gt;95424   /usr/lib/X11/fonts&lt;BR /&gt;84072   /usr/dt&lt;BR /&gt;76368   /usr/share&lt;BR /&gt;75264   /usr/contrib&lt;BR /&gt;73584   /usr/lib/pa20_64&lt;BR /&gt;72080   /usr/lib/X11/fonts/TrueType&lt;BR /&gt;67600   /usr/conf&lt;BR /&gt;60872   /usr/sbin/stm&lt;BR /&gt;59864   /usr/share/man&lt;BR /&gt;51344   /usr/local/ps&lt;BR /&gt;&lt;BR /&gt;My usr is 2 GB.&lt;BR /&gt;&lt;BR /&gt;I would increase yours if possible.&lt;BR /&gt;&lt;BR /&gt;You /usr/lib seems larger then normal - mine is 500 MB - yours is 700...&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff&lt;BR /&gt;</description>
      <pubDate>Wed, 15 Dec 2004 09:57:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/usr-98-full/m-p/4875567#M399606</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2004-12-15T09:57:06Z</dc:date>
    </item>
    <item>
      <title>Re: /usr 98% full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/usr-98-full/m-p/4875568#M399607</link>
      <description>Adrian,&lt;BR /&gt;&lt;BR /&gt;If your /usr has remained at or about 90-98% for sometime - then you probably have a STATIC /usr filesystem that you need not worry. BUT I am still worried you may have a log/output directory that generates small log files.  Give us an output (complete) of du -sk /usr |sort -nr and let's see if you've non-OS/system subdirecotries underneath.&lt;BR /&gt;&lt;BR /&gt;Pete,&lt;BR /&gt;&lt;BR /&gt;du -sk /usr will summarize only at that level -- files and directories and will only show you large subdirectories. &lt;BR /&gt;&lt;BR /&gt;du -ax will show you not only the biggest directories but also your culprit biggest files.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 15 Dec 2004 09:58:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/usr-98-full/m-p/4875568#M399607</guid>
      <dc:creator>Zinky</dc:creator>
      <dc:date>2004-12-15T09:58:38Z</dc:date>
    </item>
    <item>
      <title>Re: /usr 98% full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/usr-98-full/m-p/4875569#M399608</link>
      <description>Maybe you have locales you don't need (I have this : "89194   /usr/lib/nls").&lt;BR /&gt;&lt;BR /&gt;What is content of /usr/lib/nls/loc/pa20_64/locales.2 ?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Fred&lt;BR /&gt;</description>
      <pubDate>Wed, 15 Dec 2004 10:04:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/usr-98-full/m-p/4875569#M399608</guid>
      <dc:creator>Fred Ruffet</dc:creator>
      <dc:date>2004-12-15T10:04:21Z</dc:date>
    </item>
    <item>
      <title>Re: /usr 98% full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/usr-98-full/m-p/4875570#M399609</link>
      <description>attached is output from du command. &lt;BR /&gt;&lt;BR /&gt;ummm...*looking down sheepishly at floor* it dawned on me that this is probably because I installed the latest December Quality Packs yesterday. &lt;BR /&gt;&lt;BR /&gt;I check the log book and /usr was at 85% before patch install and now it is 98%. We do not have Online JFS, so how should I go about extending /usr...indeed, SHOULD I extend /usr?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 15 Dec 2004 10:06:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/usr-98-full/m-p/4875570#M399609</guid>
      <dc:creator>Adrian Sobers2</dc:creator>
      <dc:date>2004-12-15T10:06:54Z</dc:date>
    </item>
    <item>
      <title>Re: /usr 98% full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/usr-98-full/m-p/4875571#M399610</link>
      <description>Adrian,&lt;BR /&gt;&lt;BR /&gt;No points for this, please.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Nelson,&lt;BR /&gt;&lt;BR /&gt;I guess it's a matter of preference:&lt;BR /&gt;&lt;BR /&gt;# du -ax /usr|sort -nr|head&lt;BR /&gt;2155216 /usr&lt;BR /&gt;1144720 /usr/lib&lt;BR /&gt;347920  /usr/lib/nls&lt;BR /&gt;316512  /usr/lib/X11&lt;BR /&gt;272176  /usr/lib/X11/fonts&lt;BR /&gt;253872  /usr/lib/nls/loc&lt;BR /&gt;225264  /usr/lib/X11/fonts/TrueType&lt;BR /&gt;215872  /usr/sbin&lt;BR /&gt;170496  /usr/dt&lt;BR /&gt;156896  /usr/share&lt;BR /&gt;&lt;BR /&gt;This seems to break down /usr/lib - I guess that's what you're saying.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;# du -sk /usr/* |sort -nr |head&lt;BR /&gt;572360  /usr/lib&lt;BR /&gt;107936  /usr/sbin&lt;BR /&gt;85248   /usr/dt&lt;BR /&gt;78448   /usr/share&lt;BR /&gt;59520   /usr/conf&lt;BR /&gt;34184   /usr/contrib&lt;BR /&gt;33600   /usr/obam&lt;BR /&gt;29688   /usr/sam&lt;BR /&gt;26168   /usr/bin&lt;BR /&gt;14016   /usr/ccs&lt;BR /&gt;&lt;BR /&gt;This summarizes /usr/lib and shows me more suspect top level directories which I can then manually drill down into.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Wed, 15 Dec 2004 10:08:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/usr-98-full/m-p/4875571#M399610</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2004-12-15T10:08:16Z</dc:date>
    </item>
    <item>
      <title>Re: /usr 98% full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/usr-98-full/m-p/4875572#M399611</link>
      <description>attached is output from locales.2 directory that was asked about earlier. I do not think I need all these different locales. How do I go about removing unwanted locales? SAM? Would this free considerable space?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 15 Dec 2004 10:12:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/usr-98-full/m-p/4875572#M399611</guid>
      <dc:creator>Adrian Sobers2</dc:creator>
      <dc:date>2004-12-15T10:12:12Z</dc:date>
    </item>
  </channel>
</rss>

