Net::Etcd::Maintenance
# defrag member's backend database $defrag = $etcd->maintenance()->defragment; # check status $status = $etcd->maintenance()->status; # member version $status = $etcd->version;
Provides support for maintenance related actions.
Snapshot sends a snapshot of the entire backend from a member over a stream to a client.
Status gets the status of the member.
Defragment defragments a member's backend database to recover storage space.
Returns the member version.
To install Net::Etcd, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::Etcd
CPAN shell
perl -MCPAN -e shell install Net::Etcd
For more information on module installation, please visit the detailed CPAN module installation guide.