logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

vfs_time_audit - samba vfs module to log slow VFS operations

Author

       The original Samba software and related utilities were created by Andrew Tridgell. Samba is now developed
       by the Samba Team as an Open Source project similar to the way the Linux kernel is developed.

       The time_audit VFS module was created with contributions from Abhidnya Chirmule.

Samba 4.22.3-Ubuntu-4.22.3+dfs                     07/21/2025                                  VFS_TIME_AUDIT(8)

Description

       This VFS module is part of the samba(7) suite.

       The time_audit VFS module logs system calls that take longer than the number of milliseconds defined by
       the variable time_audit:timeout. It will log the calls and the time spent in it.

       It's kind of comparable with strace -T and is helpful to reveal performance problems with the underlying
       file and storage subsystems.

       This module is stackable.

Examples

       This would log VFS calls that take longer than 3 seconds:

                   [sample_share]path=/test/sample_sharevfsobjects=time_audittime_audit:timeout=3000

Name

       vfs_time_audit - samba vfs module to log slow VFS operations

Options

       time_audit:timeout = number of milliseconds
           VFS calls that take longer than the defined number of milliseconds that should be logged. The default
           is 10000 (10s).

Synopsis


       vfs objects = time_audit

Version

       This man page is part of version 4.22.3-Ubuntu-4.22.3+dfsg-4ubuntu1 of the Samba suite.

See Also