About this list Date view Thread view Subject view Author view Attachment view

From: Jacques Gelinas (jack_at_solucorp.qc.ca)
Date: Wed 02 Apr 2003 - 04:36:06 BST


On Tue, 1 Apr 2003 13:22:05 -0500, Jonathan Sambrook wrote
> At 21:14 on Mon 31/03/03, dr_at_port29.net 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 <jack_at_solucorp.qc.ca>
vserver: run general purpose virtual servers on one box, full speed!
http://www.solucorp.qc.ca/miscprj/s_context.hc


About this list Date view Thread view Subject view Author view Attachment view
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Wed 02 Apr 2003 - 04:56:45 BST by hypermail 2.1.3