Skip to content

aksakalli/gtop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

0406441 ยท Aug 11, 2023

History

78 Commits
Jan 12, 2022
Aug 9, 2017
Aug 9, 2017
Jan 12, 2022
Aug 11, 2023
Aug 9, 2017
Aug 9, 2017
Sep 23, 2018
Jan 12, 2022
Dec 12, 2020
Aug 9, 2017
Aug 11, 2023
Aug 9, 2017
Aug 11, 2023
Aug 11, 2023

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 >= v8

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

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.