Coder Social home page Coder Social logo

pysysmon's Introduction

PySysMon

This is a simple Linux system monitoring tool written in Python, and intended to be used in status bars of setups without full desktop enviroments. I initially wrote this for use with xmonad and dzen, and the style of configuration is inspired by XMonad, in the sense that the config file is just a Python program that (among other things) instantiates a pysysmon.PySysMon object, which makes configuration very flexible.

Most of PySysMon was originally written around 2009 to 2010, in Python 2.x. I have started porting it to Python 3.x, and my config files as well as the provided examples seem to work fine, but there are probably still some bits of code that do not yet function with Python 3.

Since this was not originally intended to be made public, the code lacks in documentation, although that may change in the future.

Examples

Configuration examples are found in the examples directory. These are intended to be run directly (be sure to adjust sys.path at the start of the file though) or by putting (or symlinking) them to ~/.pysysmon/config.py and running pysysmon.py.

Screenshots

Some screenshots I found from a few years back:

These are similar to what one gets with the complex dzen config file.

Dependencies

The Network monitor requires ifconfig and iwconfig (if WiFi information is needed).

There are special classes that make life easier when using dzen, such as creating bars and histograms, see dzen.py. Obviously, this requires dzen to make sense.

There is now also preliminary support for workspace buttons and window titles of the i3 window manager in PySysMon, and this requires i3ipc.

pysysmon's People

Contributors

fberg avatar

Watchers

 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.