gfs2_lockcapture: Fixed rhbz#987019 and modified some options
PATCH 1/1 gfs2_lockcapture: Fixed rhbz#987019 and modified some options
From: Shane Bradley <[email protected]>
Fix the header to use absolute path for rhbz#987019. The "-o" has been modified so that it takes a path that will be used to create the root directory of where the data will be written and will be location of the tarball that is created. Added undocumented(private) "-m" option that will capture the required data and additional data that is not captured by default because sometimes it can cause hangs to occur in certain situations. Removed the data capture of the command "lsof" cause it might cause hangs when capturing lockdumps cause of symlink lookup.
Signed-off-by Shane Bradley <[email protected]>
--- gfs2/man/gfs2_lockcapture.8 | 2 +- gfs2/scripts/gfs2_lockcapture | 189 ++++++++++++++++++++++------------------ 2 files changed, 105 insertions(+), 86 deletions(-)
gfs2/man/gfs2_lockcapture.8 +1 -1
@@ -38,7 +38,7 @@ Prints information about the mounted GFS2 file systems. The gathering of process information will be disabled. .TP \fB-o \fI<output directory>, \fB--path_to_output_dir\fR=\fI<output directory>\fP -The directory where all the collect data will stored. +The directory where all the collect data will be stored. .TP \fB-r \fI<number of runs>, \fB--num_of_runs\fR=\fI<number of runs>\fP The number of runs capturing the lockdump data. The default is 3 runs.
gfs2/scripts/gfs2_lockcapture +104 -85
310 lines not on this page · raw message
Signature · 1 line
1.7.1