GithubHelp home page GithubHelp logo

fidi / server-status Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 678 KB

Server-Status is a daemon written in C++ that reads system stats and creates json files from it that can be used to monitor server statistics.

License: MIT License

Makefile 2.60% C++ 95.63% Groff 1.77%

server-status's People

Stargazers

 avatar  avatar

Watchers

 avatar

server-status's Issues

function to load json files on start

Adding a function that parses the json files and loads their values into the arrays when starting the daemon. That way you can resume a json file.

Mix local and remote input

Instead of collecting values for 1 json output either local or remote why not mix local and remote values to get a comparison.

Ubuntu error when starting daemon

Ubuntu exits the daemon with "already running" even if there is no other instance of serverstatus.

Might check if pgrep returns own pid!

Makefile not working correctly under debian

For some reason the makefile does not work for me on debian. Running the makefile throws this error: "g++: error trying to exec 'as': execvp: No such file or directory". However I am not sure if this is a problem of the makefile or a wrong installation of g++. Running the commands from shell works just fine.

Needs investigation!

Delta commands cause an error at pointer position

The first element (that's the one before the at pointer position) is calculated wrong! It uses a delta with the previous value (the newest value) which will cause somehow high negative results (like -4.5e+08).

Completely generic class for system calls

While expanding the current project with a RAM class to monitor RAM status (active, inactive, free, ...) I noticed that all the classes (RAM, CPU and HDD) are almost alike.

I suppose there is a way to write a completely generic class for that to increase efficiency as well as file size.

El Capitan and OpenSSL

OpenSSL was deprecated in OS X for a while now. However, since El Capitan it is no longer provided by the OS itself.

We may need an alternative in a not to distant future and a short-term workaround.

Overflow in loadFromJSON

Somewhere in loadfromjson function is an overflow that causes the last sequence to drop some values.

delta reads wrong json input on start

The sys_types that use delta to calculate values provide wrong values when read from file on start.
The problem seems to be the smaller array size.

OS X notification and TotalTerminal

The notify function with native OS X notifications will not work when the process is started by TotalTerminal instead of the "real" terminal.

Needs investigating.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.