- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to truncate the wtmp file
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
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
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-24-2012 12:27 PM
04-24-2012 12:27 PM
Hi everyone,
I am working on my slow SSH connection. After reading many posts, it appears that it could be the wtmp file. Is using the runacct command the best way to truncate this file.
Any help would be greatly appreciated.
Thanks!
Tim
Solved! Go to Solution.
- Tags:
- wtmps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2012 03:59 PM - edited 04-24-2012 04:01 PM
04-24-2012 03:59 PM - edited 04-24-2012 04:01 PM
Re: How to truncate the wtmp file
You can truncate by just using the shell:
> /var/adm/wtmp
> /var/adm/wtmps
How large are your wtmp files?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2012 12:39 PM
04-25-2012 12:39 PM
Re: How to truncate the wtmp file
Hi Dennis,
Thanks for the reply!
the size of the /var/adm/wtmp is 173280....
I don't think it is the too large but I have to start somewhere in trying to figure out why this is so slow....
I will try clearing them and see what happens. Can I do this with users on the server?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2012 12:41 PM
04-25-2012 12:41 PM
Re: How to truncate the wtmp file
Ok I spoke to soon!
The size of /var/adm/wtmps is 2193489044.... This one is very large...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2012 06:47 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2012 01:51 PM
04-26-2012 01:51 PM
Re: How to truncate the wtmp file
No reason to keep the information around...
Thanks for all your help Dennis!