https://github.com/aksakalli/gtop
System monitoring dashboard for terminal
https://github.com/aksakalli/gtop
command-line monitoring nodejs system-monitoring top tui
Last synced: 7 days ago
JSON representation
System monitoring dashboard for terminal
- Host: GitHub
- URL: https://github.com/aksakalli/gtop
- Owner: aksakalli
- License: mit
- Created: 2017-08-09T15:12:28.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2024-04-16T20:31:23.000Z (about 1 year ago)
- Last Synced: 2025-04-26T18:56:08.711Z (7 days ago)
- Topics: command-line, monitoring, nodejs, system-monitoring, top, tui
- Language: JavaScript
- Homepage:
- Size: 434 KB
- Stars: 9,802
- Watchers: 131
- Forks: 326
- Open Issues: 40
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
- awesome - gtop - System monitoring dashboard for terminal (JavaScript)
- awesome-nodejs-cn - gtop - **star:9770** 终端系统监控仪表板 ![star > 2000][Awesome] (包 / 命令行程序)
- fucking-Awesome-Linux-Software - 
System monitoring dashboard for terminal.
[](https://npmjs.org/package/gtop)
[](https://npmjs.org/package/gtop)
[](https://snapcraft.io/gtop)
[](https://hub.docker.com/r/aksakalli/gtop)
[](https://hub.docker.com/r/aksakalli/gtop/builds)### Requirements
* Linux / OSX / Windows (partial support)
* Node.js >= v8### Installation
```sh
$ npm install gtop -g
```#### Docker
You need to assign host `net` and `pid` to access the metrics in the host machine.
```sh
$ docker run --rm -it \
--name gtop \
--net="host" \
--pid="host" \
aksakalli/gtop
```### Usage
Start gtop with the `gtop` command
```sh
$ 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:
```sh
$ LANG=en_US.utf8 TERM=xterm-256color gtop
```## License
Released under [the MIT license](LICENSE).