Re: [Vserver] Semaphores

From: Daniel Hokka Zakrisson <>
Date: Sun 15 Apr 2007 - 22:55:23 BST
Message-ID: <>

Cryptronic wrote:
> Hash: SHA1
> Hi all,
> is there a possibility to see all semaphores vserver's are using?
> Because it is very difficult to enter each vserver and run ipcs. To
> see how much semaphores are in use would it do for me.

It depends on the kernel. For kernels < 2.6.19, chcontext --xid 1 ipcs
should do the trick. For newer kernels, the namespaces in mainline have
complicated this particular feature so you'll have to do something like
vsomething vserver --all -- exec ipcs

Daniel Hokka Zakrisson
Vserver mailing list
Received on Sun Apr 15 23:31:53 2007
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Sun 15 Apr 2007 - 23:31:58 BST by hypermail 2.1.8