[Crash-utility] SOLVED - Retrieve pointer value for scripting

Patrick Agrain patrick.agrain at alcatel-lucent.com
Tue Dec 10 08:56:47 UTC 2013


Hello,

In order to share the solution, here is the command that fulfill our 
need : get a raw dump of the kernel stack of the offending task.

set -p
task -R stack | grep "stack =" |awk '{print $3}'|cut -f1 -d"," |awk 
'{print "rd "$1 " " 0x800 }' > rd_kstack
< rd_kstack

PS : the 'bt- r' will be a good alternate... when we will get more 
familiar with the 'crash' utility.

Again, thanks to all.
Regards,
Patrick




More information about the Crash-utility mailing list