Pregunta

I'm able to generate a usage statistics graph in my browser for a particular PC using Munin. The problem is that I want to use the graphs in a Swing application where the graphs will be displayed. Is there any way to do so? What are the other options available to generate the same graphs on Swing? Do I have to manually generate the readings and plot the graph accordingly?

¿Fue útil?

Solución

As Munin is written in perl, it should possible to use ProcessBuilder to evoke the desired graph. A related example is seen here.

Alternatively, it may be possible to install Munin locally and fetch the image as suggested in this example.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top