2 .\" Copyright (c) 2013 The DragonFly Project. All rights reserved.
4 .\" This code is derived from software contributed to The DragonFly Project
5 .\" by Antonio Huete Jimenez <tuxillo@quantumachine.net>
7 .\" Redistribution and use in source and binary forms, with or without
8 .\" modification, are permitted provided that the following conditions
11 .\" 1. Redistributions of source code must retain the above copyright
12 .\" notice, this list of conditions and the following disclaimer.
13 .\" 2. Redistributions in binary form must reproduce the above copyright
14 .\" notice, this list of conditions and the following disclaimer in
15 .\" the documentation and/or other materials provided with the
17 .\" 3. Neither the name of The DragonFly Project nor the names of its
18 .\" contributors may be used to endorse or promote products derived
19 .\" from this software without specific, prior written permission.
21 .\" THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
22 .\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
23 .\" LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
24 .\" FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
25 .\" COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
26 .\" INCIDENTAL, SPECIAL, EXEMPLARY OR CONSEQUENTIAL DAMAGES (INCLUDING,
27 .\" BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
28 .\" LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
29 .\" AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
30 .\" OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
31 .\" OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
38 .Nm libhammer_stats_redo ,
39 .Nm libhammer_stats_undo ,
40 .Nm libhammer_stats_commits ,
41 .Nm libhammer_stats_inode_flushes ,
42 .Nm libhammer_stats_disk_write ,
43 .Nm libhammer_stats_disk_read ,
44 .Nm libhammer_stats_file_iopsw ,
45 .Nm libhammer_stats_file_iopsr ,
46 .Nm libhammer_stats_file_write ,
47 .Nm libhammer_stats_file_read ,
48 .Nm libhammer_stats_record_iterations ,
49 .Nm libhammer_stats_root_iterations ,
50 .Nm libhammer_stats_btree_iterations ,
51 .Nm libhammer_stats_btree_splits ,
52 .Nm libhammer_stats_btree_elements ,
53 .Nm libhammer_stats_btree_deletes ,
54 .Nm libhammer_stats_btree_inserts ,
55 .Nm libhammer_stats_btree_lookups ,
56 .Nm libhammer_stats_btree_searches ,
57 .Nm libhammer_btree_stats ,
58 .Nm libhammer_io_stats
59 .Nd libhammer statistics functions
65 .Fn libhammer_stats_redo "int64_t *value"
67 .Fn libhammer_stats_undo "int64_t *value"
69 .Fn libhammer_stats_commits "int64_t *value"
71 .Fn libhammer_stats_inode_flushes "int64_t *value"
73 .Fn libhammer_stats_disk_write "int64_t *value"
75 .Fn libhammer_stats_disk_read "int64_t *value"
77 .Fn libhammer_stats_file_iopsw "int64_t *value"
79 .Fn libhammer_stats_file_iopsr "int64_t *value"
81 .Fn libhammer_stats_file_write "int64_t *value"
83 .Fn libhammer_stats_file_read "int64_t *value"
85 .Fn libhammer_stats_record_iterations "int64_t *value"
87 .Fn libhammer_stats_root_iterations "int64_t *value"
89 .Fn libhammer_stats_btree_iterations "int64_t *value"
91 .Fn libhammer_stats_btree_splits "int64_t *value"
93 .Fn libhammer_stats_btree_elements "int64_t *value"
95 .Fn libhammer_stats_btree_deletes "int64_t *value"
97 .Fn libhammer_stats_btree_inserts "int64_t *value"
99 .Fn libhammer_stats_btree_lookups "int64_t *value"
101 .Fn libhammer_stats_btree_searches "int64_t *value"
103 .Fn libhammer_btree_stats "struct libhammer_btree_stats *bstats"
105 .Fn libhammer_io_stats "struct libhammer_io_stats *iostats"
107 The set of functions described above will help to gather
108 statistics of the mounted
110 file systems in the system.
112 All the functions will take argument
114 to store the value for the sysctl requested, except for
115 .Fn libhammer_btree_stats
117 .Fn libhammer_io_stats
118 which will take structures to store groups of values.
123 .Xr libhammer_fsinfo 3 ,
124 .Xr libhammer_snapshot 3 ,
128 This man page was written by
129 .An Antonio Huete Jimenez Aq Mt tuxillo@quantumachine.net .