- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- how to reduce size or trim wtmp on HPUX
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
02-21-2007 02:39 AM
02-21-2007 02:39 AM
how to reduce size or trim wtmp on HPUX
will just "cat /dev/null > /var/adm/wtmp" works here?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2007 02:48 AM
02-21-2007 02:48 AM
Re: how to reduce size or trim wtmp on HPUX
That should work fine or you can just do
> /var/adm/wtmp
OR
you can even do it through SAM if you prefer, in routine tasks.
Take your pick.
Regards,
Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2007 02:48 AM
02-21-2007 02:48 AM
Re: how to reduce size or trim wtmp on HPUX
please see Steve Steels answer here:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=69415
Other useful threads:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=822770
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=215793
Please also read:
http://forums1.itrc.hp.com/service/forums/helptips.do?#33 on how to reward any useful answers given to your questions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2007 02:53 AM
02-21-2007 02:53 AM
Re: how to reduce size or trim wtmp on HPUX
1. zip the file to save contents for furure
2. cat /dev/null > /var/adm/wtmp (this will empty out wtmp)
By putting null contents into wtmp, you will not have to delete/re-create file, not deleting wtmp will also save you from permission isssue you may have later.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2007 02:53 AM
02-21-2007 02:53 AM
Re: how to reduce size or trim wtmp on HPUX
1. zip the file to save contents for furure
2. cat /dev/null > /var/adm/wtmp (this will empty out wtmp)
By putting null contents into wtmp, you will not have to delete/re-create file, not deleting wtmp will also save you from permission isssues you may have later.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2007 03:08 AM
02-21-2007 03:08 AM