- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Size of /opt filesystem
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
Forums
Discussions
Discussions
Discussions
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
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-24-2003 01:53 AM
02-24-2003 01:53 AM
Size of /opt filesystem
Does anyone know of log files or other non-essential files that could be removed from /opt to reduce the size ?
All help appreciated and rewarded as usual.
Simon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2003 01:57 AM
02-24-2003 01:57 AM
Re: Size of /opt filesystem
Share and Enjoy! Ian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2003 02:02 AM
02-24-2003 02:02 AM
Re: Size of /opt filesystem
cd to /opt
then do du -sk *
It will show which dir is using what amonut of disk space. Then you can see which one you can get rid of. Opt normally does not grow as much, but du -sk * will give you some hint what has grown by how much..
hope this helps..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2003 02:03 AM
02-24-2003 02:03 AM
Re: Size of /opt filesystem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2003 02:06 AM
02-24-2003 02:06 AM
Re: Size of /opt filesystem
How about a search on /opt
# find /opt -name *log* -exec ls {} \;
or
# find /opt -size +1000 -exec ls \;
Robert-Jan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2003 02:08 AM
02-24-2003 02:08 AM
Re: Size of /opt filesystem
There is no log files on the /opt (normaly this files is located under the /var/opt directory. But there is perhaps some software in the /opt you can remove if you not use it (for example web servers, apache or ns_fasttrack depending on the HP-UX release).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2003 02:09 AM
02-24-2003 02:09 AM
Re: Size of /opt filesystem
cd /opt
du -sk * | sort -n
And at the bottom you will see the largest dirs, such as langtools (cant remove), perf (you could swremove perfview/measureware or move this dir elsewhere and replace with a link) or perhaps you have gcc (compiler) which you could install to a different dir.
But, what you should really do is extend /opt (if you have onlinejfs its easy) or else do it in single user mode, or identify what software is on /opt that you can swremove to free up some space.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2003 02:14 AM
02-24-2003 02:14 AM
Re: Size of /opt filesystem
This are some threads have the same issue
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x8095e7e60861d511abcd0090277a778c,00.html
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x0573dfe5920fd5118fef0090279cd0f9,00.html
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x1ae4f841489fd4118fef0090279cd0f9,00.html
Thanks & Regards
SRi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2003 03:24 AM
02-24-2003 03:24 AM
Re: Size of /opt filesystem
You could try running swremove interactively, and examine all the filesets to determine if there are any un-needed ones that were loaded during a default installation.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2003 06:09 AM
02-24-2003 06:09 AM
Re: Size of /opt filesystem
Regards,
Trond