fenzo-core/src/main/java/com/netflix/fenzo/TaskScheduler.java
public Map<String, Map<VMResource, Double[]>> getResourceStatus() throws IllegalStateException {
        if (usingSchedulingService) {
            throw new IllegalStateException(usingSchedSvcMesg);
        }
        return getResourceStatusIntl();
    }
public Map<String, Map<VMResource, Double[]>> getResourceStatus() throws IllegalStateException {
        if (usingSchedulingService) {
            throw new IllegalStateException(usingSchedSvcMesg);
        }
        return getResourceStatusIntl();
    }
public Map < String , Map < VMResource , Double [ ] > > getResourceStatus ( ) throws IllegalStateException { if ( usingSchedulingService ) { throw new IllegalStateException ( usingSchedSvcMesg ) ; } return getResourceStatusIntl ( ) ; }
Returns the state of resources on all known hosts. You can use this for debugging or informational
purposes (occasionally). This method obtains and holds a lock for the duration of creating the state
information. Scheduling runs are blocked around the lock.

@return a Map of state information with the hostname as the key and a Map of resource state as the value.
The resource state Map contains a resource as the key and a two element Double array - the first
element of which contains the amount of the resource used and the second element contains the
amount still available (available does not include used).
@throws IllegalStateException if called concurrently with {@link #scheduleOnce(List, List)} or if called when
using a {@link TaskSchedulingService}.
@see <a href="https://github.com/Netflix/Fenzo/wiki/Insights#how-to-learn-which-resources-are-available-on-which-hosts">How to Learn Which Resources Are Available on Which Hosts</a>
Returns the state of resources on all known hosts . You can use this for debugging or informational purposes ( occasionally ) . This method obtains and holds a lock for the duration of creating the state information . Scheduling runs are blocked around the lock .