[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [MirageOS-devel] CPU and memory utilisation
Hi Masoud, The CPU utilisation is most easily done from the outside by using "xentop" or similar tools to gather the virtual machine utilisation. The unikernel will just be sitting blocked when there's no IO, so this is accurate. Memory can be obtained via the OCaml GC module; Mindy's reply has a link to the easy way to use it to generate HTML. A more subtle question: are you trying to get this information from *within* the unikernel to alter its behaviour in response to load? In that case you'll need a slightly more sophisticated way to measure CPU usage from within the VM. -anil > On 18 May 2015, at 10:56, Masoud Koleini <masoud.koleini@xxxxxxxxxxxxxxxx> > wrote: > > Hi all, > > Is the any way for a Mirage unikernel to get its CPU and memory utilisation? > > Thanks. > > > > > > > This message and any attachment are intended solely for the addressee > and may contain confidential information. If you have received this > message in error, please send it back to me, and immediately delete it. > Please do not use, copy or disclose the information contained in this > message or in any attachment. Any views or opinions expressed by the > author of this email do not necessarily reflect the views of the > University of Nottingham. > > This message has been checked for viruses but the contents of an > attachment may still contain software viruses which could damage your > computer system, you are advised to perform your own checks. Email > communications with the University of Nottingham may be monitored as > permitted by UK legislation. > > > _______________________________________________ > MirageOS-devel mailing list > MirageOS-devel@xxxxxxxxxxxxxxxxxxxx > http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel > _______________________________________________ MirageOS-devel mailing list MirageOS-devel@xxxxxxxxxxxxxxxxxxxx http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |