I am working on BeagleboneBlack based custom board,
Recently I was debugging system hang issues, I had access to debug console using
minicom, And I could enable log using key combination Ctrl+A, F `.
However all production devices won't have debug console. I won't be able to connect it to through
minicom, However I will get access through ssh connection.
Now, I wanted to know if there is any way to send SysRq keys over ssh connection,
In normal working of device, if I use
echo h > /proc/sysrq-trigger output is printed on the debug(or serial) console(minicom) and not on ssh.:( ,
is there any way to get this output to ssh terminal ?
I know what I am asking is somewhat like impossible as, if system locks-up ssh connection won't be alive. But just in case if connection is alive then I want to know if there is any way to send SysRq keys.