Skip to main content

Tool to print python thread and greenlet stacks

Project description

# pystack

## IMPORTANT NOTICE

This is the last release using the pstack project name in PyPI.

Please use pystack-debugger in future. (e.g. pip install pystack-debugger)

See also https://pypi.python.org/pypi/pystack-debugger.

## Introduction

pystack is to python as jstack is to java!

It’s a debug tool to print python threads or greenlet stacks.

Idea stolen from [pyrasite](https://github.com/lmacken/pyrasite)

## Install

` $ pip install pystack-debugger `

## Usage

You may need to run it with sudo.

` $ sudo pystack <pid> [--include-greenlet] `

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pstack-0.7.1.tar.gz (3.1 kB view hashes)

Uploaded source

Built Distribution

pstack-0.7.1-py2-none-any.whl (4.8 kB view hashes)

Uploaded py2

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page