1 <!DOCTYPE html
   2   PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
   3 <!--
   4    Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
   5    Licensed under the Universal Permissive License v 1.0 as shown at http://oss.oracle.com/licenses/upl.
   6 -->
   7 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-us" lang="en-us">
   8 <head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii" />
   9 <meta name="DC.Type" content="task" />
  10 <meta name="DC.Title" content="Using JMX Data Persistence Files" />
  11 <meta name="abstract" content="When you enable JMX Data Persistence logging, data is stored in binary files in the persistence directory." />
  12 <meta name="description" content="When you enable JMX Data Persistence logging, data is stored in binary files in the persistence directory." />
  13 <meta name="DC.Format" content="XHTML" />
  14 <meta name="DC.Identifier" content="GUID-ECB99579-0933-45B8-ABC4-9A0EAC2B5E57" />
  15 <meta name="DC.Language" content="en-US" />
  16 
  17 <meta http-equiv="Content-Style-Type" content="text/css" />
  18 <meta http-equiv="Content-Script-Type" content="text/javascript" />
  19 <title>Using JMX Data Persistence Files</title>
  20 
  21 <meta name="doctitle" content="Using JMX Data Persistence Files&#xA;" />
  22 <meta name="robots" content="noarchive" />
  23 <link rel="copyright" href="http://oss.oracle.com/licenses/upl" title="Copyright" type="text/html" />
  24 
  25 <link rel="contents" href="toc.htm" title="Contents" type="text/html" />
  26 <link rel="prev" href="GUID-FA2C4870-8D2F-4627-9DBA-5B530785453A.htm" title="Previous" type="text/html" />
  27 <link rel="next" href="GUID-953292B2-45D3-4842-9656-DAE88D239BA6.htm" title="Next" type="text/html" />
  28 </head>
  29 <body>
  30 <div class="zz-skip-header"><a href="#BEGIN">Go to primary content</a></div>
  31 <table class="simple oac_no_warn" summary="" cellspacing="0" cellpadding="0" width="100%">
  32 <col width="86%" /><col width="*" /><tr valign="bottom">
  33 <td></td>
  34 
  35 
  36 <td align="center">
  37 <a href="GUID-FA2C4870-8D2F-4627-9DBA-5B530785453A.htm">
  38 <img src="./dcommon/gifs/leftnav.gif" alt="Previous" /><br />
  39 <span class="icon">Previous</span>
  40 </a>
  41 </td>
  42 <td align="center">
  43 <a href="GUID-953292B2-45D3-4842-9656-DAE88D239BA6.htm">
  44 <img src="./dcommon/gifs/rightnav.gif" alt="Next" /><br />
  45 <span class="icon">Next</span>
  46 </a>
  47 </td>
  48 <td> </td>
  49 
  50 
  51 </tr>
  52 </table><div class="ind"><a id="GUID-ECB99579-0933-45B8-ABC4-9A0EAC2B5E57" name="GUID-ECB99579-0933-45B8-ABC4-9A0EAC2B5E57"></a><!-- End Header -->
  53 <h1 id="JMCOH-GUID-ECB99579-0933-45B8-ABC4-9A0EAC2B5E57" class="sect1">Using JMX Data Persistence Files</h1>
  54 <div><p>When you enable JMX Data Persistence logging, data is stored in binary files in the <span class="italic">persistence directory</span>.</p>
  55 <div class="section">By default, this directory for JMC 7.0 is located in <code>USER-HOME/.jmc/7.0.0/persisted_jmx_data</code><p>To change the persistence directory:</p>
  56 </div>
  57 <!-- class="section" -->
  58 <ol><li><span>Open the <span class="bold">Window</span> menu and select <span class="bold">Preferences</span>.</span></li>
  59 <li><span>In the left pane, expand <span class="bold">JDK Mission Control</span>, then expand <span class="bold">JMX Console</span>, and select <span class="bold">JMX Data Persistence</span>.</span></li>
  60 <li><span>Modify the path in the <span class="bold">Persistence directory</span> field or click <span class="bold">Browse</span> to select the directory in the file system explorer.</span></li>
  61 <li><span>Click <span class="bold">Apply</span> to apply the changes.</span></li>
  62 </ol>
  63 <div class="section">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 <code>*.persisted_jmx_data</code>, and additional metadata files named <code>series.info</code>.<p>You can drag and drop the log files to the JMC console window to view them in the <span class="bold">JMX Data Persistence</span> window. Make sure that the folder structure is preserved for each JVM connection if you want to share the data files on the network.</p>
  64 </div>
  65 <!-- class="section" -->
  66 </div>
  67 </div><!-- class="ind" --><!-- Start Footer -->
  68 <table class="simple oac_no_warn" summary="" cellspacing="0" cellpadding="0" width="100%">
  69 <col width="86%" /><col width="*" /><tr valign="bottom">
  70 <td><a href="http://oss.oracle.com/licenses/upl"><br />
  71 <span class="copyrightlogo">Copyright © 2018, Oracle and/or its affiliates. All rights reserved.</span></a></td>
  72 
  73 
  74 <td align="center">
  75 <a href="GUID-FA2C4870-8D2F-4627-9DBA-5B530785453A.htm">
  76 <img src="./dcommon/gifs/leftnav.gif" alt="Previous" /><br />
  77 <span class="icon">Previous</span>
  78 </a>
  79 </td>
  80 <td align="center">
  81 <a href="GUID-953292B2-45D3-4842-9656-DAE88D239BA6.htm">
  82 <img src="./dcommon/gifs/rightnav.gif" alt="Next" /><br />
  83 <span class="icon">Next</span>
  84 </a>
  85 </td>
  86 <td> </td>
  87 
  88 
  89 </tr>
  90 </table>
  91 
  92 <!-- class="footer" -->
  93 </body>
  94 </html>