diff options
Diffstat (limited to 'src/script/kcon_most.sh')
-rwxr-xr-x | src/script/kcon_most.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/script/kcon_most.sh b/src/script/kcon_most.sh new file mode 100755 index 000000000..e62db2ac8 --- /dev/null +++ b/src/script/kcon_most.sh @@ -0,0 +1,13 @@ +#!/bin/sh -x + +p() { + echo "$*" > /sys/kernel/debug/dynamic_debug/control +} + +echo 9 > /proc/sysrq-trigger +p 'module ceph +p' +p 'module libceph +p' +p 'module rbd +p' +p 'file net/ceph/messenger.c -p' +p 'file' `grep -- --- /sys/kernel/debug/dynamic_debug/control | grep ceph | awk '{print $1}' | sed 's/:/ line /'` '+p' +p 'file' `grep -- === /sys/kernel/debug/dynamic_debug/control | grep ceph | awk '{print $1}' | sed 's/:/ line /'` '+p' |