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()
# Do something with multi-threading here...
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.1.tar.gz
(4.4 kB
view details)
File details
Details for the file stacktraces-0.1.1.tar.gz.
File metadata
- Download URL: stacktraces-0.1.1.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c68983331c34578d291720311e535d18e9a34b5293569bc53210a9c47d2f4c16
|
|
| MD5 |
eb416af9fd8a0a6078f4f10f8d1bcc20
|
|
| BLAKE2b-256 |
5468073cc202f489a7c340a0369b664629268e53812ff208b0f171e875afc05e
|