Safe Haskell | Safe-Infered |
---|
Module to access the information provided by the Xen hypervisor.
- getDomainsInfo :: IO (Result (Map String Domain))
- inferDomInfos :: Map String Domain -> Domain -> Domain
- getInferredDomInfo :: IO (Result (Map String Domain))
- getUptimeInfo :: IO (Map Int UptimeInfo)
Documentation
getDomainsInfo :: IO (Result (Map String Domain))Source
Get information about the current Xen domains as a map where the domain name is the key. This only includes the information made available by Xen itself.
inferDomInfos :: Map String Domain -> Domain -> DomainSource
getInferredDomInfo :: IO (Result (Map String Domain))Source
Get information about the current Xen domains as a map where the domain name is the key. This includes information made available by Xen itself as well as further information that can be inferred by querying Xen multiple times and comparing the results.
getUptimeInfo :: IO (Map Int UptimeInfo)Source
Get information about the uptime of domains, as a map where the domain ID is the key.