You can download the pre-built binaries from the release page release page
You can install tegratop
from crates.io
cargo install tegratop
To build from the source, you need Rust compiler and Cargo package manager.
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
.
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
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
GPLv3