查询Wcache全局信息。
cache show global
参数 |
参数说明 |
取值 |
---|---|---|
NA |
NA |
NA |
查询Wcache配置信息。
cache show confinfo
参数 |
参数说明 |
取值 |
---|---|---|
NA |
NA |
NA |
查询cachepool信息。
cache show cachepool all
cache show cachepool <poolid> {concur | hangio | all | <vnodeid>}
参数 |
参数说明 |
取值 |
---|---|---|
poolid |
cache pool ID |
0 |
vnodeid |
vnode ID |
0~127 |
查询destage开关使能情况。
cache show dsgAlgObj
参数 |
参数说明 |
取值 |
---|---|---|
NA |
NA |
NA |
查询destage信息。
cache show dsgparam
cache show dsgparam {batchconcur | concur} <diskId>
参数 |
参数说明 |
取值 |
---|---|---|
diskId |
diskId |
0或者1 |
查询所有IO信息。
cache show io
参数 |
参数说明 |
取值 |
---|---|---|
NA |
NA |
NA |
查看当前并发。
cache show concur
参数 |
参数说明 |
取值 |
---|---|---|
NA |
NA |
NA |
查看全局quota使用情况。
cache show quota global
cache show quota public
cache show quota cachepool {all | <cachePoolId>}
参数 |
参数说明 |
取值 |
---|---|---|
cachePoolId |
cachePool的ID |
0 |
查询subdsg对象信息。
cache show subdsgobj <poolId> all
cache show subdsgobj <poolId> <vnodeid> <flowid> <single|eff|all|trace>
cache show subdsgobj <poolId> <vnodeid> <flowid> trace
cache show subdsgobj <poolId> <vnodeid> <flowid> trace <endTraceIndex> <traceCnt>
cache show subdsgobj <poolId> <vnodeid> <flowid> [tag]
参数 |
参数说明 |
取值 |
---|---|---|
poolid |
pool的ID |
0 |
vnodeid |
vnode的ID |
0~127 |
flowid |
flow的ID |
0 |
endTraceIndex |
trace索引位置 |
0 - 65536 |
traceCnt |
trace数量 |
1-1023 |
查询dsg对象信息。
cache show dsgobj <poolId> info
cache show dsgobj <poolId> chunk
cache show dsgobj <poolId> io
cache show dsgobj <poolId> worker
cache show dsgobj <poolId> batchsimple
参数 |
参数说明 |
取值 |
---|---|---|
poolid |
pool的ID |
0 |
查看wcache的所有label信息。
cache show label [diff | uint] {all | groupID}
参数 |
参数说明 |
取值 |
---|---|---|
groupID |
0 : [cache_public] 1 : [rcache] 2 : [proc] 3 : [wcache] 4 : [wcache_idx] 5 : [wcache_destage] 6 : [DSG_INDEX_LABEL] 7 : [wal_idx] 8 : [rcache_classify] |
diff groupID取值:0-8 |
groupID |
0 : [cache_public_uint] 1 : [rcache_uint] 2 : [wcache] 3 : [dsg_label_uint] |
uint groupID取值:0-3 |
清空所有label的统计。
cache reset label {all | atomic | uint}
参数 |
参数说明 |
取值 |
---|---|---|
NA |
NA |
NA |
查看所有本节点上ceph下发过的pool和内部destage聚合索引关系。
cache show cephpoolindex <poolId>
参数 |
参数说明 |
取值 |
---|---|---|
poolId |
0 |
0 |
查看GlobalCache qos的状态信息,回显分两部分上下两部分。上半部分qos未控制的时候状态显示(最多15条),下半部分qos控制以后的显示记录(最多385条记录)。
cache show overloadctrl <appType>
参数 |
参数说明 |
取值 |
---|---|---|
appType |
pool类型 |
0 |