[libvirt-users] Help with running virt-top from Java file

PREETHI RAMESH iampreethiramesh at gmail.com
Mon Oct 17 14:58:46 UTC 2011


I've been trying to run virt-top to save the usage statistics to a csv file
from my Java code using process builder. However, this gets executed in the
Java file but I don't seem to find the file created anywhere. Is executing
virt-top possible via a Java code? I'm using the example
here<http://forums.devx.com/showthread.php?t=147403>replacing ls -l
with virt-top --csv file2.csv.

I plan to generate the graphs from the csv files to load them on to my Java
UI. If there are other alternatives to my method, please tell me as I've
been trying to get one for almost a week now.
Thanks a lot!
Preethi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20111017/68402f64/attachment.htm>


More information about the libvirt-users mailing list