[libvirt-users] How to monitor a lxc container started by libvirt_lxc from inside ?

Daniel P. Berrange berrange at redhat.com
Tue Jul 23 10:14:10 UTC 2013


On Tue, Jul 23, 2013 at 04:56:30PM +0800, hzguanqiang wrote:
> Hi Guys,
> When I created a lxc container by libvirt, I logged into the lxc
> container and noticed that info under /proc/ dir did not match the
> lxc container resource.  Is the /proc dir in lxc container just
> showing the same thing as the lxc host? If I want to monitor the
> realtime resource usage inside the lxc container, What should I do?

At this time, the only files in /proc that are virtualized are
the /proc/$PID/* files for each process, and the /proc/meminfo
global file. All the other files reflect global host state.

Are there particular files in /proc/NNNN that you want to see
virtualized in the future ?

Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|




More information about the libvirt-users mailing list