Skip to content

A cpu usage viewer made using go for terminal

Notifications You must be signed in to change notification settings

krishpranav/gotop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

92 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gotop

A cpu usage viewer made using go for terminal

forthebadge

Installation

git clone https://github.com/krishpranav/gotop
cd gotop
go build gotop
./gotop

Usage

gotop is a system and resource monitor written in golang.

While using a TUI based command, press ? to get information about key bindings (if any) for that command.

Usage:
  gotop [flags]
  gotop [command]

Available Commands:
  about       about is a command that gives information about the project in a cute way
  completion  Generate completion script
  container   container command is used to get information related to docker containers
  export      Used to export profiled data.
  help        Help about any command
  proc        proc command is used to get per-process information

Flags:
      --config string   config file (default is $HOME/.gotop.yaml)
  -c, --cpuinfo         Info about the CPU Load over all CPUs
  -h, --help            help for gotop
  -r, --refresh uint    Overall stats UI refreshes rate in milliseconds greater than 1000 (default 1000)

Use "gotop [command] --help" for more information about a command.

flags

./gotop --cpuinfo
./gotop --help
./gotop --refersh 10000 # note this set's the ui refresh rate in milliseconds. this number your going to give must be greater than 1000