Blame gfs2/man/gfs2_lockcapture.8

Packit 6ef888
.TH gfs2_lockcapture 8
Packit 6ef888
Packit 6ef888
.SH NAME
Packit 6ef888
gfs2_lockcapture \- capture locking information from GFS2 file systems and DLM.
Packit 6ef888
Packit 6ef888
.SH SYNOPSIS
Packit 6ef888
.B gfs2_lockcapture \fR[-dqyP]  [-o \fIoutput directory]\fR [-r \fInumber of runs]\fR [-s \fIseconds to sleep]\fR [-n \fIname of GFS2 file system]\fP
Packit 6ef888
.PP
Packit 6ef888
.B gfs2_lockcapture \fR[-dqyi]
Packit 6ef888
Packit 6ef888
.SH DESCRIPTION
Packit 6ef888
\fIgfs2_lockcapture\fR is used to capture the GFS2 lockdump data and
Packit 6ef888
corresponding DLM data for GFS2 file systems. The number of captures and their
Packit 6ef888
frequency can be configured. By default all of the mounted GFS2 file systems
Packit 6ef888
will have their data collected unless GFS2 file systems are specified.
Packit 6ef888
.PP
Packit 6ef888
Please note that sysrq -t (thread) and -m (memory) dumps and the pid
Packit 6ef888
directories in /proc are collected unless they are disabled with the -P option.
Packit 6ef888
Packit 6ef888
.SH OPTIONS
Packit 6ef888
.TP
Packit 6ef888
\fB-h,  --help\fP
Packit 6ef888
Prints out a short usage message and exits.
Packit 6ef888
.TP
Packit 6ef888
\fB-d,  --debug\fP
Packit 6ef888
Enables debug logging.
Packit 6ef888
.TP
Packit 6ef888
\fB-q,  --quiet\fP
Packit 6ef888
Disables logging to console.
Packit 6ef888
.TP
Packit 6ef888
\fB-y,  --no_ask\fP
Packit 6ef888
Disables all questions and assumes yes.
Packit 6ef888
.TP
Packit 6ef888
\fB-i,  --info\fP
Packit 6ef888
Prints information about the mounted GFS2 file systems.
Packit 6ef888
.TP
Packit 6ef888
\fB-P,  --disable_process_gather\fP
Packit 6ef888
The gathering of process information will be disabled.
Packit 6ef888
.TP
Packit 6ef888
\fB-o \fI<output directory>, \fB--path_to_output_dir\fR=\fI<output directory>\fP
Packit 6ef888
The directory where all the collect data will be stored.
Packit 6ef888
.TP
Packit 6ef888
\fB-r \fI<number of runs>,  \fB--num_of_runs\fR=\fI<number of runs>\fP
Packit 6ef888
The number of runs capturing the lockdump data. The default is 3 runs.
Packit 6ef888
.TP
Packit 6ef888
\fB-s \fI<seconds to sleep>,  \fB--seconds_sleep\fR=\fI<seconds to sleep>\fP
Packit 6ef888
The number of seconds to sleep between runs of capturing the lockdump data. The default is 120 seconds.
Packit 6ef888
.TP
Packit 6ef888
\fB-n \fI<name of GFS2 filesystem>,  \fB--fs_name\fR=\fI<name of GFS2 filesystem>\fP
Packit 6ef888
The name of the GFS2 filesystem(s) that will have their lockdump data captured. By default, all mounted GFS2 file systems will have their data captured.
Packit 6ef888
.
Packit 6ef888
.SH NOTES
Packit 6ef888
The output of the following commands will be captured:
Packit 6ef888
.IP \(bu 2
Packit 6ef888
uname -a
Packit 6ef888
.IP \(bu 2
Packit 6ef888
uptime
Packit 6ef888
.IP \(bu 2
Packit 6ef888
ps h -AL -o "tid,s,cmd"
Packit 6ef888
.IP \(bu 2
Packit 6ef888
df -h
Packit 6ef888
.IP \(bu 2
Packit 6ef888
lsof
Packit 6ef888
.IP \(bu 2
Packit 6ef888
mount -l
Packit 6ef888
.IP \(bu 2
Packit 6ef888
dlm_tool ls
Packit 6ef888
.IP \(bu 2
Packit 6ef888
dlm_tool lockdebug -v -s -w <lockspace name>
Packit 6ef888
.IP \(bu 2
Packit 6ef888
echo "t" > /proc/sysrq-trigger (If /proc/1/stack does not exist)
Packit 6ef888
.IP \(bu 2
Packit 6ef888
echo "m" > /proc/sysrq-trigger (If /proc/1/stack does not exist)
Packit 6ef888
Packit 6ef888
.SH AUTHOR
Packit 6ef888
.nf
Packit 6ef888
Shane Bradley <sbradley@fedoraproject.org>
Packit 6ef888
.fi
Packit 6ef888
.SH FILES
Packit 6ef888
.I /proc/mounts
Packit 6ef888
.br
Packit 6ef888
.I /proc/slabinfo
Packit 6ef888
.br
Packit 6ef888
.I /sys/kernel/config/dlm/cluster/lkbtbl_size
Packit 6ef888
.br
Packit 6ef888
.I /sys/kernel/config/dlm/cluster/dirtbl_size
Packit 6ef888
.br
Packit 6ef888
.I /sys/kernel/config/dlm/cluster/rsbtbl_size
Packit 6ef888
.br
Packit 6ef888
.I /sys/kernel/debug/gfs2/
Packit 6ef888
.br
Packit 6ef888
.I /sys/kernel/debug/dlm/
Packit 6ef888
.br
Packit 6ef888
.I /proc/<int>/
Packit 6ef888
(If /proc/1/stack does exists)
Packit 6ef888
.br
Packit 6ef888
.I /var/log/messages
Packit 6ef888
.br
Packit 6ef888
.I /var/log/cluster/
Packit 6ef888
.br
Packit 6ef888
.SH SEE ALSO