--- title: "stat" slug: "cli-archivestorage-stat" updated: 2026-09-17T09:16:11Z published: 2026-09-17T09:16:11Z canonical: "cli.ncloud-docs.com/cli-archivestorage-stat" --- > ## Documentation Index > Fetch the complete documentation index at: https://cli.ncloud-docs.com/llms.txt > Use this file to discover all available pages before exploring further. # stat Classic/VPC 환경에서 이용 가능합니다. 어카운트, 컨테이너(버킷) 또는 오브젝트의 정보를 조회합니다. ## 구문 `stat` 구문은 다음과 같습니다. - 어카운트 ``` swift stat \ [--lh] \ [--header ] ``` - 컨테이너 ``` swift stat \ \ [--lh] \ [--header ] ``` - 오브젝트 ``` swift stat \ \ [--lh] \ [--header ] ``` ## 옵션 `stat` 실행 시 지정할 수 있는 옵션을 설명합니다. ### 필수 옵션 `stat`의 필수 옵션입니다. | 옵션 | 타입 | 필수 여부 | 설명 | | --- | --- | --- | --- | | `<container>` | String | Conditional | 컨테이너 이름 - 미입력 시 어카운트 정보 조회 - `<object>` 입력 시 필수 입력 | ### 선택 옵션 `stat`의 선택 옵션입니다. 지정하지 않은 옵션에는 기본값이 적용됩니다. | 옵션 | 타입 | 필수 여부 | 설명 | | --- | --- | --- | --- | | `<object>` | String | Optional | 오브젝트 이름 - `<container>`와 함께 입력 | | `--lh` | Boolean | Optional | 크기를 읽기 쉬운 단위로 표시 | | `--header` | String | Optional | 정보 조회 요청에 사용할 사용자 정의 헤더 - `header:value` 형식으로 입력 | ### 공통 옵션 `swift` 명령에서 공통으로 사용하는 옵션에 대한 정보는 [Archive Storage 옵션](/docs/guide-archivestorage#%EC%98%B5%EC%85%98)을 참조해 주십시오. ## 예시 명령을 실행하면 조회 대상의 식별 정보와 메타데이터가 출력됩니다. ### 명령 어카운트 정보를 조회하는 명령 예시는 다음과 같습니다. ``` swift stat ``` 오브젝트 정보를 조회하는 명령 예시는 다음과 같습니다. ``` swift stat test-container-01 sample.txt ``` ### 출력 어카운트 정보를 조회하는 출력 예시는 다음과 같습니다. ``` Account: AUTH_a1b2c3d4e5f64a7b8c9d0e1f2a3b4c5d Containers: 1 Objects: 1 Bytes: 22 Containers in policy "standard00": 1 Objects in policy "standard00": 1 Bytes in policy "standard00": 22 Content-Type: application/json; charset=utf-8 X-Timestamp: 1787104388.45305 Accept-Ranges: bytes X-Account-Project-Domain-Id: default X-Trans-Id: tx1a2b3c4d5e6f7890abcde-00a1b2c3d4 X-Openstack-Request-Id: tx1a2b3c4d5e6f7890abcde-00a1b2c3d4 ``` 오브젝트 정보를 조회하는 출력 예시는 다음과 같습니다. ``` Account: AUTH_a1b2c3d4e5f64a7b8c9d0e1f2a3b4c5d Container: test-container-01 Object: sample.txt Content Type: text/plain Content Length: 54 Last Modified: Wed, 19 Aug 2026 01:53:20 GMT ETag: 448575206ef0bb80c79087a7e85c1f5c Meta Mtime: 1787104388.114041 X-Timestamp: 1787104399.90791 Accept-Ranges: bytes X-Trans-Id: tx2b3c4d5e6f7a8901bcdef-00b2c3d4e5 X-Openstack-Request-Id: tx2b3c4d5e6f7a8901bcdef-00b2c3d4e5 ```