HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: adb datestamp conversion under 11.23
Operating System - HP-UX
1831503
Members
3252
Online
110025
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
12-27-2005 09:14 AM
12-27-2005 09:14 AM
I have not been able to make heads or tails of the man page for adb, so I need to go ahead and ask here:
I have found code here in the forums to determine the last (or next) password change date. For example, under 11.11:
echo 0d1130437460=Y | adb
returns:
2005 Oct 27 13:24:20
Under 11.23 the code fails with the message:
adb: warning: Unrecognized format character - 'Y'.
Does anyone know the 'new' format to make this work under 11.23?
Scott
I have found code here in the forums to determine the last (or next) password change date. For example, under 11.11:
echo 0d1130437460=Y | adb
returns:
2005 Oct 27 13:24:20
Under 11.23 the code fails with the message:
adb: warning: Unrecognized format character - 'Y'.
Does anyone know the 'new' format to make this work under 11.23?
Scott
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2005 09:27 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2005 09:33 AM
12-27-2005 09:33 AM
Re: adb datestamp conversion under 11.23
James -
It looks like that works great on both 11.11 and 11.23.
Out of curiosity I'd like to see if anyone has the 'adb' answer.
BTW, this is the 3rd or 4th time I've needed to modify scripts using adb as we implement 11.23.
Scott
It looks like that works great on both 11.11 and 11.23.
Out of curiosity I'd like to see if anyone has the 'adb' answer.
BTW, this is the 3rd or 4th time I've needed to modify scripts using adb as we implement 11.23.
Scott
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2005 10:12 AM
12-27-2005 10:12 AM
Re: adb datestamp conversion under 11.23
Hi (again) Scott:
It appears that with 11.23 'adb' has undergone some extensive work. There is now a "normal" ('-n') mode for Itanium systems and an "old" ('-o') mode for backward compatability with PA-RISC.
Apparently you can use the '-o' (old) mode on Itanium systems to obtain the "old" behavior.
Too, if I read the manpages correctly, you should be able to use a lowercase "y" in lieu of an uppercase "Y" to obtain the date conversion.
Have a look here:
http://www.docs.hp.com/en/B2355-60105/adb.1.html
BTW, I *still* prefer perl! :-))
Regards!
...JRF...
It appears that with 11.23 'adb' has undergone some extensive work. There is now a "normal" ('-n') mode for Itanium systems and an "old" ('-o') mode for backward compatability with PA-RISC.
Apparently you can use the '-o' (old) mode on Itanium systems to obtain the "old" behavior.
Too, if I read the manpages correctly, you should be able to use a lowercase "y" in lieu of an uppercase "Y" to obtain the date conversion.
Have a look here:
http://www.docs.hp.com/en/B2355-60105/adb.1.html
BTW, I *still* prefer perl! :-))
Regards!
...JRF...
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP