How to take core dump of vault process into a file