- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- how can i use command line to config kernel parame...
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-15-2004 11:48 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2004 12:19 PM
12-15-2004 12:19 PM
Solution1. Backup current kernel
#cd /stand
#cp system system.bak
#cp vmunix vmunix.bak
2. setting new values:
#/usr/lbin/sysadm/system_prep -s /stand/system
#kmtune -s kernel_parameter=newvalues
for Example
#kmtune -s nproc=2234
3.make new kernel
#mk_kernel -o /stand/vmunix
#kmupdate
4. reboot
#cd /
#shutdown -ry 0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2004 12:42 PM
12-15-2004 12:42 PM
Re: how can i use command line to config kernel parameter
Strongly recommend: Have to backup the current kernel parameter configuration:
Make a backup of /stand/system, /stand/vmunix and /stand/dlkm in the /stand directory.
Then you can do it follow these steps:
1. login as root user
2. cd /stand/build
3. excute the command :/usr/lbin/sysadm/system_prep -s system_kernel
# vi system_kernel (and add make your changes as you want)
4. save that file
5. Build a bootable HP-UX kernel with command: /usr/sbin/mk_kernel -s system_kernel
6. Update default kernel file and files associated with the kernel or update specified kernel modules with this command: /usr/sbin/kmupdate
7. cd /
8. Reboot the server: shutdown -r -y 0
For more information, you can also refer to the System and network Administrator I document and see on the man page of all command.
Hope this helps
Regard,
Chi Cong
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2004 05:22 AM
12-17-2004 05:22 AM
Re: how can i use command line to config kernel parameter
In or after HP-UX 11.11, you can run the kmtune command to configure dynamic kernel parameters online:
# /usr/sbin/kmtune -u -s {name{=|+}value}
For example:
# /usr/sbin/kmtune -u -s shmseg=256
or
# /usr/sbin/kmtune -u -s shmseg+50
Then you run this command to query the result:
# /usr/sbin/kmtune -q shmseg
Or refer to the manpage for the details.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2004 02:39 PM
12-17-2004 02:39 PM
Re: how can i use command line to config kernel parameter
Why did not you closed this thread when you assign 10 point for us??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2004 08:47 AM
12-18-2004 08:47 AM