nmgr showinst
Function
The nmgr showinst command is used to query the instance object details about a node manager in the system.
Format
nmgr showinst -d index
Parameters
Parameter |
Description |
Value |
---|---|---|
index |
Index of node manager instances. |
To obtain the value, run the "nmgr showallinst" command. |
Views
Diagnostic view
Usage Guidelines
This command can be used to query the details about the object memory such as the allocation queue when an error occurs in the node manager module.
Example
Query the object details about node manager instance 0 in the system.
admin:/diagnose>nmgr showinst -d 0
NodeInst : 0x1000000100000000
DiskSegId : 0x40000000
SegOff : 0x8000
Pool ID : 0
Segment type : 0
Volume ID : 0x1000000100000000
Node Size : 32(sector)
Default Reserve Num : 64
Flags : 0
Active Tx ID : 0x5a71
Pending Tx ID : 0x5a71
Pending Tx VolID : 0x1000000100000000
Max Node Number : 0x4093
Pending Max Node Number : 0x4093
Used Node Number : 0x30
Pending Used Node Number : 0x30
Root Segment ID : 0x40000005
Pend Root Seg ID : 0x40000005
Root Alloc Seg ID : 0x40000005
Pend Root Alloc Seg ID : 0x40000005
Write Num : 34
Prealloc Seg Num : 0
Pend prealloc Seg Num : 0
Disk Segment ID : 0x40000000
Disk Segment Offset : 0x8000
Version : 2
Preallocated segment info : 0
Nodequeue Node Info : 15
Node Num : 15
Pending Node Num : 15
Head : 31
Pending Head : 31
Tail : 46
Pending Tail : 46
Index Node
---------- --------------------
31 0x400000050024
32 0x400000050029
33 0x400000050027
34 0x400000050021
35 0x400000050020
36 0x400000050026
37 0x40000005001f
38 0x40000005002b
39 0x400000050023
40 0x40000005002c
41 0x400000050025
42 0x400000050015
43 0x400000050028
44 0x40000005002d
45 0x400000050011
Cowqueue Node Info : 1
Node Num : 1
Pending Node Num : 1
Head : 68
Pending Head : 68
Tail : 69
Pending Tail : 69
Index Node
---------- --------------------
68 0x40000005001e
System Response
The following table describes the parameter meanings.
Parameter |
Meaning |
---|---|
NodeInst |
Volume ID of the instance. |
DiskSegId |
Instance address. |
SegOff |
Instance offset address. |
Pool ID |
Storage pool ID. |
Segment type |
Address type. |
Volume ID |
Volume ID of the instance. |
Node Size |
Node size. |
Default Reserve Num |
Number of reserved nodes. |
Flags |
Flags. |
Active Tx ID |
Task ID. |
Pending Tx ID |
Pending task ID. |
Pending Tx VolID |
Pending task ID of the volume. |
Max Node Number |
Maximum number of nodes. |
Pending Max Node Number |
Maximum number of nodes when tasks are not delivered. |
Used Node Number |
Number of used nodes. |
Pending Used Node Number |
Maximum number of nodes used when tasks are not submitted. |
Root Segment ID |
Root segment ID. |
Pend Root Seg ID |
Root segment ID before the segment expansion task is submitted. |
Root Alloc Seg ID |
First segment ID in the allocation linked list. |
Pend Root Alloc Seg ID |
First segment ID in the allocation linked list before the task is submitted. |
Write Num |
Write sequence number of the instance. |
Prealloc Seg Num |
Number of preallocated segments. |
Pend prealloc Seg Num |
Number of preallocated segments before the task is submitted. |
Disk Segment ID |
Position of the node management object on the disk. |
Disk Segment Offset |
Segment offset. |
Version |
Version of instance. |
Preallocated segment info |
Information of preallocated segments. |
Nodequeue Node Info |
Number of available allocation nodes. |
Cowedqueue Node Info |
Number of released cowed nodes saved in the task. |
Node Num |
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. |
Index |
Index of the node in the queue. |
Node |
Address of the node in the queue. |