<!--Arbortext, Inc., 1988-2007, v.4002-->
<!DOCTYPE REFENTRY PUBLIC "-//Sun Microsystems//DTD SolBook 3.5//EN" [
<!ENTITY options-common SYSTEM "options-common.sgm">
<!ENTITY synopsis-common SYSTEM "synopsis-common.sgm">
<!ENTITY % commonents SYSTEM "common.ent">
%commonents;
]>
<?Pub UDT _bookmark _target>
<?Pub CX solbook(>
<refentry id="display-error-distribution-1"><?Pub Tag atict:info tracking="off"
ref="2"><?Pub Tag atict:user user="hl34125" fullname=""><?Pub Tag atict:user
user="pmdavies" fullname=""><?Pub Tag atict:user user="ah95648" fullname="">
<!-- @(#)display-error-distribution.1 1.11 07/07/25 SMI; -->
<refmeta><refentrytitle>display-error-distribution</refentrytitle><manvolnum>1</manvolnum>
<refmiscinfo class="date">24 Jul 2007</refmiscinfo>
<refmiscinfo class="sectdesc">&man1;</refmiscinfo>
<refmiscinfo class="software">&software;</refmiscinfo>
<refmiscinfo class="arch">generic</refmiscinfo>
<refmiscinfo class="copyright">Copyright (c) 2007, Sun Microsystems, Inc.
All Rights Reserved</refmiscinfo>
</refmeta>
<refnamediv><indexterm><primary>display-error</primary></indexterm><indexterm>
<primary> displays distribution of errors from instance server.log at module
level</primary></indexterm>
<refname>display-error-distribution</refname><refpurpose>displays distribution
of errors from instance server.log at module level</refpurpose></refnamediv>
<refsynopsisdiv><title></title>
<synopsis><command>display-error-distribution </command>  &synopsis-common; [<option
role="double-dash">target</option> <replaceable> instance</replaceable>] <replaceable>
timestamp</replaceable></synopsis>
</refsynopsisdiv>
<refsect1 role="description"><title></title>
<para>Displays distribution of errors from instance <filename>server.log</filename> at
module level. </para>
</refsect1>
<refsect1 role="options"><title></title>
<variablelist termlength="medium">&options-common;
<varlistentry><term><option role="double-dash">target</option></term>
<listitem><para>This is the name of the target upon which the command is operating.
The valid target<?Pub Caret> for this command is the name of an instance. </para>
</listitem>
</varlistentry>
</variablelist>
</refsect1>
<refsect1 role="operands"><title></title>
<variablelist termlength="medium">
<varlistentry><term><option role="double-dash">timestamp</option></term>
<listitem><para>The time at which the error logs are generated. The error
logs are maintained in the memory. Timestamp should be a long value that represents
the number of milliseconds that have passed since January 1, 1970</para>
</listitem>
</varlistentry>
</variablelist>
</refsect1>
<refsect1 role="examples"><title></title>
<example><title>Using display-error-distribution</title>
<para>Before using <command>display-error-distribution</command> command,
use the <command>display-error-statistics</command> command to get the timestamp,
which is a required operand for the <command>display-error-distribution</command> command.
</para>
<screen>asadmin> <userinput>display-error-statistics</userinput>
Timestamp                               Severity  Warning
---------------------------------------------------------
1185340505312(Jul 25, 2007 10:45:05 AM)     0        0
1185336905312(Jul 25, 2007 9:45:05 AM)      0        0
1185333305312(Jul 25, 2007 8:45:05 AM)      0        0
1185329705312(Jul 25, 2007 7:45:05 AM)      0        0
1185326105312(Jul 25, 2007 6:45:05 AM)      0        0
---------------------------------------------------------
Command display-error-statistics executed successfully.

</screen>
<screen>asadmin> <userinput>display-error-distribution 1185340505312</userinput>
*****************************************************************
Severity Warning   moduleID 
--------------------------
 1          2		javax.enterprise.system.container.web
 0         18     javax.enterprise.system.tools.admin.server.mbeans
...
*****************************************************************
Command display-error-distribution executed successfully.

</screen>
</example>
</refsect1>
<refsect1 role="exit-status"><title></title>
<variablelist termlength="medium">
<varlistentry><term>0</term>
<listitem><para>command executed successfully</para>
</listitem>
</varlistentry>
<varlistentry><term>1</term>
<listitem><para>error in executing the command</para>
</listitem>
</varlistentry>
</variablelist>
</refsect1>
<refsect1 role="see-also"><title></title>
<para><olink targetdoc="asrefman" targetptr="display-error-statistics-1">display-error-statistics(1)
</olink></para>
<para>, <olink targetdoc="asrefman" targetptr="display-log-records-1">display-log-records(1)
</olink></para>
</refsect1>
</refentry>
<?Pub *0000004406 0>
