- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Decoding hex decimal address
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
06-06-2004 11:56 PM
06-06-2004 11:56 PM
TIA
Vishwanath
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2004 12:00 AM
06-07-2004 12:00 AM
Re: Decoding hex decimal address
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2004 12:13 AM
06-07-2004 12:13 AM
Re: Decoding hex decimal address
Open your windows calculator, scientific view, set into Hex mode, paste 1f5d0400 and change to Dec mode. That's all.
You must obtain 526189568.
Rgds.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2004 12:20 AM
06-07-2004 12:20 AM
Re: Decoding hex decimal address
(1x16^7+15x16^6+5x16^5+13x16^4+0x16^3+4x16^2+0x16^1+0x16^0)=526189568
a=10
b=11
c=12
d=13
e=14
f=15
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2004 12:21 AM
06-07-2004 12:21 AM
Re: Decoding hex decimal address
# perl -e 'print 0x1f5d0400,"\n";'
526189568
#
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2004 12:21 AM
06-07-2004 12:21 AM
Re: Decoding hex decimal address
The above two posts are acurate if you wish to "decode" your hex number to decimal. However, you haven't actually specified this so I've assumed you want to decode it to a colour instead.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2004 01:46 AM
06-07-2004 01:46 AM
SolutionI would guess that you refer to SCSI resets in syslog.log where you see 0x1f5d0400.
If it is so then I can say you:
1f = it is a device of class DISK
5d = bus 'I don't know what is the exact number'
04 = target 'it should be 4'
00 = lun 0
Definitively it should be something like
/dev/dsk/cXt4d0.
Is that your problem?
Best regards,
Ettore
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2004 02:09 AM
06-07-2004 02:09 AM
Re: Decoding hex decimal address
The following example shows how you may convert from decimal to hex using the bc command.
user@hpux> bc
ibase=10
obase=16
2012933361
77FAECF1
In the preceding 2012933361 is the decimal value, and 77FAECF1 is the hexadecimal equivalent.
Use Ctrl-D or your End-of-File character to exit bc
Bruno