# How to get the disk size of all VMs using onevm list ?

**URL:** <https://forum.opennebula.io/t/how-to-get-the-disk-size-of-all-vms-using-onevm-list/10660>\
**Category:** Product Support\
**Created:** [June 17, 2022, 7:14am UTC](https://forum.opennebula.io/t/how-to-get-the-disk-size-of-all-vms-using-onevm-list/10660 "2022-06-17T07:14:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mamo](https://avatars.discourse-cdn.com/v4/letter/m/90ced4/32.png) [@Mamo](https://forum.opennebula.io/u/Mamo)\
**Post date:** [June 17, 2022, 7:14am UTC](https://forum.opennebula.io/t/how-to-get-the-disk-size-of-all-vms-using-onevm-list/10660/1 "2022-06-17T07:14:36Z")

</div>

Is there a way to get the disk size of a VM using onevm list ?

Using below command, I can get the Name, CPU and Memory, is there a way to get the disk size ?

onevm list --l NAME,CPU,MEM

---

<div class="post-metadata">

**Author:** ![dclavijo](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/dclavijo/32/5265_2.png) [@dclavijo](https://forum.opennebula.io/u/dclavijo)\
**Post date:** [June 20, 2022, 2:29pm UTC](https://forum.opennebula.io/t/how-to-get-the-disk-size-of-all-vms-using-onevm-list/10660/2 "2022-06-20T14:29:07Z")

</div>

You can issue the onevm list command with the arguments `-x` or `-y` and you will get the full VM Template in XML or YAML . There you will be able to see each VM disk size.
