- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- cleanup /var/adm/sw/save
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-01-2005 05:58 PM
09-01-2005 05:58 PM
cleanup /var/adm/sw/save
### Cleanup program started at 09/02/05 13:56:44
usage: /usr/sbin/cleanup [-p|-n] -i
/usr/sbin/cleanup [-p|-n] -d
-p : Preview Mode - Report patches that should be removed
but do not actually remove them.
-n : Notify Mode - Prompt the user before removing any
patches.
-i : IPD cleanup - Remove 10.X patch information from the
Installed Product Database and the
/var/adm/sw/patch directory that remain
after a 10.X-to-11.X update.
-d : Depot cleanup - Remove patches from the depot that have
been superseded by newer patches also
available in the same depot.
### Cleanup program completed at 09/02/05 13:56:44
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2005 06:05 PM
09-01-2005 06:05 PM
Re: cleanup /var/adm/sw/save
-c
Commit patches superseded at least
This option is a front-end to the 'patch_commit'
option of swmodify(1M) that provides an easier
interface to commit multiple patches at once.
Use swmodify with patch_commit.
hth.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2005 06:25 PM
09-01-2005 06:25 PM
Re: cleanup /var/adm/sw/save
Another approach to this problem is to find the biggest space offender
du /var -x -ka | sort -nr | more
This will provide a list of files in size ascending order.
Another interesting guide which may be old, but the explanation of how committing patches affects the system still holds true is found at:
http://docs.hp.com/hpux/pdf/5967-3577.pdf
hope this helps too!
regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2005 01:22 AM
09-02-2005 01:22 AM
Re: cleanup /var/adm/sw/save
cd /var/adm/sw/save
swmodify -x patch_commit=true *
That will commit all patches...
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2005 01:29 AM
09-02-2005 01:29 AM
Re: cleanup /var/adm/sw/save
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2005 08:19 PM
09-04-2005 08:19 PM
Re: cleanup /var/adm/sw/save
#cleanup -c 1
OR
# swmodify -x patch_commit=true \*\.*
Good Luck,