Raspberry Pi terminal based activity monitor

Overview

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

You might also like...
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

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

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

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

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

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

Terminal based presentation tool
Terminal based presentation tool

Terminal based presentation tool

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

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

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

    opened by clrOne 3
  • 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

    opened by RajaRuling 3
  • 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

    opened by s00500 0
Owner
Pierre
Software Engineer
Pierre
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

Windows Sysinternals 3.5k Dec 29, 2022
Simple activity indicator for your command line tools.

Simple activity indicator for your command line tools.

Luca Sepe 1 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

Filip Strózik 3 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. Installation Requirements: golang >= 1.13 Manual Clone the repo Run make && make install Pack

Eric Moynihan 518 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

George Bolmida 1 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.

George Bolmida 1 Jan 22, 2022
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

Armin Becher 131 Jan 3, 2023
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

skanehira 330 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 by making GET requests to the YAGPDB status endpoint.

Joe 2 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

Kelvie Wong 21 Dec 30, 2022