- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: usr contrib src cleanup
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-01-2011 09:57 AM
тАО02-01-2011 09:57 AM
I've somewhat inherited the task of system administration for an old HP-UX server. Unfortunately, the requests made of it are outstripping the resources it was originally built with...specifically, /usr just barely shy of completely full and I need to do some cleanup.
In /usr/contrib/src are the following files:
/usr/contrib/src # ls
gzip.info gzip135.tar.gz perl.info scsi_io.c
gzip124.tar.gz perl.copyright perl5.tar.gz
Is there any reason why the server would need/access these tar.gz files? I wish to move them elsewhere to get through the current crunch, but don't want to impact required processes. For what it's worth, those files have date stamps back as far as 2000, 2004 and 2006.
Thanks!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-01-2011 10:41 AM
тАО02-01-2011 10:41 AM
SolutionPete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-01-2011 01:09 PM
тАО02-01-2011 01:09 PM
Re: usr contrib src cleanup
You can always do that. And leave a symbolic link to the new location. Or just one to the new directory.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-01-2011 01:34 PM
тАО02-01-2011 01:34 PM
Re: usr contrib src cleanup
I would search for the unzipped sources too, they are probably also somewhere in your directory tree.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-01-2011 01:55 PM
тАО02-01-2011 01:55 PM
Re: usr contrib src cleanup
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-01-2011 06:46 PM
тАО02-01-2011 06:46 PM
Re: usr contrib src cleanup
cd /usr
du -sk * .??* | sort -n
This will show you the size of each subdirectory in kilobytes sorted from smallest to largest.
You can repeat this process in each large subdirectory, drilling down to the largest disk space hogs in the filesystem. If you're lucky, you'll find the previous sysadmin's iTunes library and be able to just nuke it, freeing up 10%.
Be mindful of cross-filesystem boundaries - if you have a separate volume mounted as /usr/local, for instance, you can disregard that piece while you're trying to find stuff to clean up on /usr.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-02-2011 09:17 AM
тАО02-02-2011 09:17 AM
Re: usr contrib src cleanup
Now since you are cleaning up, the whole point arises do you need all the "unsupported contributed software" in the filesystem /usr?? And just one thing (outta topic) but since you were mentioning /usr/contrib... it is the target for many "bomb scripts" like mroe. In case you are a security administrator as well, keep an eye on those.
Regards
Ismail Azad