List Trace Task(LST TRCTASK)

Function

An OM command that queries the tracing task.

Note

None.

Parameters

ID Name Description
TRCTYPE Trace type

Meaning: trace type

Value range: ALL(ALL), USERTRACE(USER TRACE)

Explanation: This parameter specifies whether the query is based on all users or a specific user.

Default value: None

TRCMODE Trace mode

Meaning: trace mode

Value range: RMSTREAM(STREAM), RMFILE(FILE)

Explanation: This parameter specifies whether the queried data of user tracing tasks is reported as messages or saved as files.

Default value: None

TSKSTAT Task status

Meaning: task status

Value range: TSSTART(START), TSSTOP(STOP)

Explanation: This parameter specifies the status of the queried tracing task.

Default value: None

Example

Query the tracing task (Trace type = USERTRACE(USER TRACE)):
LST TRCTASK: TRCTYPE=USERTRACE;
The result is as follows:
+++    HUAWEI        2008-02-15 17:23:15
O&M    #3950
%%LST TRCTASK: TRCTYPE=USERTRACE;%%
RETCODE = 0  Execution succeeded

Query the tracing task
------------
Tracing Task No.  Tracing Type  Tracing Mode  Start Time        End Time        Task Status

458786      Single-user    File-saving  2008-02-15 16:34:05  2008-02-15 17:34:05  Started    
524323      Single-user    File-saving  2008-02-15 16:38:08  2008-02-15 17:38:08  Started    
(Number of results = 2)


---    END

Output Description

Domain Name Description
Tracing Task No.

Number of the queried tracing task

Tracing Type

Type of the queried tracing task (value range: ALL(ALL), USERTRACE(USER TRACE))

Tracing Mode

Tracing mode of the queried tracing task (value range: RMSTREAM(STREAM), RMFILE(FILE))

Start Time

Start time of the queried tracing task

End Time

End time of the queried tracing task

Task Status

Status of the queried tracing task (value range: TSSTART(START), TSSTOP(STOP))


Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.