Skip to content

Demo project for the Java Agent

keilhofh edited this page Sep 26, 2024 · 5 revisions

The demo project can be built using the gradle command: gradlew shadowJarDemo

Start the agent using the demo project like this:

java -javaagent:.\build\libs\jpowermonitor-<version>-all.jar[=path-to-jpowermonitor.yaml] -jar .\build\libs\jpowermonitor-demo-<version>.jar [runtimeSeconds] [cpuThreads]

Clone this wiki locally