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
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

Dell PowerStore Service Scripts Guide

See command details (svc_mgmt_operations command_detail)

This service script enables you to query commands using filters and see details for each command.

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_detail [-h] [--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.
--command_idShow the command by ID.
--command_typeShow commands that match the specified command type.
--command_stateShow commands that match the specified command state.
--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.
--response_stateShow commands that match the specified response state.

Example

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

svc_mgmt_operations command_detail --response_status ERROR --end_before "1 day ago"
Query command details using filter (end_time < (current_timestamp - interval '1 day')) AND (response_status = 'ERROR')
====================================================================================================
Command : com.emc.cyclone.contexts.elicense.domain.commands.LicenseRetrieveCommand
id : 9a1cee95-6854-4e1b-84c1-d87d8ece660c
command type : com.emc.cyclone.contexts.elicense.domain.commands.LicenseRetrieveCommand
internal : False
command json : {"executionLocation":"CLUSTER_MASTER","userRole":"","is_restartable":true,"submit_time":"2021-10-13T08:06:45.473142Z","is_encrypted":false,"canQueue":true,"retention_period":0}
work unit status : FAILED
perc. complete : 100
processing time: 0:00:39.854691
start time : 2021-10-13 08:06:45.762335+00:00
end time : 2021-10-13 08:07:25.617026+00:00
completion time : None
percent. completed time : 100
status response : ERROR
response class name : com.emc.bedrock.command.SimpleCommandResponse
messages : [{"code": "0xE0D010020005", "@class": "com.emc.bedrock.core.LocalizableMessage", "severity": "ERROR", "arguments": ["Failed to get the token"], "description": null, "localizedMessage": null, "resourceBundleName": "com.emc.cyclone.messages.elicense.Elicense", "encodedLocalizedJson": null}]
json response : {}

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: <>()\