- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- /var/adm/sw/save - cleanup HPUX 11.0
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
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
тАО03-30-2004 12:34 AM
тАО03-30-2004 12:34 AM
Can anyone tell me if this can be cleaned up, or any other opportunities to free space in /var? i.e. log files, etc.
Thanks!!
Solved! Go to Solution.
- Tags:
- cleanup
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-30-2004 12:37 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-30-2004 12:39 AM
тАО03-30-2004 12:39 AM
Re: /var/adm/sw/save - cleanup HPUX 11.0
These files can be cleaned using the cleanup command. If you want to remove patches that were superceded once or more, use the following command to check how much space you'll save:
cleanup -p -c 1
Read the man page for more details.
Remember, these files are here to allow you to fall-back if required. If you're sure you won't need to roll these back, go ahead. Otherwise, use more caution!
HTH,
Robert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-30-2004 12:46 AM
тАО03-30-2004 12:46 AM
Re: /var/adm/sw/save - cleanup HPUX 11.0
cd /var/adm/sw/save
swmodify -x patch_commit=true *
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-30-2004 12:54 AM
тАО03-30-2004 12:54 AM
Re: /var/adm/sw/save - cleanup HPUX 11.0
> /var/adm/btmp (note use of >, not rm)
> /var/adm/cron/OLDlog
> /var/adm/cron/log
> /var/adm/lp/log
> /var/adm/sulog
> /var/adm/syslog/mail.log
> /var/adm/syslog/OLDsyslog.log
> /var/adm/syslog/syslog.log (check for error messages before nulling syslog)
> /var/adm/wtmp
Mark Syder (like the drink but spelt different)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-30-2004 10:06 PM
тАО03-30-2004 10:06 PM
Re: /var/adm/sw/save - cleanup HPUX 11.0
You can find out large files using
find /var -xdev -size +10000000c -exec ll {} \;
Also, you can look for few log files in /var/adm/sw.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-31-2004 02:30 AM
тАО03-31-2004 02:30 AM
Re: /var/adm/sw/save - cleanup HPUX 11.0
Great minds think alike !
I have just completed a question on the forum and received feedback on a very similar matter.
Have a look at the following post :-
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=533406
It may have some other useful pointers.
Keith