2 unstable releases

0.2.0 Sep 28, 2023
0.1.0 Sep 8, 2023

#5 in #spy

23 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

~5.5MB
~113K SLoC