Raspberry Pi terminal based activity monitor

pitop

Raspberry Pi terminal based activity monitor


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).

Install

Note: Prebuilt binaries for 32-bit and 64-bit operating systems, doesn't require Go.

32-bit

  • Raspberry Pi OS 32-bit
  • Raspian
  • RetropPie Raspberry Pi 4/400
curl -sSL https://raw.githubusercontent.com/PierreKieffer/pitop/master/install/install_pitop32.sh | bash

64-bit

  • Ubuntu server 20.04 LTS 64-bit for Raspberry Pi
curl -sSL https://raw.githubusercontent.com/PierreKieffer/pitop/master/install/install_pitop64.sh | bash

Run

pitop

Built With

No external package is used for system data extraction and manipulation.

License

BSD

Owner
Pierre
Software Engineer
Pierre
Similar Resources

Scrappy is a cli tool that allows multiple web scrappers to monitor periodically for a basic ruleset coverage and inform users when the criteria have been met.

Scrappy - A multi-type web scrapper with alerting Scrappy is a cli tool that allows multiple web scrappers to monitor periodically for a basic ruleset

Nov 7, 2021

A terminal based typing test.

A terminal based typing test.

What A terminal based typing test. Installation Linux sudo curl -L https://github.com/lemnos/tt/releases/download/v0.4.0/tt-linux -o /usr/local/bin/tt

Dec 28, 2022

A modern and intuitive terminal-based text editor

A modern and intuitive terminal-based text editor

micro is a terminal-based text editor that aims to be easy to use and intuitive, while also taking advantage of the capabilities of modern terminals

Jan 7, 2023

A collection of terminal-based widgets for richer Golang CLI apps.

A collection of terminal-based widgets for richer Golang CLI apps.

Flinch A collection of terminal-based widgets for richer Golang CLI apps. Ships with a library to build your own widgets/TUIs too. Warning: This modul

Jan 7, 2023

Terminal based dashboard.

Terminal based dashboard.

Termdash is a cross-platform customizable terminal based dashboard. The feature set is inspired by the gizak/termui project, which in turn was inspire

Jan 1, 2023

A terminal based file manager

A terminal based file manager

Keep those files organized About The Project A terminal based file manager Built With Go bubbletea bubbles lipgloss Installation go install github.com

Dec 27, 2022

Terminal based presentation tool

Terminal based presentation tool

Terminal based presentation tool

Jan 2, 2023

TScli - a very simple terminal-based client for TSWeb online judge

TScli TScli - a very simple terminal-based client for TSWeb online judge. It supports submitting problems and receiving feedback on them. Installation

Oct 24, 2021

A terminal-based download manager written in Go!

goload-manager About A terminal-based download manager written in Go! This project uses grab for downloading and tcell for the terminal interface. Hea

