OpenVZ Forum


Home » General » Support » netstat in hardware node (why doesn't it show all connections?)
netstat in hardware node [message #43777] Fri, 14 October 2011 06:34 Go to next message
Rene is currently offline  Rene
Messages: 40
Registered: September 2006
Member
In Virtuozzo, if you login to the hardware node and do a netstat -ptan, you'll see all connections to the server.

In OpenVZ I don't see any of the connections to the VE's. Is this normal? Can I change it? It's convenient being able to monitor all connections from the hardware node.

SL 6.1 with 2.6.32-042stab039.3.
Re: netstat in hardware node [message #43809 is a reply to message #43777] Mon, 17 October 2011 15:10 Go to previous messageGo to next message
west is currently offline  west
Messages: 2
Registered: October 2011
Location: Rotterdam, The Netherland...
Junior Member
I don't think this is possible due to the fact network isolation finds place between the "hardware node" and the "container".

You might wanna take a look here: wiki.openvz.org --> Traffic_accounting_with_iptables (can't post links yet, im sorry!)

Its a way to actually accomplish what i think you want.
Re: netstat in hardware node [message #43845 is a reply to message #43777] Mon, 24 October 2011 08:50 Go to previous message
bjdea1 is currently offline  bjdea1
Messages: 39
Registered: February 2009
Member
netstat command should be available on the hardware node to see all connections. On the RHEL5 OpenVZ kernel you can execute a netstat and see all connections to all VPS's. I believe this is a bug on the new RHEL 6 kernel.


I am trying to do the same as you and are finding it troublesome not having netstat command on the node - submit a bug report about it and see what they say. A node based netstat command is very much needed.

Or is there some system setting that needs to be turned on for this to work? Something in /proc ?


Deasoft.com Hosting/Software
AutoBillMe.com Billing Automation

[Updated on: Mon, 24 October 2011 09:54]

Report message to a moderator

Previous Topic: intermittent IP issue in containers
Next Topic: CT restarts instead of stopping
Goto Forum:
  


Current Time: Wed Dec 06 15:16:51 GMT 2023

Total time taken to generate the page: 0.02284 seconds