Changeset 19 for trunk/docs/FAQ.html


Ignore:
Timestamp:
Feb 12, 2006, 10:49:56 PM (19 years ago)
Author:
rainer
Message:

Rewrite of test suite, checksum for growing logs, fix for minor bug with dead client detection.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/docs/FAQ.html

    r1 r19  
    129129<br><center><h2>Rainer Wichmann</h2></center>
    130130<hr>
    131 <p><i>FAQ Revised: Saturday 17 September 2005 09:10:07</i></p>
     131<p><i>FAQ Revised: Tuesday 31 January 2006 21:28:35</i></p>
    132132<hr><h2>Table of Contents</h2>
    133133<dl>
     
    149149<li><a href="#Build and install6">2.7. --enable-xml-log has no effect</a></li>
    150150<li><a href="#Build and install7">2.8. ./install-sh: strip: not found (Solaris)</a></li>
     151<li><a href="#Build and install8">2.9. What is sh_tiger1.s?</a></li>
    151152</ul></dd>
    152153<dt><b>3. File checking</b></dt>
     
    208209<li><a href="#Database2">7.3. I don't want the client TIMESTAMP messages in the SQL database</a></li>
    209210<li><a href="#Database3">7.4. What does the log_ref field mean ?</a></li>
     211<li><a href="#Database4">7.5. How can I check what is in the database ?</a></li>
    210212</ul></dd>
    211213</dl>
     
    373375<dt><b><a name="Build and install7">2.8. ./install-sh: strip: not found (Solaris)</a></b></dt>
    374376<dd>Install the SUNWbtool package.<br><br></dd>
     377<dt><b><a name="Build and install8">2.9. What is sh_tiger1.s?</a></b></dt>
     378<dd>This is a precompiled assembly file for the i386 architecture
     379generated from sh_tiger1.c using gcc 3.4.0 with the following options,
     380that were found to generate the fastest code:
     381<pre>
     382 -O1 -fno-delayed-branch -fexpensive-optimizations -fstrength-reduce
     383     -fpeephole2 -fschedule-insns2 -fregmove -frename-registers -fweb
     384     -momit-leaf-frame-pointer -funroll-loops
     385</pre>
     386These options were determined using
     387<a href="http://www.coyotegulch.com/products/acovea/">acovea</a> 5.1.1
     388by  Scott Robert Ladd. The file is provided as precompiled assembly
     389because different versions of gcc can have very different performance,
     390require different options to compile optimal code, and
     391it would be impossible to maintain a library of optimal compile options
     392for every version of gcc.<br><br></dd>
    375393</dl>
    376394<hr><h2>3. File checking</h2>
     
    743761
    744762        2.) In your client or server configuration file, you are using
    745         the option for a custum message header, but without paying attention
     763        the option for a custom message header, but without paying attention
    746764        to preserving the XML format.
    747765</pre></div><br><br></dd>
     
    793811        number of the corresponding client message). Zero indicates a message
    794812        by the server itself (e.g. the server's start message).<br><br></dd>
     813<dt><b><a name="Database4">7.5. How can I check what is in the database ?</a></b></dt>
     814<dd>Use a command line client to login to the database and query it:
     815<div class="block"><pre>
     816     sh$ mysql -u &lt;user_name&gt; -p &lt;database_name&gt;
     817     Enter password: ****
     818     mysql&gt; SELECT log_index,log_ref,log_host,log_sev,log_msg,path FROM &lt;table_name&gt; WHERE entry_status = 'NEW' ORDER BY log_index;
     819     ....
     820     mysql&gt; \q
     821</pre></div><br><br></dd>
    795822</dl>
    796823<hr>
Note: See TracChangeset for help on using the changeset viewer.