- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- using "adb" to look at kernel parameters
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
05-29-2001 04:43 AM
05-29-2001 04:43 AM
using "adb" to look at kernel parameters
On the machine with 1GB, I invoke "adb" as follows:
echo "$e" | adb -k /stand/vmunix /dev/kmem
The output provides everything I need. On the machine with 3GB, the "-k" option yields no output. I must invoke "adb" as follows:
echo "$e" | adb /stand/vmunix /dev/kmem
Anyone have an idea why the "-k" option doesn't work in this scenario?
Thanks in advance...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2001 04:52 AM
05-29-2001 04:52 AM
Re: using "adb" to look at kernel parameters
echo kernel_param/D | adb -k /stand/vmunix /dev/kmem
-k tells ADB that the object and core files are kernel files so ADB can perform the appropriate memory mapping.
To know all the kernel parameters sending them in a file:
# adb -k -w /stand/vmunix /dev/kmem > /tmp/file_ker_par
$e
$q
#
federico
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2001 04:53 AM
05-29-2001 04:53 AM
Re: using "adb" to look at kernel parameters
If you run the following command on both your boxes;
/usr/contrib/bin/q4pxdb -s status /stand/vmunix
/stand/vmunix ready for debugging
Does it return the same for both of them ? ie. that the kernel has been preprocessed for debugging (adb) ?
If not you can preprocess it with this command;
/usr/cq4pxdb /stand/vmunix
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2001 05:08 AM
05-29-2001 05:08 AM
Re: using "adb" to look at kernel parameters
On both machines, "q4pxdb -s status /stand/vmunix" I get the following:
crt0 out of date
/stand/vmunix hasn't been preprocessed
I guess I'm looking for why adb's "-k" option is doesn't work for the machine with 3GB of memory. Could 3GB of memory be too much to perform virtual-to-physical address translation?
Thanks...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2001 06:45 AM
05-29-2001 06:45 AM
Re: using "adb" to look at kernel parameters
Ive got servers ranging from 32Mb to over 3GB and the same command works on all of them;
echo bufpages/D | adb -k /stand/vmunix /dev/kmem
- all with the -k option, so size of memory is not an issue. On your server it isnt working on is the kernel in sync with /stand/vmunix ? Try it pointing to vmunx.prev
Is you server with 3GB running 10.20 ? If so there are issues with individual processes adressing > 2.75Gb of memory which could be your problem, all ours are 11.0