forked from docs/doc-exports
Reviewed-by: Sabelnikov, Dmitriy <dmitriy.sabelnikov@t-systems.com> Co-authored-by: weihongmin1 <weihongmin1@huawei.com> Co-committed-by: weihongmin1 <weihongmin1@huawei.com>
13 lines
1.5 KiB
HTML
13 lines
1.5 KiB
HTML
<a name="obs_11_0077"></a><a name="obs_11_0077"></a>
|
|
|
|
<h1 class="topictitle1">Why Is the Size of Objects Queried by obsutil Inconsistent with That on OBS Console?</h1>
|
|
<div id="body0000001200988419"><p id="obs_11_0077__p8060118">When you use obsutil to list all objects in a bucket, the listing result contains the total size of the objects. If the total size is different from that on OBS Console or OBS Browser+, go through the following list to locate the fault:</p>
|
|
<ol id="obs_11_0077__ol148571511177"><li id="obs_11_0077__li685712113718">To query the number of objects in a bucket and the space occupied by the objects, both OBS Browser+ and OBS Console call the API for . The results obtained by them correspond to the output by calling the <strong id="obs_11_0077__b13698235111717">stat</strong> command in obsutil. On OBS Browser+ and OBS Console, the bucket storage statistics are measured in the backend and are not real time. Therefore, you are advised to use obsutil to query the storage usage.</li><li id="obs_11_0077__li85391172109">Check whether there are object fragments in the bucket on OBS Browser+ and OBS Console by referring to <a href="obs_11_0019.html">Listing Multipart Upload Tasks</a>. OBS bucket storage statistics cover the size of both objects and object fragments in a bucket, but obsutil lists only the objects in a bucket.</li></ol>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="obs_11_0074.html">FAQs</a></div>
|
|
</div>
|
|
</div>
|
|
|