- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: /var housekeeping
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
Discussions
Discussions
Forums
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
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
тАО02-02-2010 10:56 PM
тАО02-02-2010 10:56 PM
I am doing housekeeping for the /var filesystem.
Can i remove the older patches which are under the /var/patch directory?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-02-2010 11:00 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-02-2010 11:04 PM
тАО02-02-2010 11:04 PM
Re: /var housekeeping
SAM->Routine Tasks->System Log Files->Select Logs->Actions-Trim -To the Recommended Size
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-02-2010 11:27 PM
тАО02-02-2010 11:27 PM
Re: /var housekeeping
You can use the below command.
# swa clean {usercache | swcache | all}
When the swa command runs, it produces cache files for its use. Run swa clean to free up disk
space after your swa session is complete.
Please find the below link to clarrify more.
http://docs.hp.com/en/5992-5125/5992-5125.pdf
Regards,
Prasanth Thomas.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-03-2010 08:05 AM
тАО02-03-2010 08:05 AM
Re: /var housekeeping
better what u do is stop the auditing logs if not necessary if ur system is trusted.
vi /etc/rc.config.d/auditing
set the value to zero
or
u have to trim
for example
check with du -sk* and most probably u will have lot more in mail.
cd /var/mail
ll
oracle
root
#> oracle
#> root
which sets to zero
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-03-2010 05:33 PM
тАО02-03-2010 05:33 PM
Re: /var housekeeping
use take backup of ur server make sure /var/adm/sw is backed up, its necessary if later you need to remove sm patch (it smtimes kills).
then..
#cleanup -c 2 (would remove patch superceded twice)
if you need more space
#cleanup -c 1 (would remove patch superceded once)
BR,
Kapil+
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-03-2010 06:07 PM
тАО02-03-2010 06:07 PM
Re: /var housekeeping
for futher assistance
can u post the output of du -sk* from var.
--------------
REGARDS
MC
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-03-2010 06:36 PM
тАО02-03-2010 06:36 PM
Re: /var housekeeping
/var/adm
http://forums13.itrc.hp.com/service/forums/questionanswer.do?threadId=1400613
I think this might help u a little
regards
mc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-03-2010 06:42 PM
тАО02-03-2010 06:42 PM
Re: /var housekeeping
If i definitely needs more space then i will follow your advices.
Currently i have nullified the mail file.
Now the usage is 85%