Config::MachineInfo::Metric - Base clas for metric collectors


NAME

Config::MachineInfo::Metric - Base clas for metric collectors


SYNOPSIS

blah


DESCRIPTION

blah


PUBLIC INTERFACE

new

 new(%options)

get

 get()

Proceeds to collect information about the machine by calling the _get_*_info methods.

log

 log()

print

 print()

Returns a string representing the metric. This is the metric name plus any units if specified by the subclass.

This method does not need to be called directly as the stringification operator is overloaded by this method.

units

 units()

Returns the units in which the metric is in


AUTHOR

Sagar R. Shah

 Config::MachineInfo::Metric - Base clas for metric collectors