/
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
, multiple selections available,
Related content
Запуск тестов DTRACE на VM
Запуск тестов DTRACE на VM
More like this
How to run DTRACE tests on VM environment
How to run DTRACE tests on VM environment
More like this
Запуск тестов UTIL & MDB на VM
Запуск тестов UTIL & MDB на VM
More like this
How to run UTIL & MDB tests on VM environment
How to run UTIL & MDB tests on VM environment
More like this
Запуск тестов LIBC на VM
Запуск тестов LIBC на VM
More like this
Запуск ELF тестов на VM
Запуск ELF тестов на VM
More like this