MCPcopy Index your code
hub / github.com/aksakalli/gtop

github.com/aksakalli/gtop @v1.1.5 sqlite

repository ↗ · DeepWiki ↗ · release v1.1.5 ↗
8 symbols 10 edges 9 files 0 documented · 0%
README

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.

Core symbols most depended-on inside this repo

updater
called by 2
lib/monitor/proc.js
updater
called by 1
lib/monitor/net.js
init
called by 0
lib/gtop.js
Net
called by 0
lib/monitor/net.js
Mem
called by 0
lib/monitor/mem.js
Proc
called by 0
lib/monitor/proc.js
Cpu
called by 0
lib/monitor/cpu.js
Disk
called by 0
lib/monitor/disk.js

Shape

Function 8

Languages

TypeScript100%

Modules by API surface

lib/monitor/proc.js2 symbols
lib/monitor/net.js2 symbols
lib/monitor/mem.js1 symbols
lib/monitor/disk.js1 symbols
lib/monitor/cpu.js1 symbols
lib/gtop.js1 symbols

Dependencies from manifests, versioned

blessed0.1.81 · 1×
blessed-contrib4.11.0 · 1×
marked-man1.3.3 · 1×
prettier1.19.1 · 1×
systeminformation5.18.15 · 1×

For agents

$ claude mcp add gtop \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact