ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/libstatgrab/docs/libstatgrab/sg_get_fs_stats.xml
(Generate patch)

Comparing projects/libstatgrab/docs/libstatgrab/sg_get_fs_stats.xml (file contents):
Revision 1.4 by tdb, Mon Apr 25 11:25:45 2005 UTC vs.
Revision 1.5 by tdb, Wed Jul 13 13:01:23 2005 UTC

# Line 66 | Line 66 | typedef struct {
66          long long total_inodes;
67          long long used_inodes;
68          long long free_inodes;
69 +        long long avail_inodes;
70 +        long long io_size;
71 +        long long block_size;
72 +        long long total_blocks;
73 +        long long free_blocks;
74 +        long long used_blocks;
75 +        long long avail_blocks;
76   } sg_fs_stats;
77      </programlisting>
78  
# Line 160 | Line 167 | typedef struct {
167          <listitem>
168            <para>
169              The number of free inodes in the filesystem.
170 +          </para>
171 +        </listitem>
172 +      </varlistentry>
173 +      <varlistentry>
174 +        <term>
175 +          <structfield>avail_inodes</structfield>
176 +        </term>
177 +        <listitem>
178 +          <para>
179 +            The number of free inodes available to non-privileged processes.
180 +          </para>
181 +        </listitem>
182 +      </varlistentry>
183 +      <varlistentry>
184 +        <term>
185 +          <structfield>io_size</structfield>
186 +        </term>
187 +        <listitem>
188 +          <para>
189 +            A suggested optimal block size for IO operations -- if you're
190 +            reading or writing lots of data, do it in chunks of this size.
191 +          </para>
192 +        </listitem>
193 +      </varlistentry>
194 +      <varlistentry>
195 +        <term>
196 +          <structfield>block_size</structfield>
197 +        </term>
198 +        <listitem>
199 +          <para>
200 +            How big blocks actually are on the underlying filesystem
201 +            (typically for purposes of stats reporting).
202 +          </para>
203 +        </listitem>
204 +      </varlistentry>
205 +      <varlistentry>
206 +        <term>
207 +          <structfield>total_blocks</structfield>
208 +        </term>
209 +        <listitem>
210 +          <para>
211 +            The total number of blocks in the filesystem.
212 +          </para>
213 +        </listitem>
214 +      </varlistentry>
215 +      <varlistentry>
216 +        <term>
217 +          <structfield>free_blocks</structfield>
218 +        </term>
219 +        <listitem>
220 +          <para>
221 +            The number of free blocks in the filesystem.
222 +          </para>
223 +        </listitem>
224 +      </varlistentry>
225 +      <varlistentry>
226 +        <term>
227 +          <structfield>used_blocks</structfield>
228 +        </term>
229 +        <listitem>
230 +          <para>
231 +            The number of used blocks in the filesystem.
232 +          </para>
233 +        </listitem>
234 +      </varlistentry>
235 +      <varlistentry>
236 +        <term>
237 +          <structfield>avail_blocks</structfield>
238 +        </term>
239 +        <listitem>
240 +          <para>
241 +            The number of free blocks available to non-privileged processes.
242            </para>
243          </listitem>
244        </varlistentry>

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines