Subject: Re: [vserver] Like vps, see network connection for all guests, e.g. vnetstat?
From: Ghislain <gadnet@aqueos.com>
Date: Wed, 20 Oct 2010 14:44:49 +0200
Wed, 20 Oct 2010 14:44:49 +0200
 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




["application/pkcs7-signature" not shown]