Pavel Simonovsky
2010-03-31 07:39:27 UTC
In 9 version and other OS (like HP for example) there are well known kernel
parameters like:
SHMMAX
SHMMIN
SHMMNI
SHMSEG
SEMMNS
SEMMNI
SEMMSL
It is simple to check them also interactive, and also in shell/Perl script.
But in Solaris10 Sun introduced (As I understand - it was available also for
8 and 9, but as separate, not built in product) dynamical system of
management of kernel parameters/limitations driven by projects...
Now question: how can I at script to check limits for some specific user
(for example on semaphores and shared memory)? is it enough to run with his
user id:
'sh -c "prctl -i process $$"'
and parse its output? Or I have to take into account something else?
--- news://freenews.netfront.net/ - complaints: ***@netfront.net ---
parameters like:
SHMMAX
SHMMIN
SHMMNI
SHMSEG
SEMMNS
SEMMNI
SEMMSL
It is simple to check them also interactive, and also in shell/Perl script.
But in Solaris10 Sun introduced (As I understand - it was available also for
8 and 9, but as separate, not built in product) dynamical system of
management of kernel parameters/limitations driven by projects...
Now question: how can I at script to check limits for some specific user
(for example on semaphores and shared memory)? is it enough to run with his
user id:
'sh -c "prctl -i process $$"'
and parse its output? Or I have to take into account something else?
--- news://freenews.netfront.net/ - complaints: ***@netfront.net ---