conkw documentation - JavaSystemViewGrabber

This is the system grabber written in pure Java. It doesn't rely on anything else than the JDK, and thus should work on all systems.

Use cases

Configuration

{
  "implementation":"net.pieroxy.conkw.webapp.grabbers.JavaSystemViewGrabber",
  "parameters": {
    "toExtract":["sys","cpu","freespace"],
    "mountPoints":["/"]
  }
},

Possible extractions:

sys

Extracts a few static informations about the system:

cpu

Extracts a few metrics about CPU usage.

Metrics:

mem

Extracts memory usage metrics:

freespace

Extracts metrics about filesystems, such as total capacity and available space.

The list of filesystems monitored can come from two sources:

Metrics, in bytes, where * is the name of the filesystem:

So, for D:\, the metrics names are freespace_total_D:\ and so on. The last metric emmited: