Im working with linux servers and I am to suppose to develope a program that will graph cpu usage, memory ussage, process and user defined metrics. So far they told me I could start by reading streaming data from a .txt file. I looked at jfreechart, jconsole but i dont think they work so I found LiveGraph. Problem I am having is that it is not graphing everytime data is written to it. Im using a thread sleeper and filewriter object to write to the file every 10 seconds. Has anybody used this tool or has a better solution for what Im looking for? Thank you would be of great help. I generate data every 10 seconds to the file but LiveGraph only graphs it at the end when the file closes and i need it to graph and s开发者_开发知识库tay open.
There are plenty of server monitoring tools out there, both free and commercial. You can start by looking for some here or here.
But of course, using an already made software removes the excitement of hacking your own. :)
精彩评论