GithubHelp home page GithubHelp logo

glimpse's Introduction

About Glimpse

Glimpse is a super simple server vital starts service written in bash. There are many much more involved services out there, such as collectd for instance. However, I needed something really simple to show very basic server stats in the today widget on OSX, so I made glimpse.

Hope someone else will also find it useful.

Installing Glimpse

The only prerequisite of glimpse that you may not have on a standard linux system is the socat utility necessary for glimpsed. To install it just run apt-get install socat or yum install socat or similar install command for your system.

After this, just copy glimpse and glimpsed into a folder on your system and start it by running glimpsed.

Using Glimpse

Now that the glimpse server is running, simply go to http://server-ip:5488/ to see the server stats. You can change the port number by editing the glimpsed file.

To look at the server stats from another command line, simply run curl http://server-ip:5488/.

In my case I wanted to use it with the wonderful Today-Scripts. Grab the Today Scripts widget, install it, and add curl http://server-ip:5488/ as one of your scripts. Now you have some basic server stats in the today side bar.

Final Thoughts

Released under MIT License. Fork and enjoy!

glimpse's People

Contributors

x0054 avatar

Watchers

 avatar  avatar

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.