This video assists in the steps involved in collecting pmstack traces. This also includes multiple scenarios where collecting pmstack traces will be helpful.
Reference articles:
https://knowledge.informatica.com/s/article/513847?language=en_US
https://knowledge.informatica.com/s/article/Configure-and-check-Linux-process-for-Core-dump-generation?language=en_US
https://knowledge.informatica.com/s/article/How-to-set-core-pattern-if-the-core-dump-is-not-getting-generated-in-the-current-working-directory?language=en_US