List top processes on a Linux Debian Distro
# Clone project:
git clone https://github.com/rootVIII/monproc.git
# Build and run (show top 50 processes):
cd <project root>
go build -o bin/monproc
./bin/monproc 50
# Build binary in ~/go/bin (available in path) and run (show top 50 processes):
cd <project root>
go install .
monproc 50
References used:
http://man7.org/linux/man-pages/man5/proc.5.html
This was developed/tested on Ubuntu 18.04.4 LTS and Ubuntu 20.04.4 LTS LTS.
Author: rootVIII 24OCT2019