Skip to content

Commit

Permalink
curve-tools: add more info to display the logical pool
Browse files Browse the repository at this point in the history
  • Loading branch information
SeanHai authored and ilixiaocui committed Mar 11, 2021
1 parent 1d42666 commit 4bf3fdb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/tools/status_tool.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -354,6 +354,9 @@ int StatusTool::LogicalPoolListCmd() {
<< ", physicalPoolID = " << lgPool.physicalpoolid()
<< ", type = "
<< curve::mds::topology::LogicalPoolType_Name(lgPool.type())
<< ", allocateStatus = "
<< curve::mds::topology::
AllocateStatus_Name(lgPool.allocatestatus())
<< ", total space = " << totalSize / curve::mds::kGB << "GB"
<< ", used space = " << usedSize / curve::mds::kGB << "GB"
<< "(" << usedRatio * 100 << "%, can be recycled = "
Expand Down

0 comments on commit 4bf3fdb

Please sign in to comment.