volume showresrunning
Function
Parameters
Parameter |
Description |
Value |
---|---|---|
volumeid | Volume ID. | The value ranges from 0 to n minus one. n indicates the maximum number of LUNs. |
all | All resource type. | - |
type | Resource type. | Possible values are:
|
Example
View statistics on volume allocation and release.
admin:/diagnose>volume showresrunning 0 data Allocate Statistics Extent Num From Pool : 0 Grain Num From Res Tree : 0 Total In Grain : 0 Total Out Grain : 0 Free Statistics Extent Num To Pool : 0 Grain Num In Res Tree : 0 Total In Grain : 0 Total Out Grain : 0 Res Tree Total Entry Num : 0 Leaf Node Num : 0 Inner Node Num : 0 Root ID : 0xffffffffffffffff Res Manager Grain Density : 1 Res Alloc New Max Grain Num : 1056 Max Bit Num : 81920 Allocate Threshold : 16 Task Num : 0 Background Allocate Task Task State : Enable Is Allocate Task In Process : FALSE Total Request Grain Num : 0 Finished Request Grain Num : 0 Front Allocate Waiting Task Waiting Task Status : TASK_NOT_USED TX ID : 0xffffffffffffffff Waiting Grain Num : 0 Finished Grain Num : 0 Res Free New Max Grain Num : 64 Max Item Num : 1280 Task Num : 0 Background Free Task Task State : Idle Is Free Task In Process : FALSE Total Request Grain Num : 0 Finished Request Grain Num : 0 Res Free Extent New Max Grain Num : 64 Max Item Num : 1280 Task Num : 0 Background Free Extent Task Task State : Idle Is Free Extent Task In Process : FALSE Total Request Grain Num : 0 Finished Request Grain Num : 0 Front Free Waiting Task Waiting Task Status : TASK_NOT_USED TX ID : 0xffffffffffffffff Waiting Grain Num : 0 Finished Grain Num : 0 Thick Lun Pre Alloc Task Is Task Finished : Yes Is Task In Process : No Current Alloc Extend ID : 0 Finished Extent Num : 51200 Total Extent Num : 51200
System Response
The following table describes the parameter meanings.
Parameter |
Meaning |
---|---|
Allocate Statistics | Statistics on resource allocation. |
Extent Num From Pool | Number of extents allocated from the pool. |
Grain Num From Res Tree | Number of grains allocated from the resource tree. |
Total In Grain | Total number of grains that are in queues. |
Total Out Grain | Total number of grains that are outside the queues. |
Free Statistics | Statistics on resource release. |
Extent Num To Pool | Number of extents released to the pool. |
Grain Num In Res Tree | Number of extents in the resource tree. |
Res Tree | Resource tree information. |
Total Entry Num | Number of nodes. |
Leaf Node Num | Number of leaf nodes. |
Inner Node Num | Number of internal nodes. |
Root ID | ID of the root node. |
Res Manager | Resource management information. |
Grain Density | Grain density, expressed in grains per extent. |
Res Alloc New | Allocator information. |
Max Grain Num | Maximum number of grains that can be allocated each time. |
Max Bit Num | Maximum length of the allocation queue. |
Allocate Threshold | Enabled background allocation threshold. |
Task Num | Number of background tasks. |
Background Allocate Task | Information about background allocation tasks. |
Task State | Task status. |
Is Allocate Task In Process | Whether resource reservation is in progress. |
Total Request Grain Num | Number of grain applied this time. |
Finished Request Grain Num | Number of finished grains. |
Front Allocate Waiting Task | Information about allocation waiting tasks. |
Waiting Task Status | Status of allocation waiting tasks. |
TX ID | Task ID. |
Waiting Grain Num | Number of grains to be allocated. |
Finished Grain Num | Number of grains that have been allocated. |
Res Free New | Releaser information. |
Max Item Num | Maximum number of items that can be released each time. |
Task Num | Maximum number of items in a queue. |
Background Free Task | Information about background release tasks. |
Task State | Task status. |
Is Free Task In Process | Whether resource release is in progress. |
Total Request Grain Num | Total number of grains to be released. |
Finished Request Grain Num | Number of grains that have been released. |
Res Free Extent New | Information about background release. |
Max Grain Num | Maximum number of grains that can be released each time. |
Max Item Num | Maximum length of the release queue. |
Task Num | Number of release tasks. |
Background Free Extent Task | Information about level-2 background release. |
Task State | Task status. |
Is Free Extent Task In Process | Whether level-2 background tasks are in progress. |
Total Request Grain Num | Not used at present. |
Finished Request Grain Num | Not used at present. |
Front Free Waiting Task | Information about foreground release waiting tasks. |
Waiting Task Status | Status of the waiting task. |
TX ID | Task ID. |
Waiting Grain Num | Number of grains to be released. |
Finished Grain Num | Number of grains that have been released. |
Thick Lun Pre Alloc Task | Information about the pre-allocation of thick LUNs. |
Is Task Finished | Whether a task is complete. |
Is Task In Process | Whether a task is in progress. |
Current Alloc Extend ID | Extent ID currently allocated. |
Finished Extent Num | Pre-allocation progress. |
Total Extent Num | Total number of allocated extents. |