- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Looking for a list of goodies in adb (absolute...
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
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
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
тАО12-31-2008 12:29 PM
тАО12-31-2008 12:29 PM
Where does one find the complete list of goodies that can be gleaned from adb?
I know several already:
itick_per_tick
itick_per_usec
physmem
processor_count
etc, etc, etc
The adb man page does not list them. I suspect I should be looking elsewhere. ;o)
thanks!
kev
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-31-2008 01:33 PM
тАО12-31-2008 01:33 PM
Re: Looking for a list of goodies in adb (absolute debugger)...
I suppose you could use google to find them.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-31-2008 01:58 PM
тАО12-31-2008 01:58 PM
Re: Looking for a list of goodies in adb (absolute debugger)...
I hope you had a fabulous holiday. ;o)
I've Googled and Googled. No complete list. If the adb shouldn't be used to glean interesting info about the system hardware and OS then what should one use? I realize there are various commands available to gather certain pieces of information. However, some of the commands are only available if your system has Ignite, or is Itanium based, or requires some other piece of software to be installed. It seems like adb is a good choice since it is available on every system and seems reliable.
kev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-31-2008 02:31 PM
тАО12-31-2008 02:31 PM
Re: Looking for a list of goodies in adb (absolute debugger)...
A number of uses for 'adb' can be discovered by using the Forums Advanced Search (!) and supplying the keyword 'adb'.
Other information can be found by searching the Technical Knowledge database with the keyword 'adb'.
THe caveats of which HP-UX release you are running on and whether or not your platform is a PA-RISC or an Itanium one apply, as does the '-o' switch for coercing 'adb' to apply its "old" rules.
I have never seen a compilation of any "exhaustive" list.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-31-2008 02:37 PM
тАО12-31-2008 02:37 PM
Re: Looking for a list of goodies in adb (absolute debugger)...
Thanks for the response. ;o)
I've done some pretty exhaustive searches on ITRC and Google and no complete list.
Some of the ones I already know I found from doing unrelated searches. It just surprises me that there isn't a comprehensive list somewhere on the HP docs site.
How does one find out about these things if they aren't documented?
kev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-31-2008 02:59 PM
тАО12-31-2008 02:59 PM
Re: Looking for a list of goodies in adb (absolute debugger)...
Of course not. You use google to "compose" the list.
echo adb site:itrc.hp.com
>It seems like adb is a good choice since it is available on every system and seems reliable.
In this case adb is never a good choice but may be your only one. ;-)
>It just surprises me that there isn't a comprehensive list somewhere on the HP docs site.
Why would you be surprised that kludges aren't documented? Using adb usually means that the piece of info you want wasn't deemed important enough to provide a command. Or the command was only added in newer OS versions.
>How does one find out about these things if they aren't documented?
Only by asking questions and reading threads and Knowledge database.
You haven't mentioned what you are really interested in? A poor man's machinfo for PA?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-31-2008 03:42 PM
тАО12-31-2008 03:42 PM
SolutionHP offers HP-UX internals training classes which will provide a wealth of information using adb (and many other tools).
A simpler (supported) source of kernel information comes from getconf (see man getconf). See also: man 5 limits
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-31-2008 04:00 PM
тАО12-31-2008 04:00 PM
Re: Looking for a list of goodies in adb (absolute debugger)...
Thanks for the info.
I already know about getconf and I'm using it to get some info. What I really want is a way to glean information about the hardware and running os programmatically. Either through a C++ or Java program. The retrieval process has to be fast.
I really had no idea that adb is considered worthless. If it shouldn't be used then why is it included in the os distribution?
Adb does provide information that is of interest to system and database administrators. If there is another interface to this information I will gladly use it! It would be nice to be able to call functions from a library to get what I want.
kev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-31-2008 04:44 PM
тАО12-31-2008 04:44 PM
Re: Looking for a list of goodies in adb (absolute debugger)...
You really haven't made clear exactly the information you want to catalog. That said, have you looked at some of the functionality of 'sysconf(2)' and 'pstat(2)' and 'tuneinfo2(2) --- documented interfaces? The manpages for the aforementioned are a start.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-31-2008 05:07 PM
тАО12-31-2008 05:07 PM
Re: Looking for a list of goodies in adb (absolute debugger)...
Not completely worthless but the user interface is crap.
>If it shouldn't be used then why is it included in the OS distribution?
Because gdb wasn't around?
Because adb is the only tool to poke around the kernel.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-31-2008 06:18 PM
тАО12-31-2008 06:18 PM
Re: Looking for a list of goodies in adb (absolute debugger)...
Well, for hardware information, you will get everything you would ever want from cstm, and ioscan:
echo "selclass qualifier all; info;wait;infolog" | cstm
ioscan -kf
(ioscan is very fast with -k). The information useful to system admins is found in kmtune (kctune for 11.31 and later). You will also find a lot of details in print_manifest and of course, glance. I'm not sure what a database admin needs that the sysadmin can't provide from these tools -- other than a translator for the vendor's terminology like "system resources" or disk block size.
Checkout the above list along with the previously mentioned pstat() and then post back the details you want that are not provided in those interfaces. You can also download sysinfo and look through each of the data collection functions for ideas. If you are looking for a documentation tool, Nickel is a nice tool to collect system info and turn it into a nice set of clickable web pages.
http://h20331.www2.hp.com/hpsub/cache/286022-0-0-225-121.html
Bill Hassell, sysadmin