Hi All,
Could you please let me know the way by which we can find : MaxNumberOfProcesses in AIX,Linux,Soalris,HP-UX machines.
Is there any command or any specific calue set for this?
Hi All,
Could you please let me know the way by which we can find : MaxNumberOfProcesses in AIX,Linux,Soalris,HP-UX machines.
Is there any command or any specific calue set for this?
This is a Kernel tunable and so OS specific...
ok vbe..Could you please let me know how can we echo these values..
Coud you give me some example.
On HP-UX and solaris you can try to use sysdef:
HP-UX:
$ sysdef |egrep [nu]pr*|grep -v pt
maxuprc 450 - 3- -
nproc 3712 - 10- -
Solaris:
$ sysdef|grep processes
30000 maximum number of processes (v.v_proc)
29995 maximum processes per user id (v.v_maxup)
Solaris:
echo pidmax/D | mdb -k
echo max_nprocs/D | mdb -k
Both normally have the same value, one is the size of the process table, the other the maximum number of simultaneous processes.
Default is 30000.
Linux:
sysctl kernel.pid_max
Gives the size of the process(-thread) table.
Default is 32768
HP-UX:
kctune nproc
Gives the maximum number of simultaneous processes. Default is 4200. Process table size is fixed to 30000.
Since HP-UX 11.31:
kctune process_id_max
Process table size. Default is 30000.
If the per-user compile-time limit suffices, you can use getconf CHILD_MAX
. Note that the runtime limit may differ.
Regards,
Alister
thanks a lot .. the commands you priovided was of very much use.
On simillar front can MaxProcessMemorySize be retrived in unix ?
Please suggest.
You can get lots of limits with the Posix command
getconf -a
or selected values with
getconf CHILD_MAX
getconf SIZE_MAX
A bash shell shows the most important user limits with
ulimit -a
or selected values with
ulimit -u
ulimit -v