Reporting success with the fork https://github.com/zlacelle/gtop on my Jetson Nano with sudo gtop --tx2
Installation steps for that fork:
- Clone from git
- Modify
gtop.hh as follows:
const std::string TEGRASTATS_PATH = "/usr/bin/tegrastats";
const std::string TEGRASTATSFAKE_PATH = "/usr/local/bin/tegrastats_fake";
- Copy "fake" bin from source code to local:
sudo cp tegrastats_fake /usr/local/bin
- Compile code with
make
- Copy binary to local with
sudo chown root: gtop; sudo mv gtop /usr/local/bin
- Add alias to .bashrc:
alias gt='sudo gtop --tx2'