nmgr showseginfo
Function
Parameters
Parameter |
Description |
Value |
---|---|---|
index | Index of the node manager instance. | The value can be obtained by running the nmgr showallinst command. |
segment id | The segment ID for the node manager instance. | The value can be obtained by running the nmgr showallinst command. |
Usage Guidelines
The nmgr showseglist command can be used to query the segment information for the node manager instance.
Example
Query the information of segment 0x40000005 and index 0.
admin:/diagnose> nmgr showseginfo -d 0 -s 0x40000005 Segment ID : 0x40000005 NodeInst : 0x1000000100000000 Segment Size : 131072(sector) Node Size : 32(sector) Max node num : 4093 Alloced Node Num : 45 Pend Alloced Node Num : 45 Next Alloc Node Index : 45 Pend Next Alloc Node Index : 45 Flags : 16384 Next Segment ID : 0xffffffffffffffff Pend Next Segment ID : 0xffffffffffffffff Next Alloc Segment ID : 0xffffffffffffffff Pend Next Alloc Segment ID : 0xffffffffffffffff Free Region Index : 0 Pend Free Region Index : 0 Segment Version : 2 Write Num : 24 Name : Free Region Free Region Page Num : 8 Node Count : 0 Pending Node Num : 0 Head : 0 Pending Head : 0 Tail : 0 Pending Tail : 0
System Response
The following table describes the parameter meanings.
Parameter |
Meaning |
---|---|
Segment ID | Segment ID. |
NodeInst | Volume ID of the instance. |
Segment Size | Segment size. |
Node Size | Node size. |
Max node num | Number of nodes allocated to the segment. |
Alloced Node Num | Maximum number of nodes that can be allocated to the segment. |
Pend Alloced NodeNum | Number of pending allocated nodes. |
Next Alloc Node Index | Position of the next allocated node. |
Pend Next Alloc Node Index | Position of the next updated node that can be allocated during the task. |
Flags | Status flag. |
Next Segment ID | Next segment ID. |
Pend Next Segment ID | Next segment ID updated during the task. |
Next Alloc Segment ID | Next segment ID in alloc_seg_list. |
Pend Next Alloc Segment ID | Next segment ID updated during the task in alloc_seg_list. |
Name | The unallocated area of the segment. |
Free Region Page Num | Ratio of this area to the page. |
Node Count | Number of active nodes. |
Pending Node Num | Number of pending nodes. |
Head | Head of the active queue. |
Pending Head | Head of the pending queue. |
Tail | Tail of the active queue. |
Pending Tail | Tail of the pending queue. |