Cryptronic wrote:
-----BEGIN PGP SIGNED MESSAGE-----
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
[email protected]
http://list.linux-vserver.org/mailman/listinfo/vserver