Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/krishpranav/gotop

A cpu usage viewer made using go for terminal
https://github.com/krishpranav/gotop

cpu cpu-monitor cpu-monitoring go golang gotop gotop-plus

Last synced: about 1 month ago
JSON representation

A cpu usage viewer made using go for terminal

Awesome Lists containing this project

README

        

# gotop
A cpu usage viewer made using go for terminal

[![forthebadge](https://forthebadge.com/images/badges/made-with-go.svg)](https://forthebadge.com)

# 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
```sh
./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
```