Operating System - HP-UX
1748073 Members
4516 Online
108758 Solutions
New Discussion юеВ

what is nproc , how to check ?

 
shell script_1
Advisor

what is nproc , how to check ?

dear hp ux expert

now i want to install oracle 10g into hpux11.31 platform

as oracle preinstall requirement that is need to tune the kernel .

the fomule for tune kernal as below:
ksi_alloc_max (nproc*8) (example)

my question is what is nproc ? how to check the nproc ? what is msgtql, what is ninode, what is semmni .... how to check ?
8 REPLIES 8
Dennis Handly
Acclaimed Contributor

Re: what is nproc , how to check ?

kctune -v nproc
Rita C Workman
Honored Contributor

Re: what is nproc , how to check ?

They are kernel parameters.

nproc is the maximum number of process on the system.

As are the others, and to change these settings you need to know how to 'tune' a system.

Regards,
Rita
Aneesh Mohan
Honored Contributor

Re: what is nproc , how to check ?

vishnu.khandare
Respected Contributor

Re: what is nproc , how to check ?

Hi,
All these are kernel parameters.
These parameters can be tuned, with particular formula, they are having interdependence.

To check and tune these parameters u can use command line and SAM
#kctune | grep -i kernel_parameters

Refer below links which will explain in brief

http://docs.hp.com/en/1219/tuningwp.html#kern10

http://docs.sun.com/source/816-5523-10/appa.htm

Hope this solves ur query
Don't forget to assign points


Regards
Vishnu Khandare
You should deserve before U desire!!!!
SoorajCleris
Honored Contributor

Re: what is nproc , how to check ?

Hi,

#man nproc

will tell you everything, what to do, how to do , who can do , when to do ...

#kctune nproc=value is the command to change that.

regards,
Sooraj
"UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity" - Dennis Ritchie
shell script_1
Advisor

Re: what is nproc , how to check ?

thanks for your info .
Dennis Handly
Acclaimed Contributor

Re: what is nproc , how to check ?

>thanks for your info.

If you are happy with the answers you have received, please read the following about how to assign points:
http://forums.itrc.hp.com/service/forums/helptips.do?#33
Jasvir819
Frequent Advisor

what is nproc , how to check ?

NPROC & KCTUNE:

NPROC = NPROC is the kernel parameter, which controlling maximum number of simultaneous processes for all users.

nproc - limits the number of processes allowed to exist simultaneously

 

To check and tune these parameters we can use below command:
# kctune | grep -i kernel_parameters

 

kctune - manage kernel tunable parameters

# kctune

 

When we get below message in syslog:

kthread: table is full

 Then we are not able to telnet or SSH, and unable to  access from console.

 

 

To set a value use below command:

# kctune nproc=Any value

 

 

Thanks & Regards:

Jasvir Singh.