Index: /branches/rel_ag_9_4_5/debug/monitor.sh
===================================================================
--- /branches/rel_ag_9_4_5/debug/monitor.sh	(revision 20520)
+++ /branches/rel_ag_9_4_5/debug/monitor.sh	(working copy)
@@ -102,6 +102,19 @@
 #		echo -e "$port:\t\t$line_num" >> $output_file
 #	done
 
+#use kgdb show decisiond, condition and ssl_offload memory info
+        echo -e '\n decisiond gdb bt info:' >> $output_file
+        decisiond_pid=$(ps aux | grep decisiond | grep -v grep | awk '{print $2}')
+        echo "attach $decisiond_pid\nbt\ndetach\nquit" | kgdb >> $output_file
+
+        echo -e '\n condition gdb bt info:' >> $output_file
+        condition_pid=$(ps aux | grep condition | grep -v grep | awk '{print $2}')
+        echo "attach $condition_pid\nbt\ndetach\nquit" | kgdb >> $output_file
+
+        echo -e '\n ssl_offload gdb bt info:' >> $output_file
+        ssl_offload_pid=$(ps aux | grep ssl_offload | grep -v grep | awk '{print $2}')
+        echo "attach $ssl_offload_pid\nbt\ndetach\nquit" | kgdb >> $output_file
+
 	/ca/bin/uproxy stats mpool >> $output_file
 	/ca/bin/uproxy stats driver >> $output_file
 
