Blame gfs2/man/gfs2_lockcapture.8

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