---
title: pstack
description: The pstack command can be used to obtain a native stack trace of all threads in a process. While a native stack trace might not be as user-friendly as a Java stack trace obtained using jstack, it includes threads that are not available in a Java stack trace. For example, the command displays those threads used to perform garbage collection and other housekeeping tasks. The general usage for the pstack command is:
component: pingauthorize
version: 10.1
page_id: pingauthorize:troubleshooting_pingauthorize_server:paz_pstack_trace_process_threads
canonical_url: https://docs.pingidentity.com/pingauthorize/10.1/troubleshooting_pingauthorize_server/paz_pstack_trace_process_threads.html
revdate: August 21, 2023
---

# pstack

The `pstack` command can be used to obtain a native stack trace of all threads in a process. While a native stack trace might not be as user-friendly as a Java stack trace obtained using `jstack`, it includes threads that are not available in a Java stack trace. For example, the command displays those threads used to perform garbage collection and other housekeeping tasks. The general usage for the `pstack` command is:

```
pstack  <processID>
```
