CHips L MINI SHELL

CHips L pro

Current Path : /usr/share/doc/db4-devel-4.7.25/utility/
Upload File :
Current File : //usr/share/doc/db4-devel-4.7.25/utility/db_printlog.html

<!--$Id: db_printlog.so,v 10.16 2006/10/05 01:06:08 bostic Exp $-->
<!--Copyright (c) 1997,2008 Oracle.  All rights reserved.-->
<!--See the file LICENSE for redistribution information.-->
<html>
<head>
<title>Berkeley DB: db_printlog</title>
<meta name="description" content="Berkeley DB: An embedded database programmatic toolkit.">
<meta name="keywords" content="embedded,database,programmatic,toolkit,btree,hash,hashing,transaction,transactions,locking,logging,access method,access methods,Java,C,C++">
</head>
<body bgcolor=white>
<table width="100%"><tr valign=top>
<td>
<b>db_printlog</b>
</td>
</tr></table>
<hr size=1 noshade>
<tt>
<b><pre>db_printlog [<b>-NrV</b>] [<b>-b start-LSN</b>] [<b>-e stop-LSN</b>] [<b>-h home</b>] [<b>-P password</b>]</pre></b>
<b>Description</b>
<a name="2"><!--meow--></a>
<p>The db_printlog utility is a debugging utility that dumps Berkeley DB
log files in a human-readable format.</p>
<p>The options are as follows:</p>
<br>
<b>-b</b><ul compact><li>Display log records starting at log sequence number (LSN) <b>start-LSN</b>;
<b>start-LSN</b> is specified as a file number, followed by a slash (/)
character, followed by an offset number, with no intervening whitespace.</ul>
<b>-e</b><ul compact><li>Stop displaying log records at log sequence number (LSN) <b>stop-LSN</b>;
<b>stop-LSN</b> is specified as a file number, followed by a slash (/)
character, followed by an offset number, with no intervening whitespace.</ul>
<b>-h</b><ul compact><li>Specify a home directory for the database environment; by
default, the current working directory is used.</ul>
<b>-N</b><ul compact><li>Do not acquire shared region mutexes while running.  Other problems,
such as potentially fatal errors in Berkeley DB, will be ignored as well.
This option is intended only for debugging errors, and should not be
used under any other circumstances.</ul>
<b>-P</b><ul compact><li>Specify an environment password.  Although Berkeley DB utilities overwrite
password strings as soon as possible, be aware there may be a window of
vulnerability on systems where unprivileged users can see command-line
arguments or where utilities are not able to overwrite the memory
containing the command-line arguments.</ul>
<b>-r</b><ul compact><li>Read the log files in reverse order.</ul>
<b>-V</b><ul compact><li>Write the library version number to the standard output, and exit.</ul>
<br>
<p>For more information on the db_printlog output and using it to
debug applications, see <a href="../../db4-devel-4.7.25/ref/debug/printlog.html">Reviewing
Berkeley DB log files</a>.</p>
<p>The db_printlog utility uses a Berkeley DB environment (as described for the
<b>-h</b> option, the environment variable <b>DB_HOME</b>, or
because the utility was run in a directory containing a Berkeley DB
environment).  In order to avoid environment corruption when using a
Berkeley DB environment, db_printlog should always be given the chance to
detach from the environment and exit gracefully.  To cause db_printlog
to release all environment resources and exit cleanly, send it an
interrupt signal (SIGINT).</p>
<p>The db_printlog utility exits 0 on success, and &gt;0 if an error occurs.</p>
<br><b>Environment Variables</b>
<br>
<b>DB_HOME</b><ul compact><li>If the <b>-h</b> option is not specified and the environment variable
DB_HOME is set, it is used as the path of the database home, as described
in <a href="../../db4-devel-4.7.25/api_c/env_open.html">DB_ENV-&gt;open</a>.</ul>
<br>
</tt>
<p><font size=1>Copyright (c) 1996,2008 Oracle.  All rights reserved.</font>
</body>
</html>

Copyright 2K16 - 2K18 Indonesian Hacker Rulez