I want to log my Java application's jmap histogram periodically and this Heroku Dev page describes how to get jmap histos for a Heroku Java app by prefixing java command with with_jmap
.
However, what if I'm launching my Java app with a shell script and I don't want to modify that shell script? I don't see much documentation for the same.