- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Clean up /var/sam directory?
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
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
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
06-28-2013 09:47 AM
06-28-2013 09:47 AM
Looking at my directories on a system that was upgraded from HP-UX 11.23 to 11.31 and noticed that /var seemed to have a lot of stuff in it. Looking closer with #du -axk | sort -rn | more I see this:
10164120 .
6864512 ./sam
5430008 ./sam/ADSP_BBAa15931
2523816 ./adm
1650336 ./adm/sw
1379712 ./sam/ADSP_BBAa14792
1241432 ./adm/sw/save
656800 ./opt
510144 ./adm/wtmps
330488 ./adm/syslog
287504 ./adm/syslog/mail.log
240048 ./adm/sw/save_custom
212992 ./opt/netscape/server7
212992 ./opt/netscape
200120 ./adm/sw/save_custom/PHCO_39498/jre_old.tar
200120 ./adm/sw/save_custom/PHCO_39498
146656 ./adm/sw/products
132608 ./adm/sw/save/PHSS_40799
119504 ./opt/sfmdb/pgsql
119504 ./opt/sfmdb
106152 ./opt/netscape/server7/bin
104272 ./opt/wbem
96064 ./adm/sw/save/PHSS_39650
Can the ADSP* files be cleaned up? Any other suggestions for cleaning up /var?
Solved! Go to Solution.
- Tags:
- SAM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2013 05:07 AM
08-02-2013 05:07 AM
SolutionHi Paul,
I would suggest the following:
- clean up wtmps (bzip2 -k /var/adm/wtmps ; > /var/adm/wtmps)
- what about ./adm/sw/save_custom/PHCO_39498/jre_old.tar is it redundant?
- clean up mail.log and syslog
- ADSP_BBAa15931 sounds like some sw bundle name. If it is older than the last reboot, I would compress it. If not, it depents ...
- run cleanup to remove old patchbackups
I hope, this helps.
Bye
ralf