- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- need to clean up /var
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
07-11-2003 05:05 AM
07-11-2003 05:05 AM
/var/stm/logs/sys>ll
total 1925360
985368532 Mar 25 11:07 activity_log
343728 Mar 25 11:07 cclogd_activity_log
1384 Mar 25 11:07 diaglogd_activity_log
1576 Mar 25 11:07 memlogd_activity_log
42324 Mar 25 11:07 scan_hw_log
Is there anything else what can be cleaned in /var?
How about files in /var/adm/sw/save/
Thank you very much
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2003 05:08 AM
07-11-2003 05:08 AM
Re: need to clean up /var
What OS
look at man cleanup and swmodify
Also
sam routine tasks where logs can be cleaned up
Steve Steel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2003 05:10 AM
07-11-2003 05:10 AM
Re: need to clean up /var
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2003 05:11 AM
07-11-2003 05:11 AM
SolutionDon't manage anything in ''var/adm/sw' except with the 'cleanup' command!
# cleanup -c 1
...will remove superseded patches but leave one level in the event that you want to rollback to a predecessor patch. The SD logs will also be trimmed. Using 'cleanup' can return considerable filesystem space to '/var', particularly if you have never done it!
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2003 05:12 AM
07-11-2003 05:12 AM
Re: need to clean up /var
Anything in /var/tmp is a candidate for the trash bin. Use SAM to trim log files (under "Routine Tasks", I believe). Use the find command to search out core files (find /var -name core -exec rm {} \;). Use the "du -sk /var/* |sort -n" command to find the largest directories under /var and drill down into them with the same du command to find where all your space is being consumed.
Do *not* remove anything under /var/adm/sw! Use the cleanup command (cleanup -c 1) to commit old patches instead.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2003 05:21 AM
07-11-2003 05:21 AM
Re: need to clean up /var
Soap and warm water only, do not use anything abrasive.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2003 05:29 AM
07-11-2003 05:29 AM
Re: need to clean up /var
cat /dev/null > log_file_name
Pete
Pete