Oct 7, 2021
Comments
  • External mounted HDD is not displayed in devices list under Disk usage category

    External mounted HDD is not displayed in devices list under Disk usage category

    Hi! Not sure if this feature isn't implemented yet or it's a bug, external mounted HDD devices are not listed under Disk usage category.

    Topology: Quad Core model: ARMv7 v7l variant: cortex-a53 bits: 32 type: MCP Speed: 1400 MHz min/max: 600/1400 MHz Core speeds (MHz): 1: 1400 2: 1400 3: 1400 4: 1400

    image

  • runtime error - panic: runtime error: slice bounds out of range [:4] with length 3

    runtime error - panic: runtime error: slice bounds out of range [:4] with length 3

    Hi , I get the following error when running pitop. Please assist...

    _panic: runtime error: slice bounds out of range [:4] with length 3

    goroutine 24 [running]:
    github.com/PierreKieffer/pitop/pkg/disk.ExtractDiskUsage(0x0)
    /home/rpi/go/src/github.com/PierreKieffer/pitop/pkg/disk/disk.go:37 +0x41c
    github.com/PierreKieffer/pitop/pkg/worker.Worker.func5(0x400011e360, 0x4000106420)
    /home/rpi/go/src/github.com/PierreKieffer/pitop/pkg/worker/worker.go:55 +0x48
    created by github.com/PierreKieffer/pitop/pkg/worker.Worker
    /home/rpi/go/src/github.com/PierreKieffer/pitop/pkg/worker/worker.go:53 +0x124
    _

    My df -h output

    Filesystem Size Used Avail Use% Mounted on
    dev 1.7G 0 1.7G 0% /dev
    none 117G 40G 72G 36% /
    tmpfs 1.9G 0 1.9G 0% /dev/shm
    tmpfs 1.9G 107M 1.8G 6% /run
    tmpfs 5.0M 4.0K 5.0M 1% /run/lock
    tmpfs 1.9G 0 1.9G 0% /sys/fs/cgroup
    /dev/loop1 49M 49M 0 100% /snap/core18/2252
    /dev/loop2 231M 231M 0 100% /snap/nextcloud/28662
    /dev/loop3 147M 147M 0 100% /snap/gnome-3-28-1804/160
    /dev/loop4 89M 89M 0 100% /snap/core/11996
    /dev/loop5 231M 231M 0 100% /snap/nextcloud/28715
    /dev/loop6 66M 66M 0 100% /snap/gtk-common-themes/1519
    /dev/loop7 128K 128K 0 100% /snap/bare/5
    /dev/mmcblk0p1 127M 83M 44M 66% /boot
    /dev/sda1 1.9T 1.7T 166G 92% /media/exfat
    tmpfs 372M 0 372M 0% /run/user/1000

  • Use sh instead of bash

    Use sh instead of bash

    I really like this project !!!!

    But unfortunately some of my Pis run OSes without bash, so I suggest switching to sh instead, as this is much more likely to be available

    Let me know what you think =D

    Greetings

Procmon is a Linux reimagining of the classic Procmon tool from the Sysinternals suite of tools for Windows. Procmon provides a convenient and efficient way for Linux developers to trace the syscall activity on the system.
Procmon is a Linux reimagining of the classic Procmon tool from the Sysinternals suite of tools for Windows. Procmon provides a convenient and efficient way for Linux developers to trace the syscall activity on the system.

Process Monitor for Linux (Preview) Process Monitor (Procmon) is a Linux reimagining of the classic Procmon tool from the Sysinternals suite of tools

Dec 29, 2022
Simple activity indicator for your command line tools.
Simple activity indicator for your command line tools.

Simple activity indicator for your command line tools.

Oct 22, 2021
The simple and easy-to-use program designed to watch user activity for Cloud Providers.

Cloud Agent The simple and easy-to-use program is designed to watch user activity and possible orphan clusters for Cloud Providers: Gardener GCP (work

Jun 6, 2022
Stonks is a terminal based stock visualizer and tracker that displays realtime stocks in graph format in a terminal.
Stonks is a terminal based stock visualizer and tracker that displays realtime stocks in graph format in a terminal.

Stonks is a terminal based stock visualizer and tracker. Installation Requirements: golang >= 1.13 Manual Clone the repo Run make && make install Pack

Dec 16, 2022
Alpie - A CLI tool for imaging and configuring Alpine Linux installs on Raspberry Pis

Alpie Alpie is a CLI tool aimed at making imaging and customizing installs of Al

Jan 22, 2022
Alpie - A CLI tool for imaging and configuring Alpine Linux installs on Raspberry Pis

Alpie is a CLI tool aimed at making imaging and customizing installs of Alpine Linux onto Raspberry Pis simpler.

Jan 22, 2022
A goroutine monitor to keep track of active routines from within your favorite shell.
A goroutine monitor to keep track of active routines from within your favorite shell.

roumon A goroutine monitor to keep track of active routines from within your favorite shell. Features Track live state of all active goroutines Termin

Jan 3, 2023
TUI process monitor written in Go
TUI process monitor written in Go

pst This is TUI process monitor written in Go. Features Monitor process's list, info, tree, open files, Kill process Support OS Mac Linux Requirements

Nov 25, 2022
A set of Go scripts to monitor YAGPDB status via the command-line.
A set of Go scripts to monitor YAGPDB status via the command-line.

A set of Go scripts to monitor YAGPDB status by making GET requests to the YAGPDB status endpoint.

Apr 20, 2022
A CLI tool to change monitor settings over USB to the Gigabyte M32U

Gigabyte Monitor control Introduction A CLI tool to change monitor settings over USB to the Gigabyte M32U Supported monitors Gigabyte M32U In theory a

Dec 30, 2022