- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Modify Kernel Parameters using expressions
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
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
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
09-19-2012 12:32 AM
09-19-2012 12:32 AM
Modify Kernel Parameters using expressions
Hi All,
Please I'm trying to modify some kernel parameters using an expression that contain brackets (( )) but i keep getting error when applying the expression, kindly assist? here is the error...
Enter Value/Expression OR q(quit) = ((8 * NPROC + 2048) +1024)
The Expression is not valid
Enter Value/Expression OR q(quit) = ((8*nproc+2048)+1024)
The expression evaluated to: 35840
Do you want to save the current kernel configuration ? (y/n/q)[y] = y
Enter Comments =
Command Preview: /usr/sbin/kctune -h -B ncsize=((8*nproc+2048)+1024)
Do you want to proceed ? (y/n) [n] = y
/usr/sam/tui/kc/tunmod.sh[4]: Syntax error at line 1 : `((' is not expected.
- Tags:
- kernel parms
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2012 01:48 AM
09-19-2012 01:48 AM
Re: Modify Kernel Parameters using expressions
>that contain brackets (( )) but I keep getting error
I see no brackets here, just parentheses.
>tunmod.sh[4]: Syntax error at line 1 : `((' is not expected.
Hmm, I would have thought this would be quoted to protect the expression.
You could just add a space between the two left parentheses?