- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Safe to delete these files
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
06-22-2004 05:04 AM
06-22-2004 05:04 AM
Safe to delete these files
Just trying to do a little house cleaning.
I don't suppose that there is a utility that can check for files that are safe to delete is there?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2004 05:21 AM
06-22-2004 05:21 AM
Re: Safe to delete these files
I have neither a /var/adm/sw/apps nor a /var/spool/adm/sw/apps directory on 11.0 or on 11i. I think someone must have created those for some special purpose. Without knowing what that purpose was, it's hard to say whether it's safe to remove them, but I can say they're not standard.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2004 05:26 AM
06-22-2004 05:26 AM
Re: Safe to delete these files
To see if it's installed try: man cleanup
Also take a look at /var/tmp to see if garbage has built up in there. I have one system runs an app that just doesn't like to clean up after itself.
Jim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2004 06:02 AM
06-22-2004 06:02 AM
Re: Safe to delete these files
Looks like someone used them as depots before.
Look at the filenames and see if you are going to use in future. If these directories have files other than tar balls and *.depots, then run 'swlist -l depot' to see if they have any depots registered.
These are not system directories. So, if you are sure you don't use them, then back them up and then move/delete them.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2004 06:15 AM
06-22-2004 06:15 AM
Re: Safe to delete these files
you check first whether they were used as depot and still in use.
# swlist -l depot
If they were simply used as backup dir or a location to copy them and now if you don't need them then procedd with deleting them.
Hope that helps.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2004 06:22 AM
06-22-2004 06:22 AM
Re: Safe to delete these files
After successful backup you may surely delete almost all files 8))
Seriously, the directories don't seems to be critical, but you can ensure this by the following command:
swlist -l file|egrep "/var/adm/sw/apps|/var/spool/adm/sw/apps"
This will show you what applications were installed in these directories.
HTH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2004 06:29 AM
06-22-2004 06:29 AM
Re: Safe to delete these files
I issued the 'swlist -l file|egrep' command. It returned nothing.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2004 06:50 AM
06-22-2004 06:50 AM
Re: Safe to delete these files
In this case I'd recommend you to backup the directories and remove them.
If you have enough disk space, in addition to a tape backup you can store the directories as disk files somewhere for fast restore if needed
tar cf - /var/adm/sw/apps |gzip > /somewhere/admapps.tar.gz
tar cf - /var/spool/adm/sw/apps |gzip > /somewhere/spoolapps.tar.gz
HTH