NAME

Data::Collector::Info::Memory - Fetch machine RAM information

This info module fetches information about a machine's RAM status using /proc/meminfo. It will not work on Solaris or Windows.

It would be better to do it using a normalized module. Patches are welcome. :)

The keys this module takes in the registry are free_memory and total_memory.

SUBROUTINES/METHODS

info_keys

Subclassing info_keys from Data::Collector::Info to indicate which keys to register.

total

Returns the total memory.

free

Returns the free memory.

all

Runs both methods and returns their result in a unified hashref.

AUTHOR

Sawyer X, <xsawyerx at cpan.org>