How do I get Pstack?

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

Tìm kiếm

Back
Top