sun.com | docs.sun.com |  | How To Buy | My Sun | Worldwide Sites |

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Application Server Utility | flexanlg(1M)

- NAME
- SYNOPSIS
- DESCRIPTION
- OPTIONS
- EXAMPLES
- SEE ALSO

## NAME

| flexanlg - analyzes access log files

## SYNOPSIS

| `flexanlg -i filename` [-P] [-n servername ] [-x] [-r] [-p order] `*` [-m metafile] `*` [-o filename] [-c options] [-t options] [-l options]

## DESCRIPTION

| Use the `flexanlg` command to generate statistics about your server, such as a summary of activity, most commonly accessed URLs, times during the day when the server is accessed most frequently, and so on. These statistics are generated from the server's access log which, by default, is named `access` and is found in the `logs` directory of the server instance. Before running the log analyzer, you should archive the server logs.

## OPTIONS

| Options marked with * can be repeated. -i filename input log file(s) -P proxy log format -n servername the name of the server -x output in HTML -r resolve IP addresses to hostnames -p [ c, t, l ] output order; default order is counts, time statistics, and lists -m filename meta file(s) -o filename output log file; default is stdout -c [ h, n, r, f, e, u, o, k, c, z ] count these items; default is: h, n, r, e , u, o, k, c h: total hits n: 304 Not Modified status codes (use local copy) r: 302 Found status codes (redirects) f: 404 Not Found status codes (Document Not Found) e: 500 Server Error status codes (Misconfiguration) u: total unique URLs o: total unique hosts k: total kilobytes transferred c: total kilobytes saved by caches z: Do not count any items -t [ sx, mx, hx, xx, z ] find general statistics; default is: s5m5h24x10 s (number): Find top (number) seconds of log m (number): Find top (number) minutes of log h (number): Find top (number) hours of log u (number): Find top (number) users of log a (number): Find top (number) user agents of log r (number): Find top (number) referers of log x (number): Find top (number) for miscellaneous keywords z: Do not find any general statistics -l [ cx, hx ] Make a list of the specified suboption; default is: c+3h5 c (x, +x): most commonly accessed URLs x: only list x entries +x: only list if accessed more than x times h (x, +x): hosts or IP addresses most often accessing your server x: only list x entries +x: only list if accessed more than x times z: Do not make any lists

## EXAMPLES

| Example 1. Using the flexanlg command
    flexanlg -i /var/opt/SUNQappserver7/domains/domain1/server1/logs/access

## SEE ALSO

| `wscompile`(1M), `wsdeploy`(1M)

| Go To Top | Last Changed April 2004

Company Info | Contact | Copyright 2003 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.