LIBHAMMER(3)

NAME
libhammer_stats_redo, libhammer_stats_undo, libhammer_stats_commits, libhammer_stats_inode_flushes, libhammer_stats_disk_write, libhammer_stats_disk_read, libhammer_stats_file_iopsw, libhammer_stats_file_iopsr, libhammer_stats_file_write, libhammer_stats_file_read, libhammer_stats_record_iterations, libhammer_stats_root_iterations, libhammer_stats_btree_iterations, libhammer_stats_btree_splits, libhammer_stats_btree_elements, libhammer_stats_btree_deletes, libhammer_stats_btree_inserts, libhammer_stats_btree_lookups, libhammer_stats_btree_searches, libhammer_btree_stats, libhammer_io_stats - libhammer statistics functions

LIBRARY
libhammer

SYNOPSIS
#include <libhammer.h>
int
libhammer_stats_redo(int64_t *value);
int
libhammer_stats_undo(int64_t *value);
int
libhammer_stats_commits(int64_t *value);
int
libhammer_stats_inode_flushes(int64_t *value);
int
libhammer_stats_disk_write(int64_t *value);
int
libhammer_stats_disk_read(int64_t *value);
int
libhammer_stats_file_iopsw(int64_t *value);
int
libhammer_stats_file_iopsr(int64_t *value);
int
libhammer_stats_file_write(int64_t *value);
int
libhammer_stats_file_read(int64_t *value);
int
libhammer_stats_record_iterations(int64_t *value);
int
libhammer_stats_root_iterations(int64_t *value);
int
libhammer_stats_btree_iterations(int64_t *value);
int
libhammer_stats_btree_splits(int64_t *value);
int
libhammer_stats_btree_elements(int64_t *value);
int
libhammer_stats_btree_deletes(int64_t *value);
int
libhammer_stats_btree_inserts(int64_t *value);
int
libhammer_stats_btree_lookups(int64_t *value);
int
libhammer_stats_btree_searches(int64_t *value);
int
libhammer_btree_stats(struct libhammer_btree_stats *bstats);
int
libhammer_io_stats(struct libhammer_io_stats *iostats);

DESCRIPTION
The set of functions described above will help to gather statistics of the mounted HAMMER file systems in the system.

All the functions will take argument value to store the value for the sysctl requested, except for libhammer_btree_stats() and libhammer_io_stats() which will take structures to store groups of values.

RETURN VALUES

SEE ALSO
libhammer(3), libhammer_fsinfo(3), libhammer_snapshot(3), HAMMER(5), hammer(8)

AUTHORS
This man page was written by Antonio Huete Jimenez <tuxillo@quantumachine.net>.