Skip to content
/ gtop Public
forked from aksakalli/gtop

System monitoring dashboard for terminal

License

Notifications You must be signed in to change notification settings

kekewind/gtop

Repository files navigation

gtop

screen record

System monitoring dashboard for terminal.

NPM Version NPM Downloads Snap Status Docker Pulls Docker Cloud Build Status

Requirements

  • Linux / OSX / Windows (partial support)
  • Node.js >= v4

Installation

$ npm install gtop -g

Docker

You need to assign host net and pid to access the metrics in the host machine.

$ docker run --rm -it \
    --name gtop \
    --net="host" \
    --pid="host" \
    aksakalli/gtop

-OR-

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.

Usage

Start gtop with the gtop command

$ gtop

To stop gtop use q, or ctrl+c in most shell environments.

You can sort the process table by pressing

  • p: Process Id
  • c: CPU usage
  • m: Memory usage

Troubleshooting

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

License

Released under the MIT license.

About

System monitoring dashboard for terminal

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 97.5%
  • Dockerfile 2.5%