Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products

Dell PowerStore Service Scripts Guide

Display the command tree (svc_mgmt_operations command_tree)

This service script displays the command tree for single or multiple commands, depending upon the option that you enter.

Usage

FunctionDiagnostic
ModeNormal or Service
UsageGeneral use
Requires service user password?No
Requires root privileges?No
May cause data unavailability?No
May cause data loss?No
ScopeCluster
PrerequisitesNone

Format

svc_mgmt_operations command_tree [-h] [--all_commands] [--failed_commands]
[--command_id <value>] [--command_type [command_type 
value]] [--command_state [{INITIAL,QUEUED,RUNNING,COMPLETED}]] 
[--start_after <value>] 
[--end_after <value>] [--processing_longer_than <value>] 
[--processing_shorter_than <value>] [--top_level_commands] 
[--response_status [{OK,VALIDATION_ERROR,NOT_FOUND_ERROR,ERROR,INTERNAL_ERROR,
UNKNOWN,RUNNING,CANCELLED,UNRECOVERABLE_ERROR,BUSY} [{OK,VALIDATION_ERROR,
NOT_FOUND_ERROR,ERROR,INTERNAL_ERROR,UNKNOWN,RUNNING,CANCELLED,UNRECOVERABLE_ERROR,
BUSY} ...]]] [--response_state {CREATED,ACKNOWLEDGED}]

Optional arguments

QualifierDescription
-h, --helpShow the help message and exit.
--all_commandsShow top-level commands with the response status OK.
--failed_commandsShow top-level commands with the response status ERROR.
--command_idShow the command by ID.
--command_typeShow commands that match the specified command type.
--command_stateShow commands that match the specified command state. You can filter the records to only show commands in the following states:
  • INITIAL
  • QUEUED
  • RUNNING
  • COMPLETED
--start_beforeShow commands that started before the specified time.
--end_beforeShow commands that ended before the specified time.
--start_afterShow commands that started after the specified time.
--end_afterShow commands that ended after the specified time.
--processing_longer_thanShow commands with a processing time longer than the specified interval.
--processing_shorter_thanShow commands with a processing time shorter than the specified interval.
--top_level_commandsFilter nontop-level commands.
--response_statusShow commands that match the specified response status. You can filter the records to only show commands in the following states:
  • OK
  • VALIDATION_ERROR
  • NOT_FOUND_ERROR
  • ERROR
  • INTERNAL_ERROR
  • UNKNOWN
  • RUNNING
  • CANCELLED
  • UNRECOVERABLE_ERROR
  • BUSY
--response_stateShow commands that match the specified response state. You can filter the records to only show commands in the following states:
  • CREATED
  • ACKNOWLEDGED

Example

The following example shows the output for the command svc_mgmt_operations command_tree when searching for error responses within a one-day period:

svc_mgmt_operations command_tree --response_status ERROR --end_before "1 day ago"
Query command tree using filter (end_time < (current_timestamp - interval '1 day')) AND (response_status = 'ERROR')
====================================================================================================
 
+ LicenseRetrieveCommand: 9a1cee95-6854-4e1b-84c1-d87d8ece660c - 0:00:39.854691, 2021-10-13 08:06:45.762335+00:00 / 2021-10-13 08:07:25.617026+00:00
 
 
====================================================================================================
 
+ SupportMetricsCaptureCommand: 2ba04890-33a2-460a-9486-95f35851bea0 - 0:00:12.819054, 2021-10-13 08:54:52.413837+00:00 / 2021-10-13 08:55:05.232891+00:00
  +---FiremanCommand: 57d9a1ba-005c-4d1b-aaee-7e4b96d985e9 - 0:00:12.151396, 2021-10-13 08:54:52.765127+00:00 / 2021-10-13 08:55:04.916523+00:00
 
 
====================================================================================================
 
+ SupportMetricsCaptureCommand: 2e2766ca-02f7-43ff-b236-5b45709a396b - 0:00:10.893175, 2021-10-13 09:44:52.418265+00:00 / 2021-10-13 09:45:03.311440+00:00
  +---FiremanCommand: f135af21-5a11-462e-a96d-7388a6ae2cad - 0:00:10.520132, 2021-10-13 09:44:52.761297+00:00 / 2021-10-13 09:45:03.281429+00:00
 
 
====================================================================================================
 
+ EventsAlertsAgingCommand: bc14dfdf-5d06-499d-a0e1-9808e82d1d03 - 0:00:00.082732, 2021-10-13 08:09:34.234645+00:00 / 2021-10-13 08:09:34.317377+00:00
 
Completed Query command tree using filter (end_time < (current_timestamp - interval '1 day')) AND (response_status = 'ERROR')

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\