gov.bnl.star.offline.scheduler.monitor
Interface ClusterInfo


public interface ClusterInfo

Monitoring information about a cluster - such as rcas.rcf.bnl.gov. This information can be used in different policies to decide which cluster to send the jobs.

Author:
Gabriele Carcassi, Efstratios Efstathiadis

Method Summary
 double getAverageLoad1m()
          Average load of the cluster in the past minute.
 double getAverageLoad5m()
          Average load of the cluster in the past five minutes.
 java.lang.String getClusterName()
          Returns the full name of the cluster.
 int getCPUCount()
          Number of CPUs in the cluster.
 double getLoad1m()
          Cumulative load of the cluster in the past minute.
 double getLoad5m()
          Cumulative load of the cluster in the past five minutes.
 

Method Detail

getClusterName

java.lang.String getClusterName()
Returns the full name of the cluster. For example, rcas.rcf.bnl.gov


getLoad1m

double getLoad1m()
Cumulative load of the cluster in the past minute. This is the sum of the load of all the machines in the cluster


getLoad5m

double getLoad5m()
Cumulative load of the cluster in the past five minutes. This is the sum of the load of all the machines in the cluster


getCPUCount

int getCPUCount()
Number of CPUs in the cluster. A machine with two processors counts 2.


getAverageLoad1m

double getAverageLoad1m()
Average load of the cluster in the past minute. This equal to cumulative load divided by CPUCount.


getAverageLoad5m

double getAverageLoad5m()
Average load of the cluster in the past five minutes. This equal to cumulative load divided by CPUCount.



Copyright © 2002-2004 STAR collaboration - Brookhaven National Laboratory. All Rights Reserved.