OpenVZ Forum


Home » General » Support » View container devices on HN
Re: View container devices on HN [message #34638 is a reply to message #34636] Thu, 22 January 2009 17:09 Go to previous message
sspt is currently offline  sspt
Messages: 100
Registered: August 2006
Location: Portugal
Senior Member
Hi,
I've a script to gather the containers net usage, currently using the following:
vzctl exec CID cat /proc/net/dev

The problem
If the container is reaching it's privvmpages, kmemsize, etc, I won't be able to retreive the data, if the container is restarted in the meantime I won't be able to account the bandwidth usage.

Solution
If was able to access to it (container's /proc/net/dev) from the HN I would be able to gather the data even if the CID is out of resources


http://static.openvz.org/userbars/openvz-user.png
 
Read Message
Read Message
Read Message
Previous Topic: [answered] Need to use libvzctl
Next Topic: ztdummy and zaptel help
Goto Forum:
  


Current Time: Sun Oct 20 13:48:49 GMT 2024

Total time taken to generate the page: 0.05225 seconds