I have a java program (Kafka) which sometimes generate core in user's home directory. I want to specify different path for core file generation (in case it is generated) for this program only. Is there a way to achieve this?
Asked
Active
Viewed 37 times
0
-
1Please show the code that generates the file – OneCricketeer Nov 16 '19 at 07:39
-
Are you talking about a core dump generated by the operating system when a process crashes? https://stackoverflow.com/questions/2065912/core-dumped-but-core-file-is-not-in-the-current-directory – Thilo Nov 16 '19 at 07:53
-
What do you mean by "core file"? – Progman Nov 16 '19 at 08:12
-
@Thilo yes. Thread mentioned doesn't allow me to set core file location for only one process. – learner Nov 18 '19 at 14:58