Chapter 11. JRCMD

This chapter is dedicated to JRCMD—one of the simplest tools in the JRockit distribution. JRCMD is a small command-line tool that can be used to interact with a running JRockit instance. It can also be used to list all running instances of the JRockit JVM on a system.

In this chapter, you will learn:

  • How to use JRCMD to list the locally running JVMs on your machine
  • How to use JRCMD to execute diagnostic commands on one or all JVMs running locally on your machine
  • How to override the SIGQUIT signal handler to make JRockit run diagnostic commands of your choice instead of printing stack dumps, which is the default action
  • How to utilize JRCMD to solve various tasks such as:
    • Heap analysis
    • Exception profiling
    • Native memory tracking
    • Controlling ...

Get Oracle JRockit now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.