Crates.io | rust-spy |
lib.rs | rust-spy |
version | 0.2.0 |
source | src |
created_at | 2023-09-08 15:27:17.297155 |
updated_at | 2023-09-28 17:18:51.754556 |
description | Stack dump CLI |
homepage | https://nuclia.com/ |
repository | https://github.com/nuclia/rust-spy |
max_upload_size | |
id | 967244 |
size | 34,319 |
Linux-only CLI to dump all threads from a running process.
If you want to spy on your Rust app, make sure you compile it with debug information enabled (even in release mode) so you get all symbols converted to files/lines/columns.
Depends on the libdw
system lib. Install it on Debuntu with:
apt-get install libdw-dev
Installation:
cargo install rust-spy
Usage:
rust-spy [pid]
If you get a permission denied error, run as root.
Licensed under APLv2, (LICENSE.txt or http://www.apache.org/licenses/LICENSE-2.0)