Operating System - HP-UX
1827315 Members
5457 Online
109961 Solutions
New Discussion

How to configure/view maxuprc & nproc parameters ?

 
SOLVED
Go to solution
J Ramesh Kumar
Advisor

How to configure/view maxuprc & nproc parameters ?

Hi,

My HPUX os version is B.11.11. I would like to view & configure maxuprc & nproc parameters. Kindly help me to configure & view the above parameters.

Thanks,
Ramesh
7 REPLIES 7
Ivan Krastev
Honored Contributor
Solution

Re: How to configure/view maxuprc & nproc parameters ?

Jeeshan
Honored Contributor

Re: How to configure/view maxuprc & nproc parameters ?

either you can use kmtune or SAM.
a warrior never quits
J Ramesh Kumar
Advisor

Re: How to configure/view maxuprc & nproc parameters ?

Hi Ivan & Ahsan,

Thanks for the help. I tried to change the value as 1000 for nproc using the following command,

kmtune -s nproc=1000

After that, I have seen the following output for the "kmtune -q nproc", (ie) current value as 276 and planned value 1000.

# kmtune -l -q nproc
Parameter: nproc
Current: 276
Planned: 1000
Default: (20+8*MAXUSERS)
Minimum: -
Module: -
Version: -
Dynamic: No
#

I expected that the current value will be changed to 1000 once I reboot the m/c. But it is not happening. I got the same output even I reboot the HPUX system. (ie) current value as 276 and planned value as 1000. Am I missing anything ?

Thanks,
Ramesh
Fabien GUTIERREZ
Frequent Advisor

Re: How to configure/view maxuprc & nproc parameters ?

kmtune is ok to get the values
you need to rebuild kernel to set up the planned values so the easiest way to do so is to use sam to process all for you
J Ramesh Kumar
Advisor

Re: How to configure/view maxuprc & nproc parameters ?

Hi Ivan, Ahsan & Fabien,

It is working fine if I use sam tool. Thanks for your help in resolving this issue.

Thx,
Ramesh
Rita C Workman
Honored Contributor

Re: How to configure/view maxuprc & nproc parameters ?

Read the manpage on kmtune...

-s sets the new parm amount
-u updates the kernel

Rgrds,
Rita


jolight
Frequent Advisor

Re: How to configure/view maxuprc & nproc parameters ?

Hi Ramesh,

If you are using kmtune,you have to use mk_kernel to create new kernel under /stand/build directory and then kmupdate to move the kernel to /stand.

George