[Users] Question About /proc file system in VMs.
Martin Dobrev
martin at dobrev.eu
Wed Aug 3 12:37:12 EDT 2011
I'm not quite sure what you want to do, but each CT has it's own virtual
/proc. If you check for example the traffic of the veth/venet interface
inside a CT you'll see only the information for the particular CT. Or
you want to have a module showing information for all CTs?
?? 3.8.2011 ?. 18:10 ?., shule ney ??????:
>
> Thanks very much vagin,I have access to CT0, I want to have a module
> to monitor different VM's traffic, and each VM can see its own traffic
> insdie, is it possible?
>
>
>
> 2011/8/3 Andrew Vagin <avagin at gmail.com <mailto:avagin at gmail.com>>
>
> On 08/03/2011 03:42 AM, shule ney wrote:
>
> *Hi, all:*
> *I'm wondering if I can write and execute virtual file system
> like /proc in OpenVz VMs. For example , write a module to
> check the incoming traffic rate of this VM and show it in this
> VM's /proc as a file. I know different VMs share one kernel,
> is it possible??? Thanks very much guys.*
>
> Yes. It's possible. You can write file system as module, load it
> from host (CT0) and mount your file system from CT.
> And you can't do that, if you have access to CT only.
>
>
>
> _______________________________________________
> Users mailing list
> Users at openvz.org <mailto:Users at openvz.org>
> https://openvz.org/mailman/listinfo/users
>
>
> _______________________________________________
> Users mailing list
> Users at openvz.org <mailto:Users at openvz.org>
> https://openvz.org/mailman/listinfo/users
>
>
>
>
> _______________________________________________
> Users mailing list
> Users at openvz.org
> https://openvz.org/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://openvz.org/pipermail/users/attachments/20110803/e2177610/attachment.html
More information about the Users
mailing list