Java sockets – system monitoring / server – parallel stats capturing

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)

While capturing local system stats I needed a way to run parallel captures
The code below is still a work in progress how to can/will be done, more on that is explained below.

For example:
I am trying to capture CPU, Mem every second, but at the same I am also capturing my db response time with a real query that takes 10+ seconds.

In the example above both captures CPU Mem & DB response need to run at the same time but may and will complete in different intervals.

In such a case I will have to use the ExecutorService module.
I am still working out the details.
Note: The below url’s wil be replaced by process once completed.

Leave a Reply

Notify of