/
How to debug fmd plugins
How to debug fmd plugins
Reference: https://blogs.oracle.com/cwb/entry/debugging_fmd_plugins
We have in code:
fmd_hdl_debug(hdl, "Crash dump instance %ld\\n", cdp->scd_panic_instance);
But these won't be visible unless you fmd in debug mode.
Steps below provide example how to enable debug output.
Disable fmd service:
svcadm disable fmd
Run fmd in foreground with debug prints:
/usr/lib/fm/fmd/fmd -o fg=true -o client.debug=true
Run in foreground with all debug info:
/usr/lib/fm/fmd/fmd -o fg=true -o client.debug=true -o debug=all
Related content
How to clear fmadm log or FMA faults log
How to clear fmadm log or FMA faults log
More like this
How to clear fmadm log or FMA faults log2
How to clear fmadm log or FMA faults log2
More like this
Solaris Fault Manager
Solaris Fault Manager
More like this
Parse panic dump
Parse panic dump
More like this
Run UTIL & MDB tests in stability mode
Run UTIL & MDB tests in stability mode
More like this
dtrace test 5.11 2.0.3.2-20220825-1-0+int2
dtrace test 5.11 2.0.3.2-20220825-1-0+int2
More like this