Operating System - HP-UX
1836636 Members
1658 Online
110102 Solutions
New Discussion

Error - SAM -> Kernel Configuration -> Tunables ( All )

 
SOLVED
Go to solution
Miguel Carabano_1
Regular Advisor

Error - SAM -> Kernel Configuration -> Tunables ( All )

Hi Team,

I need apply changes into kernel, hpux 11.23

But:
-----------------------------------------------------------------
Tunable nkthread
Description Maximum number of threads on the system
Dynamic yes
Subsystem pm
Default Value 8416
Current Value 8416
Planned Value 8416
Last Boot Value 8416
Constraints nkthread >= 200
Constraints nkthread <= 4194304
Constraints nkthread >= max_thread_proc
Constraints nkthread >= nproc + 100
Auto Tuning Not Supported

Enter Value/Expression OR q(quit) = '(((NPROC*7)/4)+16)'

The Expression is not valid

Enter Value/Expression OR q(quit) = "(((NPROC*7)/4)+16)"

The Expression is not valid

Enter Value/Expression OR q(quit) = (((nproc*7)/4)+16)

The expression evaluated to: 7366

Do you want to hold this change till next boot ? (y/n/q)[y] = y

Do you want to save the current kernel configuration ? (y/n/q)[y] = y

Enter Comments =

Command Preview: /usr/sbin/kctune -h -B nkthread=(((nproc*7)/4)+16)

Do you want to proceed ? (y/n) [n] = y


/usr/sam/tui/kc/tunmod.sh[4]: Syntax error at line 1 : `((' is not expected
.

press enter to continue...

Thanks
2 REPLIES 2
Fernando Jose P de Souz
Regular Advisor
Solution

Re: Error - SAM -> Kernel Configuration -> Tunables ( All )

Hi,

Dont need write ( )

Ex.: NPROC*7/4+16
Miguel Carabano_1
Regular Advisor

Re: Error - SAM -> Kernel Configuration -> Tunables ( All )

Obrigado Fernando!