Help us shape the future of Go! Take the 2026 Go Developer Survey

sysremot

command module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 28, 2015 License: Apache-2.0 Imports: 14 Imported by: 0

README

Sysremot - System Resource Monitoring Tool

Sysremot monitors your Linux/Mac system resource. It gathers the resource metrics and use redis to save those metrics.

What it does:

  • Monitor memory and CPU usage
  • Monitor disk usage
  • Monitor system uptime and load average
  • Generate metrics and save it to redis

You can use those metrics to generate your own graph

Requirements

  • You need Linux or MacOS machine
  • You need redis server

For now, I only test sysremot under Linux and MacOS system. Other systems maybe supported.

Installation

You need to build this tool first. Asuming that you already build the source code :

  • Install redis, and configure
  • Copy the tool binary to /usr/local/bin
  • Refresh your shell, one method will be sourcing your .bashrc
  • Run sysremot install
  • Modify the config file in /etc/sysremot/sysremot.env

License

Copyright © 2015 Donny Prasetyobudi. Sysremot is released under the Apache 2.0 License. See LICENSE.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Godeps
_workspace/src/github.com/cloudfoundry/gosigar/psnotify
Go interface to the Linux netlink process connector.
Go interface to the Linux netlink process connector.
_workspace/src/github.com/garyburd/redigo/redis
Package redis is a client for the Redis database.
Package redis is a client for the Redis database.
_workspace/src/github.com/joho/godotenv
A go port of the ruby dotenv library (https://github.com/bkeepers/dotenv) Examples/readme can be found on the github page at https://github.com/joho/godotenv The TL;DR is that you make a .env file that looks something like SOME_ENV_VAR=somevalue and then in your go code you can call godotenv.Load() and all the env vars declared in .env will be avaiable through os.Getenv("SOME_ENV_VAR")
A go port of the ruby dotenv library (https://github.com/bkeepers/dotenv) Examples/readme can be found on the github page at https://github.com/joho/godotenv The TL;DR is that you make a .env file that looks something like SOME_ENV_VAR=somevalue and then in your go code you can call godotenv.Load() and all the env vars declared in .env will be avaiable through os.Getenv("SOME_ENV_VAR")
_workspace/src/github.com/takama/daemon
Package daemon 0.2.5 for use with Go (golang) services.
Package daemon 0.2.5 for use with Go (golang) services.
_workspace/src/github.com/takama/daemon/example command
Example of a daemon with echo service
Example of a daemon with echo service

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL