Debug Exec Mode Command Reference

tac-debug-pkg create

Creates TAC debug information.

Command Mode

Exec > Global Configuration

Syntax

tac-debug-pkg create { from yyyy-mm-dd_hh:mm:ss | to yyyy-mm-dd_hh:mm:ss | last time_to_now | cfg { false | true } | cores { false | true } | logs { false | true } | metrics { false | true } | stats { false | true }} 

cfg { false | true}

Specify to enable or disable Ops Center configuration collection. To enable, set to true.

Must be one of the following:

  • false

  • true

Default Value: true.

cores { false | true}

Specify to enable or disable core files collection. To enable, set to true.

Must be one of the following:

  • false

  • true

Default Value: true.

from yyyy-mm-dd_hh:mm:ss

Specify the start time in yyyy-mm-dd_hh:mm:ss format.

Must be a string.

last time_to_now

Specify the time to now in number of days, hours, minutes, or seconds.

Must be a string.

logs { false | true}

Specify to enable or disable logs collection. To enable, set to true.

Must be one of the following:

  • false

  • true

Default Value: true.

metrics { false | true}

Specify to enable or disable metrics collection. To enable, set to true.

Must be one of the following:

  • false

  • true

Default Value: true.

stats { false | true}

Specify to enable or disable bulk statistics collection. To enable, set to true.

Must be one of the following:

  • false

  • true

Default Value: true.

to yyyy-mm-dd_hh:mm:ss

Specify the End time: yyyy-mm-dd_hh:mm:ss format.

Must be a string.

Usage Guidelines

Use this command to create TAC debug information.

tac-debug-pkg create cores-filter

Configures the filter for gathering cores.

Command Mode

Exec > Global Configuration

Syntax

tac-debug-pkg create cores-filter process process_name 

process process_name

Specify the name of the process with coredump.

Must be a string.

Usage Guidelines

Use this command to configure the filter for gathering cores.

tac-debug-pkg create logs-filter

Configures filter for gathering logs.

Command Mode

Exec > Global Configuration

Syntax

tac-debug-pkg create logs-filter { pod_name pod_name | namespace namespace} 

namespace namespace

Specify the namespace.

Must be a string.

pod_name pod_name

Specify the pod name.

Must be a string.

Usage Guidelines

Use this command to configure the filter for gathering logs. Filters are combined. Namespace overrides pod_name to include all pods.

tac-debug-pkg delete

Removes TAC debug information.

Command Mode

Exec > Global Configuration

Syntax

tac-debug-pkg delete { tac-id tac_id | last days} 

last days

Specify the packages created in last nth days.

Must be an integer.

tac-id tac_id

Specify the TAC debug package ID.

Must be a string.

Usage Guidelines

Use this command to remove debug information.

tac-debug-pkg merge

Creates single data collection.

Command Mode

Exec > Global Configuration

Syntax

merge 

tac-id tac_id

Specify the TAC debug package ID.

Must be a string.

Usage Guidelines

Use this command to create single data collection.

tac-debug-pkg status

Displays the status of the current TAC debug gathering session.

Command Mode

Exec > Global Configuration

Syntax

tac-debug-pkg status 

Usage Guidelines

Use this command to view status of the current TAC debug gathering session.