You could always write a short Java program to form a JMX connection and invoke the JMX command(s) you desire.
You could do the same from a script as well.
You could always write a short Java program to form a JMX connection and invoke the JMX command(s) you desire.
You could do the same from a script as well.