General magnetic disk utilization rate obtaining method based on heterogeneous storage virtual machine
A heterogeneous storage and virtual machine technology, which is applied in the field of general acquisition of disk utilization based on heterogeneous storage virtual machines, can solve problems such as poor performance, abnormal disk file system, and complicated acquisition methods, and achieve high performance, stable acquisition, and The effect of efficient acquisition
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0028] There are many implementations of the present invention, and here a private cloud platform is taken as an example to illustrate one of the implementation methods, such as figure 1 , 2 As shown, the specific implementation process is as follows:
[0029] 1. Heterogeneous storage uniformly creates block files, the code is as follows:
[0030]
[0031] 2. Create a virtual machine based on the block file, the code is as follows:
[0032]
[0033] 3. Obtain the virtual machine list, the code is as follows:
[0034]
[0035] 4. Obtain the list of storage devices used by the virtual machine, the code is as follows:
[0036]
[0037] 5. To filter storage devices, the code is as follows:
[0038]
[0039]
[0040] 6. Obtain the block path of the storage device, the code is as follows:
[0041]
[0042] 7. Obtain the utilization rate of the disk, the code is as follows:
[0043]
[0044] The whole process is over.
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


