- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- var cleanups
Categories
Company
Local Language
Forums
Discussions
- Integrity Servers
- Server Clustering
- HPE NonStop Compute
- HPE Apollo Systems
- High Performance Computing
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Knowledge Base
Forums
Discussions
- Cloud Mentoring and Education
- Software - General
- HPE OneView
- HPE Ezmeral Software platform
- HPE OpsRamp Software
Knowledge Base
Discussions
Forums
Discussions
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
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
04-02-2002 09:07 PM
04-02-2002 09:07 PM
var cleanups
Let us refresh once again. What are the files
we can safely remove from the var directory.
except /var/tmp.
thanx in advance
srini
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2002 09:27 PM
04-02-2002 09:27 PM
Re: var cleanups
The best place to look for files to be trimmed, i.e. log files can be found in sam.
sam --> Routine Tasks --> System Log Files
Also file in /var/tombstones, keep the last five, the rest can be removed.
-Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2002 09:33 PM
04-02-2002 09:33 PM
Re: var cleanups
- if don't want to keep panic information can clear files in
/var/adm/crash
- use sam to trim logfile.
- use cleanup -n -c 1 to clear old saved patches.
- clear request in print queue /var/spool/lp/request by cancel hung print jobs.
- clear mail box in /var/mail/ by delete old mail.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2002 09:36 PM
04-02-2002 09:36 PM
Re: var cleanups
Do a 'man cleanup' for more information.
DO NOT EVER remove anything from /var/adm/sw manually via the rm command. You do that and you installed products database will be screwed and a restore will be in order so that you can actually install applications and patches again. Not fun!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2002 05:58 AM
04-03-2002 05:58 AM
Re: var cleanups
I normally clean /var/tmp of files older than 30 days, use sam to trim the syslog at /var/adm/syslog/syslog.log, clean any old print jobs out of /var/spool/lp, clean old cron stuff out of /var/spool/cron/tmp, and of course any /var/adm/crash files not needed.