But what i want is a seperation of java processes on a argument.
So i have some processes like:
/usr/bin/sh -c /usr/lib/jvm/jre-11-openjdk/bin/java
/usr/bin/sh -c /usr/lib/jvm/jre-11-openjdk/bin/java
/usr/lib/jvm/jre-11-openjdk/bin/java
/usr/lib/jvm/jre-11-openjdk/bin/java
I want to count certain processes with process-exporter. But i can't seem to figure out how to seperate them.
I do a simple search now with this config:
But what i want is a seperation of java processes on a argument.
So i have some processes like: /usr/bin/sh -c /usr/lib/jvm/jre-11-openjdk/bin/java
/usr/bin/sh -c /usr/lib/jvm/jre-11-openjdk/bin/java
/usr/lib/jvm/jre-11-openjdk/bin/java
/usr/lib/jvm/jre-11-openjdk/bin/java
How do i count/monitor them seperatly?
Should i do something with: