- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - HP-UX
- >
- System Administration
- >
- /var/adm/wtmps and /var/adm/wtmp
-
-
Categories
- Topics
- Hybrid IT with Cloud
- Mobile & IoT
- IT for Data & Analytics
- Transformation
- Strategy and Technology
- Products
- Cloud
- Integrated Systems
- Networking
- Servers and Operating Systems
- Services
- Storage
- Company
- Events
- Partner Solutions and Certifications
- Welcome
- Welcome
- Announcements
- Tips and Tricks
- Feedback
-
Blogs
- Alliances
- Around the Storage Block
- Behind the scenes @ Labs
- Converged Data Center Infrastructure
- Digital Transformation
- Grounded in the Cloud
- HPE Careers
- HPE Storage Tech Insiders
- Infrastructure Insights
- Inspiring Progress
- Internet of Things (IoT)
- My Learning Certification
- Networking
- OEM Solutions
- Servers: The Right Compute
- Telecom IQ
- Transforming IT
-
Quick Links
- Community
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Contact
- Email us
- Tell us what you think
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Enterprise.nxt
- Marketplace
- Aruba Airheads Community
-
Categories
-
Forums
-
Blogs
-
InformationEnglish
/var/adm/wtmps and /var/adm/wtmp
SOLVED- 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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
04-22-2009 09:34 AM
04-22-2009 09:34 AM
It appears that no new logins have been logged since Dec 2007. /var/adm/wtmps file is huge. I'm assuming its size is the problem.
-rw------- 1 root other 0 Apr 21 14:12 btmp
-rw------- 1 root other 1053726540 Apr 22 10:23 btmps
-rw-rw-r-- 1 adm adm 240 Apr 22 09:11 wtmp
-rw-rw-r-- 1 adm adm 2147483647 Dec 12 2007 wtmps
-rw-r--r-- 1 root sys 280 Feb 8 01:39 wtmpx
Can I fix by just cat /dev/null > /var/adm/wtmps?
What is the /var/adm/wtmp file?
What is the best way to archive these files - just a copy command and then tar up the copy?
Can I assume whatever you say is also true for btmps and btmp respectively?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
04-22-2009 09:40 AM
04-22-2009 09:40 AM
Re: /var/adm/wtmps and /var/adm/wtmp
Re: /var/adm/wtmps and /var/adm/wtmp
> /var/adm/wtmps
Save recent entries first if you wish.
A quick perusal of the man page (man 4 wtmp) will identify the usage for these files.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
04-22-2009 09:40 AM
04-22-2009 09:40 AM
Re: /var/adm/wtmps and /var/adm/wtmp
Re: /var/adm/wtmps and /var/adm/wtmp
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
04-22-2009 09:48 AM
04-22-2009 09:48 AM
Re: /var/adm/wtmps and /var/adm/wtmp
Re: /var/adm/wtmps and /var/adm/wtmp
I have read the man pages for wtmps and btmps and understand their usage.
I was curious about the wtmp and btmp (no s suffix) as the entry in the man page seems to say that these are obsolete. But I have them on the system and they have recent dates and tiny sizes. Hence my question about their use when wtmps and btmps seem to be the actual logs.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
04-22-2009 10:12 AM
04-22-2009 10:12 AM
SolutionTry this thread:
http://forums13.itrc.hp.com/service/forums/questionanswer.do?admit=109447627+1240423854272+28353475&threadId=1140449
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
04-22-2009 10:43 AM
04-22-2009 10:43 AM
Re: /var/adm/wtmps and /var/adm/wtmp
Re: /var/adm/wtmps and /var/adm/wtmp
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2018 Hewlett Packard Enterprise Development LP