source: trunk/server/docs/manpages/vfs_time_audit.8

Last change on this file was 862, checked in by Silvan Scherrer, 11 years ago

Samba Server: update trunk to 3.6.23

File size: 2.7 KB
Line 
1'\" t
2.\" Title: vfs_time_audit
3.\" Author: [see the "AUTHOR" section]
4.\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/>
5.\" Date: 09/18/2013
6.\" Manual: System Administration tools
7.\" Source: Samba 3.6
8.\" Language: English
9.\"
10.TH "VFS_TIME_AUDIT" "8" "09/18/2013" "Samba 3\&.6" "System Administration tools"
11.\" -----------------------------------------------------------------
12.\" * Define some portability stuff
13.\" -----------------------------------------------------------------
14.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
15.\" http://bugs.debian.org/507673
16.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
17.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
18.ie \n(.g .ds Aq \(aq
19.el .ds Aq '
20.\" -----------------------------------------------------------------
21.\" * set default formatting
22.\" -----------------------------------------------------------------
23.\" disable hyphenation
24.nh
25.\" disable justification (adjust text to left margin only)
26.ad l
27.\" -----------------------------------------------------------------
28.\" * MAIN CONTENT STARTS HERE *
29.\" -----------------------------------------------------------------
30.SH "NAME"
31vfs_time_audit \- samba vfs module to log slow VFS operations
32.SH "SYNOPSIS"
33.HP \w'\ 'u
34vfs objects = time_audit
35.SH "DESCRIPTION"
36.PP
37This VFS module is part of the
38\fBsamba\fR(7)
39suite\&.
40.PP
41The
42time_audit
43VFS module logs system calls that take longer than the number of milliseconds defined by the variable
44time_audit:audit_timeout\&. It will log the calls and the time spent in it\&.
45.PP
46It\*(Aqs kind of comparable with
47strace \-T
48and is helpful to reveal performance problems with the underlying file and storage subsystems\&.
49.PP
50This module is stackable\&.
51.SH "OPTIONS"
52.PP
53time_audit:audit_timeout = number of milliseconds
54.RS 4
55VFS calls that take longer than the defined number of milliseconds that should be logged\&. The default is 10000 (10s)\&.
56.RE
57.SH "EXAMPLES"
58.PP
59This would log VFS calls that take longer than 3 seconds:
60.sp
61.if n \{\
62.RS 4
63.\}
64.nf
65 \fI[sample_share]\fR
66 \m[blue]\fBpath = /test/sample_share\fR\m[]
67 \m[blue]\fBvfs objects = time_audit\fR\m[]
68 \m[blue]\fBtime_audit: audit_timeout = 3000\fR\m[]
69.fi
70.if n \{\
71.RE
72.\}
73.SH "VERSION"
74.PP
75This man page is correct for version 3\&.6\&.0 of the Samba suite\&.
76.SH "AUTHOR"
77.PP
78The 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\&.
79.PP
80The time_audit VFS module was created with contributions from Abhidnya Chirmule\&.
Note: See TracBrowser for help on using the repository browser.