- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Using adb to change kernel parm
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
тАО02-28-2006 05:07 AM
тАО02-28-2006 05:07 AM
I had a need to =>"Set strmsgsz to 0 using adb"
In one post A. Clay indicating -
"It's a safe command and this is a common practice for changing kernel
values that otherwise can't be modified."
Now, I realize that I should make the change via sam, etc., for a permanent change. In the scenario I had wanted to perform this, I only wanted a temporary change in order to perform a function that failed due to the current 65535 setting.
That said, what would be the syntax to set this to "0" using adb?
Thanks for any and all input.
dl
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-28-2006 05:46 AM
тАО02-28-2006 05:46 AM
Re: Using adb to change kernel parm
kmtune -s STRMSGSZ=0
Course - reboot required for change to take effect...
I guess what you want to do is modify the current running kernel with a new value for a non dynamic kernel parameter?
That sounds pretty dangerous to me.
Wait for Clay to answer this one :)
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-28-2006 06:10 AM
тАО02-28-2006 06:10 AM
Re: Using adb to change kernel parm
"I guess what you want to do is modify the current running kernel with a new value for a non dynamic kernel parameter?"==>Yep.
I was trying to avoid a reboot and have found numerous tech notes on doing this as well as a couple of posts.
As things happened, I was able to get out of the mess without a reboot, but would have been out of the woods sooner if I could have changed that parm in the running kernel.
BTW- Should have included, we're on 11.0.
Thanks.
-dl
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-28-2006 06:25 AM
тАО02-28-2006 06:25 AM
SolutionTo examine the current value:
echo "strmsgsz/D" | adb -k /stand/vmunix /dev/mem
To set the value to zero:
echo "strmsgsz/W 0x0" | adb -w -k /stand/vmunix /dev/mem
You should then run the first command again to verify the change.
/W is used to write a 4-byte value whereas /w is used to write a 2-byte value; these are the opposite of /D and /d respectively.
I did test this on a sandbox and it lived to tell the tale.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-28-2006 06:28 AM
тАО02-28-2006 06:28 AM
Re: Using adb to change kernel parm
Thank you A. Clay.
Regards,
-dl