- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- clean out patch logs
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
09-05-2002 05:07 AM
09-05-2002 05:07 AM
clean out patch logs
What other things can be cleaned out of /var?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2002 05:09 AM
09-05-2002 05:09 AM
Re: clean out patch logs
What you need is cleanup
See man claenup.
Paula
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2002 05:09 AM
09-05-2002 05:09 AM
Re: clean out patch logs
cleanup, you can cleanup -p first, then do the real cleanup, man for details.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2002 05:19 AM
09-05-2002 05:19 AM
Re: clean out patch logs
The only safe way to manage files in '/var/adm/sw' is with the 'cleanup' utility. This will trim the SD logs, too.
'cleanup' and allows prior versions of patches to be safely removed while retaining a level of old versions which could be reinstated over the current one.
Given the name of the directory you used, it appears that you are running 11.x. Thus you can regain space and trim logs with:
# cleanup -c 1
Have a look at the man pages for more information.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2002 05:38 AM
09-05-2002 05:38 AM
Re: clean out patch logs
Any comment on using swmodify mentioned in the cleanup man?
Thanks for your input.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2002 06:10 AM
09-05-2002 06:10 AM
Re: clean out patch logs
on 10.20
cleanup -F
on 11.00
cleanup -p
cleanup -i
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2002 06:15 AM
09-05-2002 06:15 AM
Re: clean out patch logs
There is less chance of causing problems if you just use cleanup.
Besides, IMHO, if /var/adm/sw/save is getting *THAT* big, maybe it is time to upgrade. :-)
HTH
Marty
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2002 12:03 PM
09-07-2002 12:03 PM
Re: clean out patch logs
One thing you could do is run du -ks against the directories in save to see which patches are large. Then for patches for things that could easily be reloaded and not risking the health of the OS (i.e. core software, kernel patches, etc.) then you could run the following:
swmodify -x patch_commit=true PHSS_xxxxx
Once again - be VERY cautious about this as you could not back-off these patches once you do them. Of course dumping patches for layered products that you could remove/reload with no business impact is certainly reasonably safe thing to do in a pinch.