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

All Known Implementing Classes:
MDSHostInfo

public interface HostInfo

Author:
Gabriele Carcassi

Method Summary
 java.lang.String getHostName()
          Returns the full name of the machine.
 double getLoad15m()
          Average number of jobs in the run queue (of the OS) in the past 15 minutes.
 double getLoad1m()
          Average number of jobs in the run queue (of the OS) in the past minute.
 double getLoad5m()
          Average number of jobs in the run queue (of the OS) in the past 5 minutes.
 double getMemoryAvailable()
          Returns the available free memory in KBytes.
 double getMemorySize()
          Returns the total memory available in KBytes.
 int getProcessorCount()
          Number of CPUs on the machine.
 double getProcessorSpeed()
          The speed of the processor in MHz.
 

Method Detail

getHostName

java.lang.String getHostName()
Returns the full name of the machine. For example, rcas6023.rcf.bnl.gov


getLoad1m

double getLoad1m()
Average number of jobs in the run queue (of the OS) in the past minute.


getLoad5m

double getLoad5m()
Average number of jobs in the run queue (of the OS) in the past 5 minutes.


getLoad15m

double getLoad15m()
Average number of jobs in the run queue (of the OS) in the past 15 minutes.


getProcessorCount

int getProcessorCount()
Number of CPUs on the machine.


getProcessorSpeed

double getProcessorSpeed()
The speed of the processor in MHz.


getMemorySize

double getMemorySize()
Returns the total memory available in KBytes.


getMemoryAvailable

double getMemoryAvailable()
Returns the available free memory in KBytes.



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