Rate This Document
Findability
Accuracy
Completeness
Readability

Wcache CLI Commands

cache show global

  • Function

    Queries the global Wcache information.

  • Syntax

    cache show global

  • Parameters

    Parameter

    Description

    Value

    N/A

    N/A

    N/A

cache show confinfo

  • Function

    Queries the Wcache configuration information.

  • Syntax

    cache show confinfo

  • Parameters

    Parameter

    Description

    Value

    N/A

    N/A

    N/A

cache show cachepool

  • Function

    Queries the cache pool information.

  • Syntax

    cache show cachepool all

    cache show cachepool <poolid> {concur | hangio | all | <vnodeid>}

  • Parameters

    Parameter

    Description

    Value

    poolid

    Cache pool ID

    0

    vnodeid

    vnode ID

    0-127

cache show dsgAlgObj

  • Function

    Queries whether the destage function is enabled.

  • Syntax

    cache show dsgAlgObj

  • Parameters

    Parameter

    Description

    Value

    N/A

    N/A

    N/A

cache show dsgparam

  • Function

    Queries the destage information.

  • Syntax

    cache show dsgparam

    cache show dsgparam {batchconcur | concur} <diskId>

  • Parameters

    Parameter

    Description

    Value

    diskId

    Drive ID

    0 or 1

cache show io

  • Function

    Queries all I/Os.

  • Syntax

    cache show io

  • Parameters

    Parameter

    Description

    Value

    N/A

    N/A

    N/A

cache show concur

  • Function

    Queries the current concurrency.

  • Syntax

    cache show concur

  • Parameters

    Parameter

    Description

    Value

    N/A

    N/A

    N/A

cache show quota

  • Function

    Queries the global quota usage.

  • Syntax

    cache show quota global

    cache show quota public

    cache show quota cachepool {all | <cachePoolId>}

  • Parameters

    Parameter

    Description

    Value

    cachePoolId

    Cache pool ID

    0

cache show subdsgobj

  • Function

    Queries subdsg objects.

  • Syntax

    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]

  • Parameters

    Parameter

    Description

    Value

    poolid

    Pool ID

    0

    vnodeid

    vnode ID

    0-127

    flowid

    Flow ID

    0

    endTraceIndex

    Trace index location

    0-65536

    traceCnt

    Number of traces

    1-1023

cache show dsgobj

  • Function

    Queries dsg objects.

  • Syntax

    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

  • Parameters

    Parameter

    Description

    Value

    poolid

    Pool ID

    0

cache show label

  • Function

    Queries all labels of the Wcache.

  • Syntax

    cache show label [diff | uint] {all | groupID}

  • Parameters

    Parameter

    Description

    Value

    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]

    The value of diff groupID ranges from 0 to 8.

    groupID

    0: [cache_public_uint]

    1: [rcache_uint]

    2: [wcache]

    3: [dsg_label_uint]

    The value of uint groupID ranges from 0 to 3.

cache reset label

  • Function

    Clears the statistics of all labels.

  • Syntax

    cache reset label {all | atomic | uint}

  • Parameters

    Parameter

    Description

    Value

    N/A

    N/A

    N/A

cache show cephpoolindex

  • Function

    Displays the index relationship between the pools and internal destage aggregations delivered by Ceph on the current node.

  • Syntax

    cache show cephpoolindex <poolId>

  • Parameters

    Parameter

    Description

    Value

    poolId

    Pool ID

    0

cache show overloadctrl

  • Function

    Displays the Global Cache QoS status. The command output consists of two parts. In the upper part, a maximum of 15 records are displayed when QoS control is not enabled. In the lower part, a maximum of 385 records are displayed after QoS control is enabled.

  • Syntax

    cache show overloadctrl <appType>

  • Parameters

    Parameter

    Description

    Value

    appType

    Pool type

    0