Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
System Fault Management Administrator's Guide: HP-UX 11i v3 > Chapter 5 Administering Indications and Instances Using HP SMH

Viewing Low Level Logs Using Evweb

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Glossary

 » Index

This section describes how to perform administration tasks such as searching and viewing low level log information.

This section discusses the following topics:

Overview

The Log Viewer enables you to view low level log information from the log database on a local HP-UX system. The low level log information include Log Id, Log Index, Log Version, Device Id, Device Type, Physical Location, and Time of occurrence.

You can find the low level log information in both Current Log Database and Archive Log Database. By default, the most recent low level log information is stored in the current log database.

The low level log information is automatically transferred from the Current Log Database to the Archive Log Database based on either of the following criterion, or whichever occurs first:

  • The age of the log is greater than 10 days. Logs older than 10 days are automatically stored in the Archive Log Database.

  • The page size of the database exceeds 100.

Searching Low Level Logs Using Simple Search

To search the log database for low level logs using Log Viewer, complete the following steps:

  1. Log in to the System Management Homepage.

    To log in to HP SMH, enter http://<hostname>: 2301 in the address bar of a Web browser. The HP SMH login screen is displayed.

  2. Enter your user name and password in the appropriate text boxes.

  3. Click Sign In on the login screen.

    The HP SMH home page is displayed.

  4. Select Logs on the main menu.

    The Logs page is displayed.

  5. Select Log Viewer in the Evweb box.

    The Log Viewer page is displayed.

  6. Provide appropriate information in the fields present in the Log Viewer page.

  7. Click Search on the Log Viewer page.

    Based on the search criteria, the log records are displayed in a tabular format.

For information on searching the log database using GUI, select Help on the action pane of the Log Viewer page.

Searching Low Level Logs Using Advanced Search

To search the log database for low level logs using Log Viewer, complete the following steps:

  1. Repeat steps 1-5 from “Searching Low Level Logs Using Simple Search”.

  2. Select Advanced Search on the right pane of the Log Viewer page.

    The Advanced Search page is displayed.

  3. Provide appropriate information in the fields present in the Advanced Search page.

  4. Click Search on the Advanced Search page.

    Based on the search criteria, the log records are displayed in a tabular format in the Log Viewer page.

For information on searching the log database using GUI, select Help on the action pane of the Advanced Search page present on the Log Viewer page.

Searching Low Level Logs Using CLI

To search for low level log information using the CLI, enter the following command at the HP-UX prompt:

# evweb logviewer -L -b<current|archive> -e

Where:

-L

is an option used to obtain a list of low level log summary.

-b

is a switch used to specify the location from where the low level logs have to be fetched.

-e

is an option used to specify whether the –L option must include the low level details and the summary information of the low level logs.

You can also use the following switches with the -L option:

  • -i <Log ID>

  • -n <Log Index>

  • -j <Log Type>

  • -x <Device ID>

  • -y <Device Type>

  • -p <Physical Location>

  • -g <Log Source>

  • -a <number for age> (:) (mm|dd)

  • -t [eq|le|ge|bw](<mm:dd:yyyy>)[,<mm:dd:yyyy>]

    NOTE: The -a and the -t switches are mutually exclusive and can be used with the -L option only.
  • -s[asc|desc] <column name>

  • -o <Offset Number> -c <Number of Logs>

    NOTE: The -s, -o,and the -c switches can be used with the -L option only.

For information on searching for low level log information using the CLI, see evweb_logviewer(1).

Viewing List of Low Level Logs

You can view a list of low level logs summary using the Log Viewer. The list of low level logs are tabulated and include information, such as Log ID, Log Index, Device ID, Device Type, Log Version, and Time of occurrence. In this document, this table is referred to as the Logs Summary Table. The Logs Summary Table is a result of the search operation.

Viewing List Of Low Level Logs Using GUI

To view a list of low level logs using Log Viewer, complete the following steps:

  1. Repeat steps 1-5 from “Searching Low Level Logs Using Simple Search”.

  2. Depending on the information you have, perform either a simple search or an advanced search.

    Based on the search criteria, the log records are displayed in a tabular format.

For information on viewing the low level logs using GUI, select Help on the action pane of the Log Viewer page.

Viewing List Of Low Level Logs Using CLI

To view a list of low level logs using the CLI, enter the following command at the HP-UX prompt:

# evweb logviewer -L -b<current|archive>

Where:

-L

is an option used to obtain a list of low level log summary.

-b

is a switch used to specify the location from where the low level logs have to be fetched.

You can also use the following switches with the -L option:

  • -i <Log ID>

  • -n <Log Index>

  • -j <Log Type>

  • -x <Device ID>

  • -y <Device Type>

  • -p <Physical Location>

  • -g <Log Source>

  • -a <number for age> (:) (mm|dd)

  • -t [eq|le|ge|bw](<mm:dd:yyyy>)[,<mm:dd:yyyy>]

    NOTE: The -a and the -t switches are mutually exclusive and can be used with the -L option only.
  • -s[asc|desc] <column name>

  • -o <Offset Number> -c <Number of Logs>

    NOTE: The -s, -o,and the -c switches can be used with the -L option only.

For information on viewing a list of low level logs using the CLI, see evweb_logviewer(1).

Viewing Details of Low Level Logs

You can view a details of low level logs using the Log Viewer. The detailed information about the low level logs include information, such as Log ID, Log Index, Log Type, Log Source, Log Version, Device ID, Device Type, Log Version, Time of occurrence, and dump of the low level logs in hexadecimal format.

Viewing Details Of Low Level Logs Using GUI

To view details of low level logs using Log Viewer, complete the following steps:

  1. Repeat steps 1-5 from “Searching Low Level Logs Using Simple Search”.

  2. Depending on the information you have, perform either a simple search or an advanced search.

    Based on the search criteria, the log records are displayed in the Log Summary Table.

  3. Select the desired low level log from the Log Summary Table.

    The details of a low level log is displayed in the Log Viewer page.

For information on viewing the low level logs using GUI, select Help on the action pane of the Log Viewer page.

Viewing Details Of Low Level Logs Using CLI

To view details of low level logs using the CLI, enter the following command at the HP-UX prompt:

# evweb logviewer -E -b<current|archive> -i <Log ID> -n <Log Index>

Where:

-E

is an option used to obtain details of low level log information.

-b

is a switch used to specify the location from where the low level logs have to be fetched.

-i

is a switch used to specify the Log ID.

-n

is a switch used to specify the Log Index.

You can also use the following switch with the -E option:

  • -r

For information on viewing details of low level logs using the CLI, see evweb_logviewer(1).

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 2009 Hewlett-Packard Development Company, L.P.