Skip to content
Snippets Groups Projects
Commit 493a98b2 authored by Andreas Dilger's avatar Andreas Dilger
Browse files

Change the cleanup scripts to use the debug_kernel instead of get_debug.

parent f193250f
No related branches found
No related tags found
No related merge requests found
...@@ -5,14 +5,14 @@ SRCDIR="`dirname $0`/" ...@@ -5,14 +5,14 @@ SRCDIR="`dirname $0`/"
setup_opts "$@" setup_opts "$@"
$DBGCTL get_debug > /tmp/debug.1 $DBGCTL debug_kernel /tmp/debug.1
cleanup_client cleanup_client
$DBGCTL get_debug > /tmp/debug.2 $DBGCTL debug_kernel /tmp/debug.2
cleanup_server cleanup_server
$DBGCTL get_debug > /tmp/debug.3 $DBGCTL debug_kernel /tmp/debug.3
cleanup_ldlm cleanup_ldlm
$DBGCTL get_debug > /tmp/debug.4 $DBGCTL debug_kernel /tmp/debug.4
cleanup_lustre cleanup_lustre
$DBGCTL get_debug > /tmp/debug.5 $DBGCTL debug_kernel /tmp/debug.5
cleanup_portals cleanup_portals
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
SRCDIR="`dirname $0`/" SRCDIR="`dirname $0`/"
. $SRCDIR/common.sh . $SRCDIR/common.sh
$DBGCTL get_debug > /tmp/debug.1 $DBGCTL debug_kernel /tmp/debug.1
if mount | grep '/mnt/lustre'; then if mount | grep '/mnt/lustre'; then
umount /mnt/lustre || fail "cannot unmount" umount /mnt/lustre || fail "cannot unmount"
...@@ -49,7 +49,7 @@ rmmod ptlrpc ...@@ -49,7 +49,7 @@ rmmod ptlrpc
rmmod obdclass rmmod obdclass
rmmod extN rmmod extN
$DBGCTL get_debug > /tmp/debug.2 $DBGCTL debug_kernel /tmp/debug.2
$PTLCTL <<EOF $PTLCTL <<EOF
setup tcp setup tcp
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment