- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- /var cleanup
Operating System - HP-UX
1753947
Members
7461
Online
108811
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
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
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
тАО02-22-2010 02:19 AM
тАО02-22-2010 02:19 AM
/var cleanup
Hi
Is there anything that I need to take into consideration before I execute the following command : "cleanup -c 1" to housekeep /var?
Regards
Feng Lin
Is there anything that I need to take into consideration before I execute the following command : "cleanup -c 1" to housekeep /var?
Regards
Feng Lin
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-22-2010 02:32 AM
тАО02-22-2010 02:32 AM
Re: /var cleanup
not realy.. also consider
# clenup -c2
# clenup -c2
Problems are common to all, but attitude makes the difference
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-22-2010 02:37 AM
тАО02-22-2010 02:37 AM
Re: /var cleanup
you also . check, "Syslog File" using SAM
SAM-Routine Tasks->System Log Files-> Select _Logs->Actions ->Trim ->To the Recommended Size
All Check:-
/var/mail/ -> you also clear the root"user accounts mails,if you need those mail, you also consider, mv those mails some other file systems.if you realy need it
SAM-Routine Tasks->System Log Files-> Select _Logs->Actions ->Trim ->To the Recommended Size
All Check:-
/var/mail/ -> you also clear the root"user accounts mails,if you need those mail, you also consider, mv those mails some other file systems.if you realy need it
Problems are common to all, but attitude makes the difference
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-22-2010 05:22 AM
тАО02-22-2010 05:22 AM
Re: /var cleanup
There are alot of logs written to /var.
Sometimes it is good to see what you can move out to it's own mountpoint, such as /var/opt/omni for example, to keep /var from filling up too fast or locking things up. Check your system to see if this might help you.
Make it a practice to clean system logfiles on a regular basis.
The cleanup command will commit older patches, meaning you can not go out and remove them once you run this command. It is very handy to gain space on /var. But again, using the -c 1 or -c 2 is beneficial, since it will allow you to remove any current patches should you run into an issue.
Regards,
Rita
Sometimes it is good to see what you can move out to it's own mountpoint, such as /var/opt/omni for example, to keep /var from filling up too fast or locking things up. Check your system to see if this might help you.
Make it a practice to clean system logfiles on a regular basis.
The cleanup command will commit older patches, meaning you can not go out and remove them once you run this command. It is very handy to gain space on /var. But again, using the -c 1 or -c 2 is beneficial, since it will allow you to remove any current patches should you run into an issue.
Regards,
Rita
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP