- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- wtmp convert native mode to text format
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
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
тАО08-21-2008 07:12 AM
тАО08-21-2008 07:12 AM
wtmp convert native mode to text format
How HP unix can send the sulog and shutdownlog out to Windows Server for our software to read. Secondly, how can we convert the wtmp and btmp from native mode to text format and send out to Windows Server.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-21-2008 07:42 AM
тАО08-21-2008 07:42 AM
Re: wtmp convert native mode to text format
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-21-2008 07:43 AM
тАО08-21-2008 07:43 AM
Re: wtmp convert native mode to text format
last > read_wtmp
HTH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-21-2008 08:22 AM
тАО08-21-2008 08:22 AM
Re: wtmp convert native mode to text format
For transforming either the 'wtmp' or 'btmp' *binary* files to ASCII text ones, do:
# /usr/sbin/acct/fwtmp < /var/adm/wtmp > /tmp/wtmp
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-25-2008 07:53 PM
тАО08-25-2008 07:53 PM
Re: wtmp convert native mode to text format
Do you had the command line for fwtmp.
Regards
Chui
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-25-2008 09:57 PM
тАО08-25-2008 09:57 PM
Re: wtmp convert native mode to text format
JRF showed you how to use fwtmp. You can also process the wtmps files with -X:
/usr/sbin/acct/fwtmp -X < /var/adm/wtmps > /tmp/wtmps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-14-2008 08:00 PM
тАО09-14-2008 08:00 PM
Re: wtmp convert native mode to text format
Do you had an agent or self written script to send them to our software or have a program to grab them automatically.
Regards
Chui
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-14-2008 09:29 PM
тАО09-14-2008 09:29 PM
Re: wtmp convert native mode to text format
You can take output like this
last >/tmp/last.out
or
lastb >/tmp/lastb.out
Suraj