1753818 Members
9051 Online
108805 Solutions
New Discussion юеВ

Re: what is adb?

 
SOLVED
Go to solution
RAVI S_1
Occasional Advisor

what is adb?

Hi gurus,
Can anybody brief me about adb command in HP-UX?

Thanx,
Ravi S
5 REPLIES 5
James R. Ferguson
Acclaimed Contributor

Re: what is adb?

Hi Ravi:

# man adb

Regards!

...JRF...
Steven E. Protter
Exalted Contributor

Re: what is adb?

Shalom Ravi,

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=993945

http://techsolutions.hp.com/en/B9106-90003/ch07s18.html

Its a debugging tool for programmers.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Dennis Handly
Acclaimed Contributor
Solution

Re: what is adb?

You should NOT be using adb. Use a full featured debugger like wdb/gdb or kwdb.

You can download wdb/gdb for free:
http://www.hp.com/go/wdb
(And it has documentation you can understand.)

About the only use for adb is to be able to modify files and to look at the kernel.

You have not assigned any points yet, please read:
http://forums1.itrc.hp.com/service/forums/helptips.do?#33

>SEP: Its a debugging tool for programmers.

I would say it is more like a self flagellation for expert hackers. ;-)

James R. Ferguson
Acclaimed Contributor

Re: what is adb?

Hi (again) Ravi:

Aside from self-flagellation as Dennis said, 'adb' can be used to query and convert some useful data:

To find the disk that you booted from:

# echo 'boot_string/S' | adb -o /stand/vmunix /dev/mem

...and for anyone averse to using Perl to convert an epoch timestamp to a date:

# epoch=1183163871
# echo "0d$epoch=Y" | adb | tr -d '\011'

Regards!

...JRF...
RAVI S_1
Occasional Advisor

Re: what is adb?

I got the answer