[virt-tools-list] Help with running virt-top from Java file

Preethi Ramesh pree011235 at gmail.com
Mon Oct 17 15:01:28 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/virt-tools-list/attachments/20111017/11293e59/attachment.htm>


More information about the virt-tools-list mailing list