[CentOS] how to calculate how many semaphores already use on server?

Thu Jul 23 13:53:56 UTC 2009
JohnS <jses27 at gmail.com>

On Thu, 2009-07-23 at 21:08 +0800, mcclnx mcc wrote:
> we have following setup on sysctl.conf:
>   kernel.sem = 256 32000 128 142
> 
> I tried to startup database and have error happen.  I knew problem come from SEMMNS (32000) is not enough.  Does anyone know how to calculate how many semaphores already use on system?
> 
---
I bet if you take a look at Oracles Unbreakable you will get a hint.
/etc/sysctl.conf and the kernel-doc sysctl docs will tell you.

John