- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: absolute debugger
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-27-2001 07:47 PM
05-27-2001 07:47 PM
Can anyone please explain me about adb(absolute debugger) program. I have gone through man pages, it was not clear.
I came to know from one of my friend that it can be used to find out information about memory, CPU and I/O too. How to find these parameters?...
What else we can find out with adb?....
Thanks in advance.
Regards,
Satish.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2001 01:23 AM
05-28-2001 01:23 AM
Re: absolute debugger
echo "physmem/D" | adb /stand/vmunix /dev/kmem | tail -1 | awk '$2 > 0 {print $2 / 256 , "MByte" }'`
adb /stand/vmunix /dev/kmem | tail -1 | awk '{print $2}'`
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2001 05:33 AM
05-28-2001 05:33 AM
Re: absolute debugger
In addition to finding out the parameters about the current kernel loaded into memory, you can also change kernel parameters 'on the fly' without rebooting your server.
For example, I had switch on SCSI reservation on a server doing a backup to a tape silo in an FC-AL environment but there was a conflict that was causing the mk_kernel program to fail. Temporaily, I got around it my modifying the parameter using adb as follows:
1. cp -p /stand/vmunix /stand/vmunix.safe
2. adb -w /stand/vmunix /dev/kmem
st_ats_enabled/W 1
st_ats_enabled?W 1
CTRL-D
Please note that changing kernel parameters should always done through SAM as SAM validates them. Changing parameters 'on the fly' is not usually HP's preferred method and could leave the system inoperable. In the above example I had no choice and I had tested this on a test server.
Cheers,
Joseph.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2001 06:03 AM
05-28-2001 06:03 AM
SolutionAs Joseph said, ypou can touch oyur kernel onthefly ... but you can so your server become unoperable...
IN the other hand you can see: http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0xacb1e7613948d5118fef0090279cd0f9,00.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2001 03:23 PM
05-28-2001 03:23 PM
Re: absolute debugger
Adb is very usefull , though it should be used with caution.
To get a dump of kernel parameters..
echo '$e' | adb -k /stand/vmunix /dev/kmem > kernel.out
Look for itic_per_second in kernel.out
itic_per_second ---> convert into decimal ---> divide by 10,000 === to get the processor speed.
echo "phys_mem_pages/D" |
adb64 -k /stand/vmunix /dev/mem
phys_mem_pages:
phys_mem_pages: 523648
Remember use adb64 only if your OS is 64 bit, else , use adb.
Regards,
Sundar.