Some help file introduce to use sysctl, but it would changed the format globally and need admin permission to do, is there any API or a way to change the dump format for current process only in code?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
No. The core format is not specified in the process table, and hence it is not possible to change it per-process. Use the pipe core handler to filter the cores and handle them as desired. See the
core(5)man page for details.