How do I get Pstack?
Answer
To get the pstack and gcore, here is the procedure:
Answer
To get the pstack and gcore, here is the procedure:
- Get the process ID of the suspect process: # ps -eaf | grep -i suspect_process.
- Use the process ID to generate the gcore: # gcore <proc_id> …
- Now generate the pstack based on the generated gcore file: …
- Now create a compressed tar ball with the gcore.