NAME

Schedule::Load::Hosts::Host - Return information about a host

SYNOPSIS

See Schedule::Load::Hosts

DESCRIPTION

This package provides accessors for information about a specific host obtained via the Schedule::Load::Host package.

fields

Returns all information fields for this host.

exists (key)

Returns if a specific field exists for this host.

get (key)

Returns the value of a specific field for this host.

ACCESSORS

A accessor exists for each field returned by the fields() call. Typical elements are described below.

top_processes

Returns a reference to a list of top process objects, Schedule::Load::Hosts::Proc to access the information for each process. In an array context, returns a list; In a a scalar context, returns a reference to a list.

archname

Architecture name from Perl build.

cpus

Number of CPUs.

hostname

Name of the host.

max_clock

Maximum clock frequency.

load_limit

Limit on the loading that a machine can bear, often set to the number of CPUs to not allow overloading of a machine. Undefined if no limit.

osname

Operating system name from Perl build.

reservable

If true, this host may be reserved for exclusive use by a user.

reserved

If true, this host is reserved, and this field contains a username and start time comment.

systype

System type from Perl build.

total_load

Total number of processes in run or on processor state.

adj_load

Total number of processes in run or on processor state, adjusted for any jobs that have a specific fixed_load or hold time. This is the load used for picking hosts.

total_pctcpu

Total CPU percentage used by all processes.

SEE ALSO

Schedule::Load, Schedule::Load::Hosts, Schedule::Load::Hosts::Proc

DISTRIBUTION

The latest version is available from CPAN.

AUTHORS

Wilson Snyder <wsnyder@world.std.com>