Skip to Main Content

Java HotSpot Virtual Machine

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Jcmd enhancements

Prakash.PJul 9 2018 — edited Jul 11 2018

Hello,

I found Jcmd to be of immense value while working on implementing JMC/JFR based tool. Connecting to our components on linux servers remotely from JMC client running on desktops just wasn't an option. So, the only way to use JMC was the Jcmd route.

However, it wasn't very enjoyable experience calling Jcmd from bash scripts as Jcmd does not have script friendly return values/codes.

Is there any plan to make Jcmd more script friendly or is there another way?

I know we have a standard API in Java 9 but we still have some time before we can upgrade to Java 9.

Thanks

Comments

yoonas
Hi,

It can be called in report triggers(before, after, etc), sql, format trigger.

Regards
Yoonas
orchid
Thanks for your prompt response. Yes, some of the functions in the Program Unit can be found in the report Triggers. Further digging, I found the calculation functions of the program unit are attached to specific columns in 'G_Features' of Groups. So, how do the calculation functions get executed when the report runs?

Thanks again.
1 - 2
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Aug 8 2018
Added on Jul 9 2018
3 comments
305 views