com.sun.grid.jgdi.monitoring
public interface HostInfo
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getArch()
Get the architecture of the host
|
java.util.Set<java.lang.String> |
getDominanceSet()
Get the set of available domincances
|
java.lang.String |
getHostname()
Get the hostname
|
java.lang.Object |
getHostValue(java.lang.String name)
Get a host value
|
int |
getHostValueCount()
Get the number of host values
|
java.util.Set<java.lang.String> |
getHostValueKeys()
Get the set of host value names
|
int |
getJobCount()
Get the number of entries in the job list
|
java.util.List<JobInfo> |
getJobList()
Get the list of jobs which are running on the host
|
java.lang.String |
getLoadAvg()
Get the load average of the host
|
java.lang.String |
getMemTotal()
Get the total memory of the host
|
java.lang.String |
getMemUsed()
Get the used memory of the host
|
java.lang.String |
getNumberOfProcessors()
Get the number of processors of the host
|
int |
getQueueCount()
Get the number of entries in the queue list
|
java.util.List<QueueInfo> |
getQueueList()
Get the list of queues which are available on the host
|
java.lang.Object |
getResourceValue(java.lang.String dominance,
java.lang.String name)
Get a resource value of the host
|
java.util.Set<java.lang.String> |
getResourceValueNames(java.lang.String dominance)
Get the set of resource names for a dominance
|
java.lang.String |
getSwapTotal()
Get the size of the swap of the host
|
java.lang.String |
getSwapUsed()
Get the size of used swap space
|
java.lang.Object getHostValue(java.lang.String name)
name
- name of the host valuenull
java.lang.String getArch()
java.lang.String getNumberOfProcessors()
java.lang.String getLoadAvg()
java.lang.String getMemTotal()
java.lang.String getMemUsed()
java.lang.String getSwapTotal()
java.lang.String getSwapUsed()
int getHostValueCount()
java.util.Set<java.lang.String> getHostValueKeys()
java.lang.Object getResourceValue(java.lang.String dominance, java.lang.String name)
dominance
- dominace of the resource valuename
- name of the resourcejava.util.Set<java.lang.String> getDominanceSet()
java.util.Set<java.lang.String> getResourceValueNames(java.lang.String dominance)
dominance
- the dominancejava.lang.String getHostname()
java.util.List<JobInfo> getJobList()
Note: The job list is only set if the
QHostOptions.includeJobs
flag is set.
JobInfo
)JGDIBase.execQHost(com.sun.grid.jgdi.monitoring.QHostOptions)
int getJobCount()
java.util.List<QueueInfo> getQueueList()
Note: The queue list is only set if the
QHostOptions.includeQueue
flag is set.
QueueInfo
)JGDIBase.execQHost(com.sun.grid.jgdi.monitoring.QHostOptions)
int getQueueCount()
Copyright © 2007 Sun Microsystems, Inc. All rights reserved.