You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Augusto Dwenger J. 381dd4819d
Merge pull request #7 from hamburghammer/docs
8 months ago
args Fix wrong argument descriptions 9 months ago
commands Merge pull request #6 from hamburghammer/develop 9 months ago
docs Add competition terms in side an own file 8 months ago
errors Add test for the Error func of the BaseError 1 year ago
.drone.yml Update CI scripts 9 months ago
.gitignore Add CPU reader 1 year ago
LICENSE Fix Copyright section 12 months ago Fix link to the competition details 8 months ago
go.mod Start replacing custom assert func with stretchr/testify 12 months ago
go.sum Start replacing custom assert func with stretchr/testify 12 months ago
main.go Move Date to the beginning of the JSON 12 months ago
main_internals_test.go Fix output format 1 year ago


Build Status Go Report Card

Is a cli tool to get some system stats in a machine parsable format (JSON). It supports only Linux but might also run on some UNIX based operation systems.

This tool is part of a competition with nhh -> Details

WIP: expect some changes for the stats gathering


  • Easy to use
  • Single executable
  • Runs on Linux


For the time there are no binaries provided this means you need to install it through go.


  • Go is installed.
  • You have the $GOPATH defined.
  • The $GOPATH/bin directory is in your $PATH.

Install and update it with go get -u


  gstat [OPTIONS]

Application Options:
  -c, --cpu     Include the total CPU consumption.
  -m, --mem     Include the RAM usage.
  -d, --disk    Include the Disk usage.
  -p, --proc    Include the top 10 running processes with the highest CPU consumption.
      --health= Make a healthcheck call against the URI.

Help Options:
  -h, --help    Show this help message

*not all flags a jet supported or fully implemented!

example output:

gstat -cmd