System monitoring dashboard for terminal.
- Linux / OSX / Windows (partial support)
- Node.js >= v8
$ npm install gtop -g
You need to assign host
pid to access the metrics in the host machine.
$ docker run --rm -it \ --name gtop \ --net="host" \ --pid="host" \ aksakalli/gtop
Run gtop in your terminal using the
gtop command, but in a docker container by running the following lines.
$ sh -c "$(curl -fSsL https://raw.githubusercontent.com/aksakalli/gtop/master/gtop-docker.sh)" $ gtop # Run gtop from your terminal whenever you want to open gtop.
Start gtop with the
To stop gtop use
ctrl+c in most shell environments.
You can sort the process table by pressing
p: Process Id
c: CPU usage
m: Memory usage
If you see question marks or other different characters, try to run it with these environment variables:
$ LANG=en_US.utf8 TERM=xterm-256color gtop
Released under the MIT license.