Re: [Vserver] Getting the namespace of processes

From: Bodo Eggert <7eggert_at_gmx.de>
Date: Mon 09 Jan 2006 - 14:02:17 GMT
Message-ID: <Pine.LNX.4.58.0601091457470.3435@be1.lrz>

On Mon, 9 Jan 2006, Wilhelm Meier wrote:

> Hi,
>
> I want to extract the namespace-attribute of a specific/all process(es). Some
> time ago there was a discussion about this topic, but I think the essence was
> that there are no tools to get this information. Or am I wrong?
>
> Is it possible to extract this information via /proc/...? I didn't find any
> hints about that.

AFAIK, /proc/$PID/root is supposed to be a link to the namespce root.
Since namespaces are anonymous, I can't think of anything better than
this.

-- 
Top 100 things you don't want the sysadmin to say:
2. We had to format some tracks, and we seem to have hit an inode track.
    Half the files are still there though...
_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Mon Jan 9 13:58:40 2006
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Mon 09 Jan 2006 - 13:58:46 GMT by hypermail 2.1.8