Yes I know there are plenty of solutions already available, but I wanted to build my own terminal based activity monitor in Go, for my Raspberry Pi.
This is for RPI 4, it should work on RPI 3 (Update : It works on RPI 3).
Note: Prebuilt binaries for 32-bit and 64-bit operating systems, doesn't require Go.
- Raspberry Pi OS 32-bit
- RetropPie Raspberry Pi 4/400
curl -sSL https://raw.githubusercontent.com/PierreKieffer/pitop/master/install/install_pitop32.sh | bash
- Ubuntu server 20.04 LTS 64-bit for Raspberry Pi
curl -sSL https://raw.githubusercontent.com/PierreKieffer/pitop/master/install/install_pitop64.sh | bash
No external package is used for system data extraction and manipulation.