Why error message not goes into pipe nor redirected path in ‘crash’?

In the below example, the error always shows in the console. crash> sym ffffffffa02ef86 > /dev/null sym: invalid address: ffffffffa02ef86 This 'sym' command is implemented in 'void cmd_sym(void)' function in crash. /* * This command may be used to: * * 1. Translate a symbol to its value. * 2. Translate a value to it… Continue reading Why error message not goes into pipe nor redirected path in ‘crash’?

An example case with some of my commands

System got high load average and it wasn't responding for long which is a typical hang situation. crash> sys | egrep -e LOAD -e CPUS CPUS: 14 LOAD AVERAGE: 520.69, 210.35, 79.69 crash> hangcheck [0 00:00:00.003] [UN] PID: 5507 TASK: ffff8d257723cf10 CPU: 6 COMMAND: "ora_dia0_gladp6" [0 00:00:00.006] [UN] PID: 6068 TASK: ffff8d266239cf10 CPU: 7 COMMAND:… Continue reading An example case with some of my commands

How to disassemble a module from a vmcore

There are times that you have to deal with a module which you don't have source code. Only thing we can do is disassemble it, but if you don't have actual module binary, this is also tough. Luckily, vmcore has all the code loaded into the memory. So, here's the steps to get disassembled code… Continue reading How to disassemble a module from a vmcore