Description: When you enable JMX Data Persistence logging, data is stored in binary files in the persistence directory.

Go to primary content

| Previous | Next |

# Using JMX Data Persistence Files

When you enable JMX Data Persistence logging, data is stored in binary files in the persistence directory.

By default, this directory for JMC 7.0 is located in `USER-HOME/.jmc/7.1.0/persisted_jmx_data`

To change the persistence directory:

1. Open the Window menu and select Preferences.
2. In the left pane, expand JDK Mission Control, then expand JMX Console, and select JMX Data Persistence.
3. Modify the path in the Persistence directory field or click Browse to select the directory in the file system explorer.
4. Click Apply to apply the changes.

The persistence directory contains folders with the names of the JVM connections for which data persistence was enabled. Each JVM connection folder contains subfolders with names of attributes for which data persistence was enabled. These subfolders contain the actual log files named `*.persisted_jmx_data`, and additional metadata files named `series.info`.

You can drag and drop the log files to the JMC console window to view them in the JMX Data Persistence window. Make sure that the folder structure is preserved for each JVM connection if you want to share the data files on the network.

Copyright © 2018, 2022, Oracle and/or its affiliates. All rights reserved. | Previous | Next |