- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - HP-UX
- >
- General
- >
- Clean up /var/sam directory?
-
- Forums
-
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
- HPE Blog, Austria, Germany & Switzerland
- Blog HPE, France
- HPE Blog, Italy
- HPE Blog, Japan
- HPE Blog, Middle East
- HPE Blog, Russia
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
-
Blogs
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Blog, Latin America
- HPE Blog, Middle East
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
-
Information
- Community
- Welcome
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Tips and Tricks
- Resources
- Announcements
- Email us
- Feedback
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Aruba Airheads Community
- Enterprise.nxt
- HPE Dev Community
- Cloud28+ Community
- Marketplace
-
Forums
-
Blogs
-
Information
-
English
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2021 Hewlett Packard Enterprise Development LP