Flow designer- how to calculate total disk space on a server?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-28-2021 01:24 AM
I am trying to figure out how I can create an action in flow designer that wil get me the total disk space on a server.
example:
The server has 3 disks that have different sizes (100, 200 and 300 Gb) that totales to 600 Gb.
I would like to sum these values when different servers have different number of disks?
When I get the total I can use this value further down my flow.
Any suggestions?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-07-2021 08:37 AM
you can easily convert the MB to GB or anything and have a standard sizes in the server table, the above calculation is taken in GB.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-18-2021 04:29 AM
I have now switched to Quebec and have made this flow (as an example):
But I can not figure out how to collect the size_bytes and enter that value in the variable.
I am just starting to learn how to script, and my solution is to collect the size_bytes value (independant on MB, GB and TB) and add the bytes together to a total disk size (in bytes) then I can divide that value with 1024^3 to transform the value to GB.
But I can not figure out how to collect the size_bytes value into the var.