đ Installation
đĨ Binary release
You can download the pre-built binaries from the release page release page
đĻ crates.io
You can install tegratop
from crates.io
cargo install tegratop
âī¸ Build from source
To build from the source, you need Rust compiler and Cargo package manager.
On a Jetson board
Run the following command:
cargo build --release
Then run strip
to reduce the size of the binary
strip target/aarch64-unknown-linux-gnu/release/tegratop
This will produce an executable file at target/release/tegratop
that you can copy to a directory in your $PATH
.
Cross compilation
Make sure you have those dependencies installed:
then run the following command to build:
CROSS_CONTAINER_ENGINE=podman cross build --target=aarch64-unknown-linux-gnu --release
Finally, run strip
to reduce the size of the binary
aarch64-linux-gnu-strip target/aarch64-unknown-linux-gnu/release/tegratop
đĒ Usage
run tegratop
with sudo to get full the stats, otherwise some information might not show
$ sudo tegratop
âšī¸ If certain information is not displayed, you can check the file /tmp/tegratop.log
âī¸ License
GPLv3