- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: 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
07-22-2003 12:43 AM
07-22-2003 12:43 AM
kmtune
I was chekcing kernel parameters on hpux 11.x with 64 bits enabled.Iam getting hex values not sure why e.g
kmtune -q maxdsiz
Parameter Value
===============================================================================
maxdsiz 0X50000000
Any Idea why this is so?
Rgds,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2003 01:12 AM
07-22-2003 01:12 AM
Re: kmtune
parameter 'maxtsiz_64bit'.
svr_erp# kmtune |grep maxdsiz
maxdsiz 0x10000000 - 0x10000000
maxdsiz_64bit 0x40000000 - 0X40000000
And the maxdsiz_64 controls the maximum data size of a 64bit program.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2003 01:25 AM
07-22-2003 01:25 AM
Re: kmtune
if you see thru SAM you get the same value(hex), you change it to any value (say 500, after a reboot kmtune -1 maxdsiz will return the value 500.
In one of my machine it's like this.
# kmtune|grep maxdsiz
maxdsiz 3221225472
maxdsiz_64bit 4294967296
# kmtune -q maxdsiz
Parameter Value
===============================================================================
maxdsiz 3221225472
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2003 01:27 AM
07-22-2003 01:27 AM
Re: kmtune
To help you check the script by Procura here
http://bizforums.itrc.hp.com/cm/QuestionAnswer/1,,0x08f9585fae8bd711abdc0090277a778c,00.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2003 01:30 AM
07-22-2003 01:30 AM
Re: kmtune
It just uses a format it can represent in simple arithmetic
your maxdsiz = 1342177280
You can see that is sam . Kernel config Kernel parameters
Steve Steel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2003 02:16 AM
07-22-2003 02:16 AM
Re: kmtune
I have to ask: This is a computer, after all - how else would you expect it to represent it's settings? (though binary might make even more sense).
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2003 02:58 AM
07-22-2003 02:58 AM
Re: kmtune
This gives value in decimal. check man page of printf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2003 04:58 AM
07-22-2003 04:58 AM
Re: kmtune
Example:
(name curval boot min-max units flags)
$ sysdef
...
maxdsiz_64bit 16384 - 256-1048576 Pages -
...
It's probably best to just get comfortable with working in hex.
David
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2003 05:29 PM
07-22-2003 05:29 PM
Re: kmtune
I might have got u all wrong, what i wanted to know is why kmtune shows hex for some machines and decimal for some others for same kernel parameter.
The reason was i had a script which checked these para's for my existing servers and compared values with decimal.But it failed on this new server as it gave values in hex.
Rgds,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2003 05:47 PM
07-22-2003 05:47 PM
Re: kmtune
The values shown by kmtune and presented by how they are represented in the kernel config files. For example, if you set one of the parameters in /stand/system to a decimal value kmtune will report decimal. If it is not specified here it will take the format from the default mapping in /usr/conf/master.d/core-hpux. I'll show you an example....I'll dynamically tune maxtsiz on my 11i system although leaving the value the same:
# kmtune|grep maxtsiz
maxtsiz 0x4000000 Y 0X4000000
# echo 0x4000000=D|adb
67108864
# kmtune -u -s maxtsiz=67108864
The kernel's value of maxtsiz has been set to 67108864 (0x4000000).
# kmtune|grep maxtsiz
maxtsiz 67108864 Y 67108864
Note this wasn't mapped via a config file but the same rules apply.
Regards,
James.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2003 05:48 PM
07-22-2003 05:48 PM
Re: kmtune
This is only a guess but I think its because some of the default kernel parameter settings (eg maxdsiz) are defined in hex. If you change this paramter and specify a decimal value, then it will be displayed in decimal when you use kmtune.
So if maxdsiz is at the default setting or was changed using a hex value, then kmtune displays in hex. If on another system it was changed and a decimal value was used, then kmtune displays decimal.
You could try changing your script to add a check to determine if the value is in hex. If yes then convert to decimal, then do your comparison.
Cheers
Con
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2003 05:51 PM
07-22-2003 05:51 PM
Re: kmtune
It defaults to not hex on 11.11(11i) and you can flip hex display on and off.
In sam there is a menu item display in hex or not.
I've just read the manpage and can't figure out in kmtune how to turn hex dipsplay on and off. Perhaps its a switch in the system file.
No, I just looked at that and some values are stored in hex.
This sounds like a case in need of Bill Hassel.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com