Re: [vserver] Like vps, see network connection for all guests, e.g. vnetstat?

From: Ghislain <gadnet_at_aqueos.com>
Date: Wed 20 Oct 2010 - 13:44:49 BST
Message-ID: <4CBEE441.7080706@aqueos.com>

 Le 20/10/2010 14:38, Daniel Hokka Zakrisson a écrit :
> Markus Fischer wrote:
>> Hi,
>>
>> is there a tool to see the network connections across all guest system
>> from within the host system? Something like a fictional "vnetstat" ?
> alias vnetstat='ncontext --nid 1 --migrate -- vcontext --xid 1 --migrate -- netstat'
>
> --
> Daniel Hokka Zakrisson

hi daniel,

for me it fail:

(root)> netstat -n|wc -l
42

(root)> vserver vserver01 exec netstat -n |wc -l
73

(root)> ncontext --nid 1 --migrate -- vcontext --xid 1 --migrate --
netstat -n |wc -l
4

is that dependant of a certain kernel configuration ?

-- 
Cordialement,
Ghislain

Received on Wed Oct 20 13:45:12 2010
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Wed 20 Oct 2010 - 13:45:12 BST by hypermail 2.1.8