Retrieve information system information (svc_mgmt_operations)
This service script enables you to retrieve system information using the service tool. The service tool retrieves information from the command table and the
job_request table.
Usage
Function Diagnostic
Mode Normal or Service
Usage General use
Requires service user password? No
Requires root privileges? No
May cause data unavailability? No
May cause data loss? No
Scope Cluster
Prerequisites None
Format
svc_mgmt_operations [-h] {all_locks,all_top_level_commands,command_tree,commands_by_type,
pending_locks,granted_locks_with_pending_locks,command_type_summary,failed_top_level_commands,
command_by_id,locks_by_command_id,locks_by_resource_id,command_hierarchy_for_cleanup,command_detail}
Optional arguments
Qualifier Description
-h ,
--help Show the help message and exit.
Actions
Action Description
all_locks Query the lock request table for all locks.
all_top_level_commands Query the command table for all top-level successful commands.
command_tree Query the command tree.
commands_by_type Query the command table by the command type.
command_type_summary Query the command table by the type summary.
failed_top_level_commands Query the command table for all top-level failed commands.
command_by_id Query the command table by the command ID.
locks_by_command_id Query the lock request table by the command ID.
locks_by_resource_id Query the lock request table by the resource ID.
pending_locks Query for all pending locks.
granted_locks_with_pending_locks Query all granted locks with pending locks.
command_hierarchy_for_cleanup Show the hierarchy and all associated records for given commands.
command_detail Query command details.
Example
The following command reports information for the command tree for single or multiple commands, depending upon which option is chosen:
svc_mgmt_operations command_tree [-h] [--command_type <value> ] [--failed_commands] [--all_commands]
[--command_id <value> ]
Query command tree using query type EnumQueryCommand.all_top_level_commands
====================================================================================================
+ CreateClusterCommand: 9238b9f7-03b9-4ca2-90fd-8550506b8617 - 0:07:50.057000, 2019-03-19 16:15:59.385000+00:00 / 2019-03-19 16:23:49.442000+00:00
+---SystemDataCollectionCommand: e566df31-49c4-4924-ad3f-e958122e57a7 - 0:01:03.672000, 2019-03-19 16:23:49.500000+00:00 / 2019-03-19 16:24:53.172000+00:00
+---FiremanCommand: 65b7469f-9712-4b92-b1df-57132e43a783 - 0:01:03.250000, 2019-03-19 16:23:49.869000+00:00 / 2019-03-19 16:24:53.119000+00:00
+---CheckAndUpdateLocalConfigStateCommand: 85d67f90-4bc9-4779-80de-a4c8251620a4 - 0:00:00.015000, 2019-03-19 16:23:49.108000+00:00 / 2019-03-19 16:23:49.123000+00:00
+---UpdateClusterSoftwareInstalledCommand: 3fcf074a-bf39-4ac3-821d-67da230f9a51 - 0:00:00.053000, 2019-03-19 16:23:48.957000+00:00 / 2019-03-19 16:23:49.010000+00:00
+---InsertX509CertificateCommand: 2e3d2cb1-4aa7-435c-ab41-a34ccc75b3a5 - 0:00:00.583000, 2019-03-19 16:23:48.265000+00:00 / 2019-03-19 16:23:48.848000+00:00
+---InsertX509CertificateCommand: dc05f685-e94b-4748-9ad0-4511b5aaad99 - 0:00:00.311000, 2019-03-19 16:23:47.456000+00:00 / 2019-03-19 16:23:47.767000+00:00
+---InsertX509CertificateCommand: 14268e96-87fc-46db-9c68-ed3bea63037e - 0:00:00.563000, 2019-03-19 16:23:46.839000+00:00 / 2019-03-19 16:23:47.402000+00:00
+---InsertX509CertificateCommand: a1904d62-97fb-4eaf-8480-1249e8cf060b - 0:00:00.314000, 2019-03-19 16:23:46.476000+00:00 / 2019-03-19 16:23:46.790000+00:00
+---InsertX509CertificateCommand: ce22f112-f9fe-4c28-b95e-6d7089257d1f - 0:00:00.315000, 2019-03-19 16:23:42.823000+00:00 / 2019-03-19 16:23:43.138000+00:00
+---InsertX509CertificateCommand: 0d0046d5-7700-4978-badc-f916252aed2c - 0:00:00.418000, 2019-03-19 16:23:29.845000+00:00 / 2019-03-19 16:23:30.263000+00:00
+---SaveClusterNetworkObjectsCommand: 62dbffb5-a207-4098-a226-a9e6a0fa0d6d - 0:00:00.051000, 2019-03-19 16:23:08.579000+00:00 / 2019-03-19 16:23:08.630000+00:00
+---UpdateMtuCommand: 73727a67-b5ce-4e70-86f3-ee5ad383ce1d - 0:00:00.971000, 2019-03-19 16:23:05.614000+00:00 / 2019-03-19 16:23:06.585000+00:00
+---PerformUpdateMtuCommand: 38e0b04f-ba03-49ad-9b4e-b573a3af32c4 - 0:00:00.207000, 2019-03-19 16:23:06.274000+00:00 / 2019-03-19 16:23:06.481000+00:00
+---GetDarePropertiesCommand: f18864e1-7a20-426b-912d-f75d8ac82258 - 0:00:00.034000, 2019-03-19 16:23:05.152000+00:00 / 2019-03-19 16:23:05.186000+00:00
+---JoinClusterCommand: b0798f68-eb1c-4ba4-aeeb-3ccedcdad52f - 0:07:01.089000, 2019-03-19 16:16:03.961000+00:00 / 2019-03-19 16:23:05.050000+00:00
+---ModifySSHConfigCommand: e69d580a-f226-4dce-b170-cab9a45d0e33 - 0:00:01.713000, 2019-03-19 16:23:03.180000+00:00 / 2019-03-19 16:23:04.893000+00:00
+---CreateStorageContainerCommand: 7a23b7fd-d09f-4965-8838-57cbe744a631 - 0:00:00.656000, 2019-03-19 16:23:02.284000+00:00 / 2019-03-19 16:23:02.940000+00:00
+---QueryAndSaveSoftwareInstalledCommand: cb999a45-fe40-4203-802f-f7726c36a86b - 0:00:00.664000, 2019-03-19 16:22:56.681000+00:00 / 2019-03-19 16:22:57.345000+00:00
====================================================================================================
+ PlatformEventSendCommand: ef27ab54-cb8b-483f-9836-e3e782525564 - 0:00:22.442000, 2019-03-19 16:23:02.246000+00:00 / 2019-03-19 16:23:24.688000+00:00
====================================================================================================
+ CreateLocalSystemCommand: 1a57f5fc-e63f-494c-85ac-ffc4fa95e2a2 - 0:00:21.017000, 2019-03-19 16:23:49.265000+00:00 / 2019-03-19 16:24:10.282000+00:00
+---CreateRediscoverTransitConnectionCommand: e480f0a2-0596-4e1d-b4ff-cfac4b271285 - 0:00:08.363000, 2019-03-19 16:24:01.908000+00:00 / 2019-03-19 16:24:10.271000+00:00
+---CreateTransitConnCommand: 0ea9a5c0-7445-4b6c-895e-2c2708c0f6b1 - 0:00:00.613000, 2019-03-19 16:24:09.627000+00:00 / 2019-03-19 16:24:10.240000+00:00
+---CreateHostCommand: 406bb834-5267-4e8f-9156-994cc07a3476 - 0:00:00.881000, 2019-03-19 16:23:52.687000+00:00 / 2019-03-19 16:23:53.568000+00:00
+---ConnectHostToStorageCommand: b9d2c573-4b0b-46cf-a126-a1a4e42e2e88 - 0:00:00.629000, 2019-03-19 16:23:52.877000+00:00 / 2019-03-19 16:23:53.506000+00:00
+---AddEndPointToInitiatorGroupCommand: ee340164-355b-4313-a39b-209f20824ce1 - 0:00:00.156000, 2019-03-19 16:23:53.294000+00:00 / 2019-03-19 16:23:53.450000+00:00
+---AddEndPointToInitiatorGroupCommand: 1605ea79-683a-4a59-b561-e6545ccdcc89 - 0:00:00.116000, 2019-03-19 16:23:53.284000+00:00 / 2019-03-19 16:23:53.400000+00:00
+---AddInitiatorCommand: a1fde4ee-9c84-4cb8-8073-4845b3057786 - 0:00:00.104000, 2019-03-19 16:23:53.145000+00:00 / 2019-03-19 16:23:53.249000+00:00
+---AddInitiatorCommand: 4f501a6e-6781-4fe9-854b-97d21ea08866 - 0:00:00.089000, 2019-03-19 16:23:53.144000+00:00 / 2019-03-19 16:23:53.233000+00:00
+---AddInitiatorGroupCommand: 13ad6e5c-191b-4346-9d3f-b9a65140b527 - 0:00:00.187000, 2019-03-19 16:23:52.927000+00:00 / 2019-03-19 16:23:53.114000+00:00
====================================================================================================
+ ApplianceRemoteSupportConnectivityStatusCommand: 8148cc9d-9aa7-44cc-b66c-5a5d495b1e25 - 0:00:00.004000, 2019-03-19 20:07:57.130000+00:00 / 2019-03-19 20:07:57.134000+00:00
Completed Query command tree using query type EnumQueryCommand.all_top_level_commands