- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- /var/adm/wtmps 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
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
04-18-2008 09:14 AM
04-18-2008 09:14 AM
/var/adm/wtmps file
Neither fwtmp or who works on the wtmps file on 11.23 systems. The last command provides the date but not the year. It there a command that extracts the year also??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2008 09:29 AM
04-18-2008 09:29 AM
Re: /var/adm/wtmps file
# /usr/sbin/acct/fwtmp < /var/adm/wtmp
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2008 05:38 PM
04-18-2008 05:38 PM
Re: /var/adm/wtmps file
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1156360
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2008 08:04 PM
04-18-2008 08:04 PM
Re: /var/adm/wtmps file
U can see also below thread:-
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=943509
Thanks-Yaqub
I am a Customer Advocate!!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2008 01:09 AM
04-19-2008 01:09 AM
Re: /var/adm/wtmps file
/usr/sbin/acct/fwtmp < /var/adm/wtmps
does not clearly provide the WAY you WANT. May be there is a patch to fix this issue.
I do not have an old file which goes back more than a year. If you have, you may try like this:
/usr/sbin/acct/fwtmp < /var/adm/wtmps > /tmp/ltmp1
(redirecting the wtmps file to a filed ltmp1 in /tmp dir)
last -RX < /tmp/ltmp1
Also, you can check the -W option of who command (-W option is used to examine the /var/adm/wtmps file)
who -RuW |more