Adrian Ulrich > Lustre-Info-0.02 > Lustre::Info::OST

Download:
Lustre-Info-0.02.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source  

NAME ^

Lustre::Info::OST - OST Object provided by Lustre::Info::get_ost

METHODS ^

get_name

Return name of this OST

get_kbytes_total

Size of hosting blockdevice in kilobytes

get_kbytes_free

Returns the number of free kilobytes on the hosting blockdev

get_files_total

Returns the maximal number of inodes available on this OST

get_files_free

Returns the number of unused inodes of this OST

get_recovery_info

Returns a hashref with information about the last recovery

collect_ost_stats

Collect a new performance sample for this ost. You are supposed to call this in a loop. See also lustre-info.pl

get_ost_stats

Returns a rather big hashref with collected statistics. Will return undef if there is not enough data (needs at least two calls of collect_ost_stats)

collect_client_stats

Almost the same as collect_ost_stats but collects statistics for each nid/export/client

get_client_stats

Returns a very big hashref with collected client statistics.

get_exports

Returns a array-ref with all known exports of this ost.

AUTHOR ^

Copyright (C) 2010, Adrian Ulrich <adrian.ulrich@id.ethz.ch>

SEE ALSO ^

Lustre::Info, Lustre::Info::Export, Lustre::Info::MDT, http://www.lustre.org

syntax highlighting: