Stack and stats tracer for multi-threaded applications.
Project description
Stack and stats tracer for multi-threaded applications.
Periodically dump stack traces and stats of all active threads of the running process into a given file in intervals of time.
Installation
pip install stacktraces
Usage
from stacktraces import Stacktraces
tracer = Stacktraces('/tmp/stacktraces{ext}', traceback_interval=5, stats_interval=10)
tracer.start()
....
tracer.stop()
License
The MIT Licence
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
stacktraces-0.1.0.tar.gz
(4.4 kB
view details)
File details
Details for the file stacktraces-0.1.0.tar.gz
.
File metadata
- Download URL: stacktraces-0.1.0.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2f3933606de0ce58f5873aa969db8ecb928530750f8bfafe02773df33733219b |
|
MD5 | 4ca5cd29cd98b1ad7bf6a8f2d52ee308 |
|
BLAKE2b-256 | 9da0f9fdbf5229fab90072daa6f778d96ce7b5f0775ba60b212f8615b17642b9 |