sanfs_ctl trace

Enables and disables tracing.

Read syntax diagramSkip visual syntax diagram
>>-sanfs_ctl--trace-- set--+-------------------------+---------->
                           |          .-,----------. |
                           |          V            | |
                           '- -class----class_name-+-'

>--+-----------------------+-----------------------------------><
   '- -level--level_number-'

or

Read syntax diagramSkip visual syntax diagram
>>-sanfs_ctl--trace--list--------------------------------------><

Parameters

set
Sets a the tracing level for one or more specified trace classes or all trace classes.
list
Lists trace status.
–class class_name
Identifies one or more classes for which to set the trap. When you specify more than one class name, separate the names with a comma and no space. A maximum of 20 class names can be specified for each –class parameter.
–level level_number
Specifies the tracing level. Possible values for the level number are 0 through 5. Setting the level to 0 turns off tracing for the specified class.

Prerequisites

You must have root privileges to use this command.

Description

The trace records are written to a buffer in memory and sent to the system log file.

This command enables you to group class names that you want to set on or off. If you do not specify a class, all trace classes are affected by the specified trace level.

Example

List trace levels The following example lists traces with no tracing enabled:
sanfs_ctl trace list

CSM Trace Class         Value
===============         =====
CSM:LEASE               0
CSM:XMTRCV              0
CSM:OBJCT               0
CSM:CACHE               0
CSM:MC_SES              0
CSM:CSM_SES             0
CSM:MC_DATA             0
CSM:CSMDATA             0
CSM:MC_RNGE             0
CSM:CSMRNGE             0
CSM:ALLOC               0
CSM:OBJATTR             0
CSM:SOCKET              0

ULD Trace Class         Value
===============         =====
ULD:FLOW                0
ULD:CONFIG              0
ULD:CTRLIFC             0
ULD:MOUNT               0
ULD:DISK                0
ULD:PAGER               0
ULD:VFSOP               0
ULD:VNODEOP             0
ULD:RNGLOC              0
ULD:CAPTURE             0

Parent topic: Solaris-client commands

Terms of use | Feedback
(C) Copyright IBM Corporation 2003, 2004. All Rights Reserved.