The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

System::Introspector::State - Gather system state

SYNOPSIS

    my $state = System::Introspector::State->new(
        root    => '/root/path',
        config  => $config_object,
    );

    $state->gather;

DESCRIPTION

Gathers system introspection data based on configuration and stores it with a File::Tree::Snapshot object.

ATTRIBUTES

config

A System::Introspector::Config

root

Path to the storage root.

METHODS

gather

    $state->gather;

Fetches all probe data and stores it in the tree below the "root".

SEE ALSO

System::Introspector

COPYRIGHT

Copyright (c) 2012 the System::Introspector AUTHOR, CONTRIBUTORS and SPONSORS.

LICENSE

This library is free software and may be distributed under the same terms as perl itself.