<?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: Cleaning up /usr filesystem in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/cleaning-up-usr-filesystem/m-p/3499457#M216334</link>
    <description>Thanks to everyone...I've read it all and I've succumbed to the fact that I just need to "bite the bullet" and give it some more space.  At this point it seems like the best thing to do.  This is an old E-series server that we won't be (nor do I think we even can any longer) buying additional space for it.  It only houses one application that's going away soon....so it's really a temporary fix that I need to implement.  &lt;BR /&gt;Thanks again...&lt;BR /&gt;Chet</description>
    <pubDate>Tue, 08 Mar 2005 18:29:37 GMT</pubDate>
    <dc:creator>Chet Woods</dc:creator>
    <dc:date>2005-03-08T18:29:37Z</dc:date>
    <item>
      <title>Cleaning up /usr filesystem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cleaning-up-usr-filesystem/m-p/3499447#M216324</link>
      <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;I've just inherited a server that the /usr filesystem is at 95%.  Anyone have any ideas on logfiles, or any other "useless" stuff (at this point anyway) that I can dump??&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Chet</description>
      <pubDate>Mon, 07 Mar 2005 15:26:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cleaning-up-usr-filesystem/m-p/3499447#M216324</guid>
      <dc:creator>Chet Woods</dc:creator>
      <dc:date>2005-03-07T15:26:30Z</dc:date>
    </item>
    <item>
      <title>Re: Cleaning up /usr filesystem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cleaning-up-usr-filesystem/m-p/3499448#M216325</link>
      <description>Depends on the the previous admin had configured. &lt;BR /&gt;&lt;BR /&gt;Do the following commands;&lt;BR /&gt;# cd /usr&lt;BR /&gt;# du . -ka | sort -nr | more&lt;BR /&gt;&lt;BR /&gt;The du command (with the sort) will provide you a list of files from biggest to smallest. Once you have this list you can parse through.&lt;BR /&gt;&lt;BR /&gt;The /usr/bin, /usr/sbin/, /usr/lib, etc you will want to leave alone. What else have you got?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 07 Mar 2005 15:30:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cleaning-up-usr-filesystem/m-p/3499448#M216325</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2005-03-07T15:30:19Z</dc:date>
    </item>
    <item>
      <title>Re: Cleaning up /usr filesystem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cleaning-up-usr-filesystem/m-p/3499449#M216326</link>
      <description>These days there is very little in /usr that can be considered useless. In the old days, there was /usr/tmp, /usr/spool/lp, /usr/adm, ... but nowadays those are all symbolic links to /var --- where the actual files are. You may have some junk in /usr but it will be specific to your machine so there's no "standard" answer for you.&lt;BR /&gt;</description>
      <pubDate>Mon, 07 Mar 2005 15:31:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cleaning-up-usr-filesystem/m-p/3499449#M216326</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2005-03-07T15:31:46Z</dc:date>
    </item>
    <item>
      <title>Re: Cleaning up /usr filesystem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cleaning-up-usr-filesystem/m-p/3499450#M216327</link>
      <description>Here's what I get with a "du" command:&lt;BR /&gt;(of course this is only the first "page" of content from the du, but nothing is really standing out at me)&lt;BR /&gt;629044  .&lt;BR /&gt;219706  ./lib&lt;BR /&gt;75120   ./dt&lt;BR /&gt;66016   ./share&lt;BR /&gt;50038   ./conf&lt;BR /&gt;48778   ./share/man&lt;BR /&gt;47326   ./lib/X11&lt;BR /&gt;38886   ./sbin&lt;BR /&gt;38194   ./bin&lt;BR /&gt;31462   ./sam&lt;BR /&gt;25986   ./lib/X11/fonts&lt;BR /&gt;24726   ./conf/lib&lt;BR /&gt;23864   ./dt/appconfig&lt;BR /&gt;23372   ./lib/sw&lt;BR /&gt;22290   ./contrib&lt;BR /&gt;21064   ./lib/sw/hpux.install&lt;BR /&gt;18910   ./lib/X11/Xserver&lt;BR /&gt;18526   ./lib/nls&lt;BR /&gt;18018   ./java&lt;BR /&gt;17640   ./dt/bin&lt;BR /&gt;16412   ./dt/lib&lt;BR /&gt;15616   ./sam/lib&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Chet&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 07 Mar 2005 17:13:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cleaning-up-usr-filesystem/m-p/3499450#M216327</guid>
      <dc:creator>Chet Woods</dc:creator>
      <dc:date>2005-03-07T17:13:48Z</dc:date>
    </item>
    <item>
      <title>Re: Cleaning up /usr filesystem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cleaning-up-usr-filesystem/m-p/3499451#M216328</link>
      <description>Hi Chet,&lt;BR /&gt;&lt;BR /&gt;Did you check your vg00? It has probably some space left. If it has, extend the /usr. Its very hard to determine what is not important in your /usr.&lt;BR /&gt;&lt;BR /&gt;#vgdisplay -v vg00&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Paul</description>
      <pubDate>Mon, 07 Mar 2005 20:27:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cleaning-up-usr-filesystem/m-p/3499451#M216328</guid>
      <dc:creator>Paul_481</dc:creator>
      <dc:date>2005-03-07T20:27:10Z</dc:date>
    </item>
    <item>
      <title>Re: Cleaning up /usr filesystem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cleaning-up-usr-filesystem/m-p/3499452#M216329</link>
      <description>Hi Chet.&lt;BR /&gt;1, Have you found core file on this file system&lt;BR /&gt;let try this command:&lt;BR /&gt;#find /usr -name core -exec rm -f {} \;&lt;BR /&gt;to delete all core file.&lt;BR /&gt;2, determine which directory if biggest by issue this command&lt;BR /&gt;#du -sk|sort -nr&lt;BR /&gt;Regard &lt;BR /&gt;tienna</description>
      <pubDate>Mon, 07 Mar 2005 21:40:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cleaning-up-usr-filesystem/m-p/3499452#M216329</guid>
      <dc:creator>Nguyen Anh Tien</dc:creator>
      <dc:date>2005-03-07T21:40:33Z</dc:date>
    </item>
    <item>
      <title>Re: Cleaning up /usr filesystem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cleaning-up-usr-filesystem/m-p/3499453#M216330</link>
      <description>Hi Chet,&lt;BR /&gt;&lt;BR /&gt;Run the following script and select /usr when prompted for a diretory to search. input 10000 when prompted for size of files.and 300 for the next prompt. You can find the output in find.out file as well as on screen.&lt;BR /&gt;&lt;BR /&gt;#This script finds recenty created large files&lt;BR /&gt;#&lt;BR /&gt;#Syam K&lt;BR /&gt;#Consultancy&lt;BR /&gt;#26/01/2004&lt;BR /&gt;#&lt;BR /&gt;#&lt;BR /&gt;rm -f find.out&lt;BR /&gt;&lt;BR /&gt;echo&lt;BR /&gt;echo "Enter directory to search"&lt;BR /&gt;read DIRNAME&lt;BR /&gt;&lt;BR /&gt;if [ ! -d $DIRNAME ]&lt;BR /&gt;then&lt;BR /&gt;        echo "Error: directory $DIRNAME does not exist"&lt;BR /&gt;        exit 1&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;echo&lt;BR /&gt;echo "How large a file do you want to look for ? (in Kbytes)"&lt;BR /&gt;read SIZE&lt;BR /&gt;&lt;BR /&gt;echo&lt;BR /&gt;echo "How many days since the file was created ?"&lt;BR /&gt;read DAYS&lt;BR /&gt;&lt;BR /&gt;echo&lt;BR /&gt;echo "Searching..."&lt;BR /&gt;&lt;BR /&gt;find $DIRNAME -type f -size +$SIZE -mtime -$DAYS -exec ls -ls {} \; | sort -n -r | tee find.out&lt;BR /&gt;&lt;BR /&gt;echo&lt;BR /&gt;echo "Done"&lt;BR /&gt;echo&lt;BR /&gt;echo "Note: output in find.out"&lt;BR /&gt;echo&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Syam</description>
      <pubDate>Mon, 07 Mar 2005 22:29:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cleaning-up-usr-filesystem/m-p/3499453#M216330</guid>
      <dc:creator>Ranjith_5</dc:creator>
      <dc:date>2005-03-07T22:29:39Z</dc:date>
    </item>
    <item>
      <title>Re: Cleaning up /usr filesystem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cleaning-up-usr-filesystem/m-p/3499454#M216331</link>
      <description>Hi Chet,&lt;BR /&gt;&lt;BR /&gt;One more thing..&lt;BR /&gt;&lt;BR /&gt;If you have a vertitas backup oftware installed on this machine, the log files of the same will be there at&lt;BR /&gt;&lt;BR /&gt;/usr/openv/netbackup/logs/bpcd/&lt;BR /&gt;&lt;BR /&gt;/usr/openv/netbackup/logs/bpbkar/&lt;BR /&gt;&lt;BR /&gt;/usr/openv/netbackup/logs/bptm/&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Syam</description>
      <pubDate>Mon, 07 Mar 2005 22:35:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cleaning-up-usr-filesystem/m-p/3499454#M216331</guid>
      <dc:creator>Ranjith_5</dc:creator>
      <dc:date>2005-03-07T22:35:26Z</dc:date>
    </item>
    <item>
      <title>Re: Cleaning up /usr filesystem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cleaning-up-usr-filesystem/m-p/3499455#M216332</link>
      <description>/usr is not like /var where temp files and logs are created. It is mostly programs and libraries. 629k (du reports in 512byte units) is only 315megs, a VERY, VERY small! /usr should be at least 750megs but more normal is 1000-1500megs in size. So you inherited a server that was badly sized. You can go into single user mode and increase /usr assuming that VG00 has unused space. Otherwise, use bdf to show how VG00 is laid out and if everything is almost full, it's time to add another disk. The only thing you might remove are the man pages in /usr/share but then all your online documentation will be gone.</description>
      <pubDate>Mon, 07 Mar 2005 22:41:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cleaning-up-usr-filesystem/m-p/3499455#M216332</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2005-03-07T22:41:06Z</dc:date>
    </item>
    <item>
      <title>Re: Cleaning up /usr filesystem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cleaning-up-usr-filesystem/m-p/3499456#M216333</link>
      <description>I've been able to get a little space back by deleting some whitepapers -- /usr/doc??&lt;BR /&gt;&lt;BR /&gt;The best thing to do is extend /usr into unused vg00 extents.  Second best, when you can't reboot the server and/or don't have OnlineJFS -- just my opinion -- *CAREFULLY* create a new filesystem in vg00 to hold some old stuff from /usr -- say, /usr/lib/X11.  Move it from the original /usr to the new filesystem and install a link.  Third choice, and you have to be even more CAREFUL, understanding what's needed during the boot process, etc -- create a new filesystem outside vg00 and move the stuff there -- say, /usr/lib/X11.  &lt;BR /&gt;&lt;BR /&gt;Your mileage may vary.  These are kind of desperate tactics.&lt;BR /&gt;&lt;BR /&gt;Mic</description>
      <pubDate>Tue, 08 Mar 2005 00:14:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cleaning-up-usr-filesystem/m-p/3499456#M216333</guid>
      <dc:creator>Mic V.</dc:creator>
      <dc:date>2005-03-08T00:14:01Z</dc:date>
    </item>
    <item>
      <title>Re: Cleaning up /usr filesystem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cleaning-up-usr-filesystem/m-p/3499457#M216334</link>
      <description>Thanks to everyone...I've read it all and I've succumbed to the fact that I just need to "bite the bullet" and give it some more space.  At this point it seems like the best thing to do.  This is an old E-series server that we won't be (nor do I think we even can any longer) buying additional space for it.  It only houses one application that's going away soon....so it's really a temporary fix that I need to implement.  &lt;BR /&gt;Thanks again...&lt;BR /&gt;Chet</description>
      <pubDate>Tue, 08 Mar 2005 18:29:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cleaning-up-usr-filesystem/m-p/3499457#M216334</guid>
      <dc:creator>Chet Woods</dc:creator>
      <dc:date>2005-03-08T18:29:37Z</dc:date>
    </item>
    <item>
      <title>Re: Cleaning up /usr filesystem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cleaning-up-usr-filesystem/m-p/3499458#M216335</link>
      <description>Chet -- my peers may or may not agree, but if it's not growing, you may be able to get by with doing nothing.  You have to watch and see, if you have the luxury of waiting to see -- you didn't mention how critical the app was.  It kind of depends on the impact of running out of space...&lt;BR /&gt;&lt;BR /&gt;Mic</description>
      <pubDate>Tue, 08 Mar 2005 19:03:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cleaning-up-usr-filesystem/m-p/3499458#M216335</guid>
      <dc:creator>Mic V.</dc:creator>
      <dc:date>2005-03-08T19:03:31Z</dc:date>
    </item>
    <item>
      <title>Re: Cleaning up /usr filesystem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cleaning-up-usr-filesystem/m-p/3499459#M216336</link>
      <description>Hey!  Are you already blaming me for things ;)  &lt;BR /&gt;&lt;BR /&gt;Michelle</description>
      <pubDate>Wed, 09 Mar 2005 09:21:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cleaning-up-usr-filesystem/m-p/3499459#M216336</guid>
      <dc:creator>Michelle Barton</dc:creator>
      <dc:date>2005-03-09T09:21:21Z</dc:date>
    </item>
  </channel>
</rss>

