SunVTS 5.0 User's Guide

Tracing a Test

You can use the Trace test option to create a log of every system call made when a test is running. This feature logs the system calls using the standard UNIX command truss. The trace messages logged by this feature give you a powerful debugging tool for isolating the specific cause of an error.

To Enable Tracing
  1. Select Commands->Trace test from the Menu bar.

    The Trace Test window is displayed.

  2. Choose a test to trace from the list of test names and then select Apply, or double-click a test name to enable tracing and close the window.

    When you select a test, system call tracing is enabled immediately. If the test is already running when you select it, tracing begins immediately and the trace test messages appear in the SunVTS console window.


    Note -

    You can only select one test at a time to trace when using the SunVTS CDE user interface.



    Note -

    When using the Physical map view, you can only see one level in the hierarchy (such as one controller on a system board). Therefore, some devices that are several levels down are not available to trace. Use the Logical view to select tracing for these devices.


  3. Select File and click Apply to write the trace test messages to a file called /var/opt/SUNWvts/logs/sunvts.trace.

To Disable Tracing
  1. Bring up the Trace Test window again, click on the highlighted test name, and click Apply.

    This action deselects the test and disables tracing.