2 unstable releases

0.2.0 Sep 28, 2023
0.1.0 Sep 8, 2023

#529 in Unix APIs

Download history 38/week @ 2024-01-07 10/week @ 2024-01-14 22/week @ 2024-01-21 18/week @ 2024-02-18 34/week @ 2024-02-25 152/week @ 2024-03-03 104/week @ 2024-03-10 53/week @ 2024-03-17 4/week @ 2024-03-24 136/week @ 2024-03-31 45/week @ 2024-04-07 48/week @ 2024-04-14 44/week @ 2024-04-21

273 downloads per month

Apache-2.0

12KB
135 lines

rust-spy

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.

License

Licensed under APLv2, (LICENSE.txt or http://www.apache.org/licenses/LICENSE-2.0)

Dependencies

~3.5–5MB
~102K SLoC