<div id="docs-body">
 <div class="section">
  <div class="titlepage">
   <div>
    <div>
     <h3 class="title">
      <a name="mysql-cluster-programs-ndb-print-sys-file">
      </a>
      25.5.21 ndb_print_sys_file — Print NDB System File Contents
     </h3>
    </div>
   </div>
  </div>
  <a class="indexterm" name="idm46045100026144">
  </a>
  <p>
   <a class="link" href="mysql-cluster-programs-ndb-print-sys-file.html" title="25.5.21 ndb_print_sys_file — Print NDB System File Contents">
    <span class="command">
     <strong>
      ndb_print_sys_file
     </strong>
    </span>
   </a>
   obtains diagnostic
        information from an NDB Cluster system file.
  </p>
  <h4>
   <a name="idm46045100023328">
   </a>
   Usage
  </h4>
  <div class="copytoclipboard-wrapper">
   <pre class="programlisting one-line language-terminal"><div class="docs-select-all right" id="sa44824964"><div class="copy-help left">Press ⌘+C to copy</div> <div class="right"><button class="clipboard-btn" title="Copy to Clipboard"><span class="icon-clipboard"></span></button></div></div><code class="language-terminal">ndb_print_sys_file <em class="replaceable">file_name</em></code></pre>
  </div>
  <p>
   <em class="replaceable">
    <code>
     file_name
    </code>
   </em>
   is the name of a cluster
        system file (sysfile). Cluster system files are located in a
        data node's data directory
        (
   <a class="link" href="mysql-cluster-ndbd-definition.html#ndbparam-ndbd-datadir">
    <code class="literal">
     DataDir
    </code>
   </a>
   ); the path
        under this directory to system files matches the pattern
   <code class="filename">
    ndb_
    <em class="replaceable">
     <code>
      #
     </code>
    </em>
    _fs/D
    <em class="replaceable">
     <code>
      #
     </code>
    </em>
    /DBDIH/P
    <em class="replaceable">
     <code>
      #
     </code>
    </em>
    .sysfile
   </code>
   .
        In each case, the
   <em class="replaceable">
    <code>
     #
    </code>
   </em>
   represents a
        number (not necessarily the same number). For more information,
        see
   <a class="ulink" href="/doc/ndb-internals/en/ndb-internals-ndbd-filesystemdir-files.html" target="_top">
    NDB Cluster Data Node File System Directory
   </a>
   .
  </p>
  <p>
   Like
   <a class="link" href="mysql-cluster-programs-ndb-print-backup-file.html" title="25.5.17 ndb_print_backup_file — Print NDB Backup File Contents">
    <span class="command">
     <strong>
      ndb_print_backup_file
     </strong>
    </span>
   </a>
   and
   <a class="link" href="mysql-cluster-programs-ndb-print-schema-file.html" title="25.5.20 ndb_print_schema_file — Print NDB Schema File Contents">
    <span class="command">
     <strong>
      ndb_print_schema_file
     </strong>
    </span>
   </a>
   (and unlike most of the
        other
   <a class="link" href="mysql-cluster.html" title="Chapter 25 MySQL NDB Cluster 8.4">
    <code class="literal">
     NDB
    </code>
   </a>
   utilities that are
        intended to be run on a management server host or to connect to
        a management server)
   <a class="link" href="mysql-cluster-programs-ndb-print-backup-file.html" title="25.5.17 ndb_print_backup_file — Print NDB Backup File Contents">
    <span class="command">
     <strong>
      ndb_print_backup_file
     </strong>
    </span>
   </a>
   must be run on a cluster data node, since it accesses the data
        node file system directly. Because it does not make use of the
        management server, this utility can be used when the management
        server is not running, and even when the cluster has been
        completely shut down.
  </p>
  <h4>
   <a name="idm46045100009776">
   </a>
   Additional Options
  </h4>
  <p>
   None.
  </p>
 </div>
 <br/>
</div>
