Re: [Vserver] chcontext not permitted

From: Emanuele Rocca <ema_at_linux.it>
Date: Thu 08 Feb 2007 - 07:37:43 GMT
Message-ID: <20070208073743.GA25191@darkmoon.home>

Hello Lyn,

* Lyn St George <lyn@zolotek.net>, [2007-02-08 1:13 +0000]:
> On Thu, 8 Feb 2007 00:47:26 +0100 (CET), Daniel Hokka Zakrisson wrote:
> >Lyn St George wrote:
> >> They still don't stop properly, and 'ps -ax' does not show all
> >> processes, so I guess things need to be tweaked. But at least they
> >> run.
> >
> >What? ps ax is not supposed to show _all_ processes, just the ones
> >belonging to the current context. If you want to show all of them, use vps
> >on the host.
>
> I meant all processes in the guest, not also those on the host. Some
> were known to be running, eg Apache could be connected to, but
> were not showing in the process list.

I don't know if this is the problem, but 'ps -ax' is different from
'ps ax' (the latter is probably what you want).

Quoting ps(1):
       -a Select all processes except session leaders (see
                       getsid(2)) and processes not associated with a terminal.

        a ... this option causes ps to list all processes
                       with a terminal (tty), or to list all processes when used
                       together with the x option.

ciao,
    ema

_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver

Received on Thu Feb 8 10:50:46 2007
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Thu 08 Feb 2007 - 10:50:50 GMT by hypermail 2.1.8