Management menu

The mgmt menu is used only for reporting present clients for the StorPool API; example output:

# storpool mgmt clients

-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
| id     | name              | ip          | port  | queue                    | mode | command              | state   | clientState         | started             | runningFor | blockedBy | progress |
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
| 283874 | 10.2.55.207:36770 | 10.2.55.207 | 36770 | clients                  | HTTP | GET AllClientsStatus | running | PAGER               | 2023-03-30 13:16:33 | 00:00:00   |           | ---      |
| 283871 | 10.2.55.207:36764 | 10.2.55.207 | 36764 | volumeSpaceClients.list  | HTTP | GET SnapshotsSpace   | running | LIST_SNAPSHOT_SPACE | 2023-03-30 13:16:33 | 00:00:00   |           | 20%      |
| 283872 | 10.2.55.207:36766 | 10.2.55.207 | 36766 | 283871.blockedClients    | HTTP | GET VolumesSpace     | blocked | STATE_ERROR         | 2023-03-30 13:16:33 | 00:00:00   |    283871 | 0%       |
| 283873 | 10.2.55.207:36768 | 10.2.55.207 | 36768 | volumeStatusClients.list | HTTP | GET VolumesGetStatus | running | LIST_VOLUME_STATUS  | 2023-03-30 13:16:33 | 00:00:00   |           | ---      |
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

The output includes present running tasks. Each task is identified by an id. This id is then visible as a blocker (as blockedBy) in case some of the other tasks is depending on it to finish.

This information is useful when debugging API-related issues, or for general API usage observations.