- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How can I change kernel parameters without sam...
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-11-2007 11:34 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2007 11:39 PM
07-11-2007 11:39 PM
Re: How can I change kernel parameters without sam?
Do man on kmtune
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2007 11:40 PM
07-11-2007 11:40 PM
Re: How can I change kernel parameters without sam?
check manpage of kctune
e.g.
/usr/sbin/kctune -h -B maxuprc=3780
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2007 11:43 PM
07-11-2007 11:43 PM
Re: How can I change kernel parameters without sam?
Here is doc about that - http://techsolutions.hp.com/en/5991-6480/ch10.html
regards,
ivan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2007 11:58 PM
07-11-2007 11:58 PM
Re: How can I change kernel parameters without sam?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2007 11:59 PM
07-11-2007 11:59 PM
Re: How can I change kernel parameters without sam?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2007 12:08 AM
07-12-2007 12:08 AM
Re: How can I change kernel parameters without sam?
kmtune will let you do this from the command line.
Read this on putting changes requiring a compile into production.
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=105739
The man page for kmtune explains pretty nicely how to make command line changes.
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
07-12-2007 12:37 AM
07-12-2007 12:37 AM
Re: How can I change kernel parameters without sam?
Eaxample:
kctune vps_ceiling=64
that will set vps_ceiling to 64.
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2007 12:51 AM
07-12-2007 12:51 AM
Re: How can I change kernel parameters without sam?
kmtune -s maxswapchunks=16384
kmtune -s msgseg=32767
kmtune -s msgsz=32
kmtune -s msgmnb=65535
kmtune -s msgmni=4096
kmtune -s msgtql=4096
kmtune -s msgmap=4098
kmtune -s msgmax=65535
kmtune -s semaem=16384
kmtune -s semmnu=4092
kmtune -s semmns=8192
kmtune -s semmni=4096
kmtune -s semume=100
kmtune -s semvmx=32767
kmtune -s shmmax=17179869184
kmtune -s shmmni=512
kmtune -s shmseg=200
kmtune -s maxfiles=1024
kmtune -s maxfiles_lim=2048
kmtune -s nflocks=8192
kmtune -s nfile=63488
kmtune -s ninode=34816
kmtune -s maxdsiz=1073741824
kmtune -s maxdsiz_64bit=17179869184
kmtune -s maxssiz_64bit=1073741824
kmtune -s maxuprc=3687
kmtune -s max_thread_proc=250
kmtune -s nkthread=7200
kmtune -s nproc=4096
kmtune -s maxusers=128
kmtune -s dbc_min_pct=5
kmtune -s dbc_max_pct=8
kmtune -u
Error Messages
==============
kmtune: Cannot identify parameter name msgsz
WARNING: max_thread_proc cannot be set dynamically.
WARNING: maxdsiz cannot be set dynamically.
WARNING: maxdsiz_64bit cannot be set dynamically.
WARNING: maxfiles cannot be set dynamically.
WARNING: maxssiz_64bit cannot be set dynamically.
WARNING: maxswapchunks cannot be set dynamically.
WARNING: maxusers cannot be set dynamically.
WARNING: msgmap cannot be set dynamically.
WARNING: msgmni cannot be set dynamically.
WARNING: msgseg cannot be set dynamically.
WARNING: msgtql cannot be set dynamically.
WARNING: nfile cannot be set dynamically.
WARNING: nflocks cannot be set dynamically.
WARNING: ninode cannot be set dynamically.
WARNING: nkthread cannot be set dynamically.
WARNING: nproc cannot be set dynamically.
WARNING: semmni cannot be set dynamically.
WARNING: semmns cannot be set dynamically.
WARNING: semmnu cannot be set dynamically.
WARNING: semume cannot be set dynamically.
WARNING: semvmx cannot be set dynamically.
WARNING: shmmni cannot be set dynamically.
kmtune: Unable to change maxuprc. Out of range.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2007 01:36 AM
07-12-2007 01:36 AM
Re: How can I change kernel parameters without sam?
You got errors and WARNINGS.
You misspelled 'msgssz' and you violated a 'maxuprc' range limit. The remainder of your problems are warnings that you are trying to change static kernel parameters. Specifying '-u' means to alter the running kernel without rebuilding it and rebooting.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2007 01:54 AM
07-12-2007 01:54 AM
Solution/usr/lbin/sysadm/system_prep -s system
vi system (make your changes and save the file)
mk_kernel -s system
kmupdate
cd /
reboot your system
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2007 08:03 PM
07-12-2007 08:03 PM
Re: How can I change kernel parameters without sam?
If you don't, the newly created kernel won't be put in place for the next boot.