Hi can any one help me how to know the used space of disk drive in virtual machine i am able get the total space.. but i need to get the used of the vm drive..
Thank's for your reply,i will try out today like what you suggested,here my goal is to display virtual machine hardisk drives used space (e.g : like a vm having C drive and E drive ,here i need ti find out the used sapce of both drives) to GUI now i could able to get free sapce using vm properties.
If VMware Tools is running in the VM, you can use the information in the virtual machine's guest structure. Within this structure there is an array of disks that belong to the virtual machine including the capacity and amount of disk used.
Without going into the filesystem(s) on the disks's partition(s), I do not know of a method to get the used space. Can you explain what your goal is (if it is to shrink a disk, you can use workstation / vdiskmanager).
-Sudarsan
Thank's for your reply,i will try out today like what you suggested,here my goal is to display virtual machine hardisk drives used space (e.g : like a vm having C drive and E drive ,here i need ti find out the used sapce of both drives) to GUI now i could able to get free sapce using vm properties.
Thank's for your reply,i will try out today like what you suggested,here my goal is to display virtual machine hardisk drives used space (e.g : like a vm having C drive and E drive ,here i need ti find out the used sapce of both drives) to GUI now i could able to get free sapce using vm properties.
If VMware Tools is running in the VM, you can use the information in the virtual machine's guest structure. Within this structure there is an array of disks that belong to the virtual machine including the capacity and amount of disk used.
if you want an example of this, have a look at VCplus (http://www.run-virtual.com/?page_id=184) and/or VM disk free (written in perl) that uses this guestinfo information to retrieve disk information within the virtual machines.
thank's to all who posted answers to my question,now i can able to get the used space of vm volume drives.
--Thanks