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
Using PCI 1000Base-T and HSC/PCI 1000Base-SX (Gigabit Ethernet) > Chapter 3 Gigabit Ethernet Resources

Logging Messages

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Glossary

 » Index

Gigabit Ethernet uses the nettl(1M) logging and tracing facility supplied with HP-UX. You may access the logging and tracing utility using either the graphical user interface (GUI) version or the command line interface.

Features of the GUI version, which are now a part of your HP 9000 system, include:

  • An interface which guides you through logging and tracing tasks.

  • An interface which allows you to create and format reports.

  • The capability to collect logging and tracing subsystem-specific information.

  • Report screens which are updated instantaneously with current logging and tracing information by the subsystem.

  • Context-sensitive on-line help.

To access the GUI version of the logging and tracing utility, execute:

nettladm

See the nettladm(1M) man page for information on using the GUI version, or the nettl(1M) man page for information on using the command line interface.

Listed below are some example commands using the command line interface.

  • To examine the log file with cause and action descriptions, execute:

    netfmt -v -f /var/adm/nettl.LOG00 | more

    netfmt -v -f /var/adm/nettl.LOG000 | more (for HP-UX 11i)

    The -v option enables the reporting of available cause and action descriptions for each log message. A sample log message using the -v option is shown below.

    ***********Gigabit Ethernet LAN/9000 Networking***********
    Timestamp : Mon Aug 3 PDT 1998 18:37:16.175754
    Process ID : [ICS] Subsystem:GELAN
    User ID ( UID ) : -1 Log Class:DISASTER
    Device ID : 3 Path ID: 0
    Connection ID : 0 Log Instance: 0
  • To examine just the log messages in the log file, execute:

    netfmt -f /var/adm/nettl.LOG00

    netfmt -f /var/adm/nettl.LOG000 (for HP-UX 11i)

  • To check network logging and tracing status, execute:

    nettl -status

  • To start Gigabit Ethernet tracing to the file /tmp/tracefile.TRC0, execute:

    nettl -traceon all -entity gelan -file /tmp/tracefile

    or

    nettl -traceon all -entity igelan -file /tmp/tracefile

    Note: nettl(1m) adds the .TRC0 postfix for you.

  • To stop Gigabit Ethernet tracing, execute:

    nettl -traceoff -entity gelan

    or

    nettl -traceoff -entity igelan

  • To format the Gigabit Ethernet trace file into the file /tmp/traceout, execute:

    netfmt -f /tmp/tracefile.TRC0 > /tmp/traceout

Refer to the netfmt(1M)man page for further information on how to create a filter for trace formatting.

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