- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- 10.2 equivalent of kmtune?
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
12-17-2003 03:27 AM
12-17-2003 03:27 AM
10.2 equivalent of kmtune?
It's been so long since I've had to script for 10.2 & I could use some help. I have a checkinstall script for a package I need to modify to install on 10.2 system that uses kmtune commands to get specific kernel parameters & 10.2 does not have that command.
Did 10.2 have an equivalent command that anybody remembers?
I know I can grep the system file, but as you know that's not a guarantee of the actual value. I've run up SAM & checked the samlog, but it just lists functions such as KC_GET_PARAMS & kc_get_sys_info. Anybody know where these functions live?
Any help would be greatly appreciated.
Thanks,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2003 03:29 AM
12-17-2003 03:29 AM
Re: 10.2 equivalent of kmtune?
The word "sysdef" is banging around in my empty head. I don't know if that's it or not but I needed to get it out!!
;^)
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2003 03:31 AM
12-17-2003 03:31 AM
Re: 10.2 equivalent of kmtune?
# sysdef
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2003 03:34 AM
12-17-2003 03:34 AM
Re: 10.2 equivalent of kmtune?
They appear to agree with the sysdef statement.
Just confirmation, points not necessary.
Congrats to you on a nice week last week(stats).
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2003 03:36 AM
12-17-2003 03:36 AM
Re: 10.2 equivalent of kmtune?
What do you think?
Anything else?
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2003 03:38 AM
12-17-2003 03:38 AM
Re: 10.2 equivalent of kmtune?
But you've figured that out.
Back when I did 10.20, I used sam for kernel changes. I don't have much stick time on 10.20 though.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2003 03:43 AM
12-17-2003 03:43 AM
Re: 10.2 equivalent of kmtune?
/stand/system file also is useful in your case. I would check if you can find the command executed by SAM when it retrieves the tunable parameters.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2003 03:46 AM
12-17-2003 03:46 AM
Re: 10.2 equivalent of kmtune?
That's not the way the man page reads (at least not on 11i, anyway). Sysdef should report on all the configurable parameters.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2003 03:48 AM
12-17-2003 03:48 AM
Re: 10.2 equivalent of kmtune?
By that I mean in this case I'm looking for the msgmax (and other msg??? parms)& I find them in the system file, but they're not in the sysdef output.
It seems sysdef won't let me query individual parms.
But I've checked *actual* settings & they match the system file's values. So I'm thinking I'll just use the system file as this is only going to go on a few systems that won't be 10.2 for very long.....If we get our way.
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2003 03:58 AM
12-17-2003 03:58 AM
Re: 10.2 equivalent of kmtune?
# cat /usr/conf/master.d/core-hpux | grep max*
# /usr/lbin/sysadm/system_prep -s /tmp/system
# /usr/lbin/sysadm/get_sysfile /stand/vmunix | pg
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2003 03:58 AM
12-17-2003 03:58 AM
Re: 10.2 equivalent of kmtune?
Here's what I'm seeing. Attached is a concatenated file - kern_parms.txt. First part is sysdef output & the latter is the system file. I've added a divider to signify the split.
As you can see the values I want - msgmax/msgmnb/msgmni/msgtql - are in the system file but not in the sysdef output.
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2003 04:00 AM
12-17-2003 04:00 AM
Re: 10.2 equivalent of kmtune?
Interesting results! This is not what I'm seeing on my 11i system. Checking parameters that have obviously been changed (according to /stand/system) against sysdef output, I'm coming up with exactly the same output. For example, maxswapchunks is set to 1024 in /stand/system and "sysdef |grep maxswap" results in 1024 as well.
I wonder if there are any old 10.20 sysdef patches around???
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2003 04:09 AM
12-17-2003 04:09 AM
Re: 10.2 equivalent of kmtune?
"kmtune" command takes the kernel parameter value from /stand/system. For example if you change kernel parameter "shmmax" to 12000000 on /stand/system and don't rebuild the kernel, kmtune will report it as 12000000, which is not correct.
BTW "kmtune" will fail if you rename /stand/system.
So "sysdef" and "kmtune" are not exactly same.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2003 04:09 AM
12-17-2003 04:09 AM
Re: 10.2 equivalent of kmtune?
I maybe wrong, but I believe that from SAM you could print *all* the values into a file, which would give you values that
/usr/lbin/sysadm/system_prep -k
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2003 04:13 AM
12-17-2003 04:13 AM
Re: 10.2 equivalent of kmtune?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2003 05:01 AM
12-17-2003 05:01 AM
Re: 10.2 equivalent of kmtune?
It appears that to be 100% sure I'd have to check both sysdef output & the system file.
I may just remove the check as the /usr/conf/master.d/core-hpux file shows that the values I'm concerned about do meet the minimum (barely) at their default settings.
I'll probably be betting (hoping) no SA out there lowered the dang things.
And as stated we only have a few systems (well few for us - dozens actually & NONE in our group anyway) that will install this package enterprise-wide & it'll just be up to the SA to bump the parm if they have trouble.
But it's been a great illustration as to why one should be at 11.0 or even better 11i.
I won't even go into the differences that layout_version 0.8 has over 1.0 & the silly changes required to accomodate that....
Bernhard - that would be nice & useful but this has to run during a non-interactive swinstall session & all I do in this script is stop the install & alert the SA via the log that the parm must be raised to a certain minimum value.
Points on the way.
Thanks again all,
Jeff