- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Setting Env Variables
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-28-2004 03:20 AM
05-28-2004 03:20 AM
shmmax=209715200
shmmni=100
etc...
Where do I go on an HP11i to do this?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2004 03:24 AM
05-28-2004 03:24 AM
Re: Setting Env Variables
You can use kctune to do the configuration. kctune -c takes a config file. man kctune will help
manish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2004 03:24 AM
05-28-2004 03:24 AM
SolutionIn HP-UX, probably the easiest way to set kernel parameters is to go into 'sam' and do it. Select Kernel Configuration -> Configurable Parameters. Any values listed as Static will require a kernel rebuild and a reboot.
You can do it from the command line, but I'm too lazy for that.
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2004 03:28 AM
05-28-2004 03:28 AM
Re: Setting Env Variables
Here is a guide to kernel modifications.
#cd /stand
#cp vmunix vmunix.old
#cp system system.old
#cd build
#this is the changed line.
#/usr/lbin/sysadm/system_prep -s system
Edit system file and make changes here as per ur require ment. Imeand addition/Deletion of devices. Then
#mk_kernel -s system
For more information see the man page of mk_kernel
to update parameters:
kmtune -s shmmax=209715200 -S /stand/build/system
Some parameters such as shmmax can be updated without a boot with the command kmtune -u
Now one new kernel will be created in /stand/build directory. Copy this to original location
#cd /stand/build
#cp vmunix_test /stand/vmunix
#cp system /stand
If you are new to HP-UX it might be better to do this process via sam
sam
Kernel
Change configurable parameters.
When done: Actions, process new kernel. This requires in most cases a boot.
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
05-28-2004 03:37 AM
05-28-2004 03:37 AM
Re: Setting Env Variables
I agree with John (lazy or not, it's the safest solution). Best solution I have found (and safest so I don't muck up anything) is using SAM ... Note, this works for 10.20, 11.00, 11.11 so it's the best solution I know of ...
# sam
select Kernel Configuration
select Configurable Kernel Parameters