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

Thu Jul 23 13:27:30 UTC 2009
Barry Brimer <lists at brimer.org>

> 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?

Have you tried "ipcs -u" ?