1# stack 2 3 4## Command Function 5 6This command is used to check the usage of each stack in the system. 7 8 9## Syntax 10 11stack 12 13 14## Parameters 15 16None. 17 18 19## Usage Guidelines 20 21None. 22 23 24## Example 25 26Run **stack**. 27 28 29## Output 30 31System stack usage: 32 33``` 34OHOS # stack 35 stack name cpu id stack addr total size used size 36 ---------- ------ --------- -------- -------- 37 svc_stack 1 0x405c4000 0x2000 0x484 38 svc_stack 0 0x405c6000 0x2000 0xae4 39 exc_stack 1 0x405c8000 0x1000 0x0 40 exc_stack 0 0x405c9000 0x1000 0x0 41``` 42 43**Table 1** Output description 44 45| Parameter| Description| 46| -------- | -------- | 47| stack name | Name of the stack.| 48| cpu id | CPU number.| 49| stack addr | Stack address.| 50| total size | Total stack size.| 51| used size | Size of the stack used.| 52