2 unstable releases

0.2.0 Sep 28, 2023
0.1.0 Sep 8, 2023

#378 in Unix APIs

Download history 5/week @ 2023-12-07 5/week @ 2023-12-14 14/week @ 2024-01-04 30/week @ 2024-01-11 14/week @ 2024-01-18 12/week @ 2024-01-25 12/week @ 2024-02-15 26/week @ 2024-02-22 56/week @ 2024-02-29 186/week @ 2024-03-07 54/week @ 2024-03-14 31/week @ 2024-03-21

339 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
~101K SLoC