1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE refentry PUBLIC "-//Samba-Team//DTD DocBook V4.2-Based Variant V1.0//EN" "http://www.samba.org/samba/DTD/samba-doc">
3 <refentry id="vfs_time_audit.8">
6 <refentrytitle>vfs_time_audit</refentrytitle>
7 <manvolnum>8</manvolnum>
8 <refmiscinfo class="source">Samba</refmiscinfo>
9 <refmiscinfo class="manual">System Administration tools</refmiscinfo>
10 <refmiscinfo class="version">4.2</refmiscinfo>
15 <refname>vfs_time_audit</refname>
16 <refpurpose>samba vfs module to log slow VFS operations</refpurpose>
21 <command>vfs objects = time_audit</command>
26 <title>DESCRIPTION</title>
28 <para>This VFS module is part of the
29 <citerefentry><refentrytitle>samba</refentrytitle>
30 <manvolnum>7</manvolnum></citerefentry> suite.</para>
32 <para>The <command>time_audit</command> VFS module logs system calls
33 that take longer than the number of milliseconds defined by the variable
34 <command>time_audit:timeout</command>. It will log the calls and
38 <para>It's kind of comparable with <command>strace -T</command> and
39 is helpful to reveal performance problems with the underlying file
40 and storage subsystems.</para>
42 <para>This module is stackable.</para>
48 <title>OPTIONS</title>
54 <term>time_audit:timeout = number of milliseconds</term>
56 <para>VFS calls that take longer than the defined number of milliseconds
57 that should be logged. The default is 10000 (10s).
69 <title>EXAMPLES</title>
71 <para>This would log VFS calls that take longer than 3 seconds:</para>
74 <smbconfsection name="[sample_share]"/>
75 <smbconfoption name="path">/test/sample_share</smbconfoption>
76 <smbconfoption name="vfs objects">time_audit</smbconfoption>
77 <smbconfoption name="time_audit:timeout">3000</smbconfoption>
83 <title>VERSION</title>
84 <para>This man page is correct for version 4.0.0 of the Samba suite.
91 <para>The original Samba software and related utilities
92 were created by Andrew Tridgell. Samba is now developed
93 by the Samba Team as an Open Source project similar
94 to the way the Linux kernel is developed.</para>
96 <para>The time_audit VFS module was created with contributions from