On Tue, 1 Apr 2003 13:22:05 -0500, Jonathan Sambrook wrote > At 21:14 on Mon 31/03/03, [EMAIL PROTECTED] masquerading as 'Dimitri Roschkowski' > wrote: > > Hi, > > > > I want to ask if there is a possibility to find out the name of the > > vserver. I talk about the name, you have to use for the vserver commands > > like > > > > vserver server1 start > > ^^^^^^ > > Caveat: we don't use most of the userspace tools > > > We wanted to have a kernelspace context name <-> context number, so I've > produced the attached patches. > > The upshot is that you can: > > chcontext --ctxname <the_name> <cmd> > > where you would've: > > chcontext --ctx <the_number> <cmd>
Is this a featurism ? I mean, a script can find the context associated with a vserver from /var/run/vserver/*. Granted you are not using the tools (why ?), but your tool could do the same. --------------------------------------------------------- Jacques Gelinas <[EMAIL PROTECTED]> vserver: run general purpose virtual servers on one box, full speed! http://www.solucorp.qc.ca/miscprj/s_context.hc
