# getLevelFileIndexCacheStatus {#getlevelfileindexcachestatus}

## Syntax {#syntax}

`getLevelFileIndexCacheStatus()`

## Arguments {#arguments}

None

## Details {#details}

Obtain the memory usage of the indexes of all level files. Return a dictionary with the following keys:

-   capacity: is the maximum size of level file index in the TSDB engine.

-   usage: is the size of the memory used \(in bytes\).


## Examples {#examples}

```
getLevelFileIndexCacheStatus()
/* output:
usage->0
capacity->429496729
*/
```

