1

I have a situation where i need to view memory and disk space used by operating systems (windows2012r2 and centos) and web servers (IIS(windows2012r2) and apache(centos)), both of them made as a virtual servers in hyper v.

6
  • "I am kind of new to this" does not excust a request basically for learning material, which is off topic. If you need ad admin to do your work, hire one.
    – TomTom
    Jun 19, 2018 at 20:19
  • uh okay I guess. I am just a student so i thought these sites are suppose to help but okay! Jun 19, 2018 at 21:08
  • We can help, if you have a problem or a particular thing you need to know. But we can't teach you how to manage a server, that's beyond the scope of this website. Jun 20, 2018 at 0:49
  • ah okay! its actually a part of assignment to be honest, to just write about these details. Jun 20, 2018 at 3:09
  • Then learn up on powershell. Also define requirements - what you mean "by os and web server in hyper-v" - ihyper-v does not distinguish what in a vm uses memory.
    – TomTom
    Jun 20, 2018 at 6:29

1 Answer 1

3

Try to enable VM Monitoring - Enable-VMResourceMetering (via PowerShell) and use Measure-VM cmdlet to gather information from the VM itself, however, the disk space usage is not showing here, just an entire VHDX size - https://docs.microsoft.com/en-us/powershell/module/hyper-v/measure-vm?view=win10-ps and this - http://www.itprotoday.com/virtualization/q-how-do-i-enable-and-view-windows-server-2012-hyper-v-metric-information

1
  • 2
    i've read the article you shared! but just to be expected, it just gives info about whole disk drive and RAM. i may be interpreting it wrong but question is actually this:"How much memory and disk space does each of your Virtual Machine Operating Systems use and how much memory do your Webservers use?" clearly enough i wasn't able to pinpoint memory and disk space for os and webserver separately. Regardless, thank you for sharing those blogs Mr. Raspberry! Jun 21, 2018 at 12:49

Not the answer you're looking for? Browse other questions tagged .