Giter Club home page Giter Club logo

sysmon's Introduction

sysmon

My system tray status monitor, goes well with DWM.

The defaults look like this:

NET I/O 561 27O | CPU 15.67% | MEM 28.23% | SWAP 10.65% | 2022-03-04 18:23:14

Emoji can also be used by pasting it directly on the format string, e.g.:

$CPU% | $MEM% $SWAP% | $BRI% | $BAT%$CHAR | $TIME

Dependencies

  • Go
  • Make

Installation

You can download and install the latest version directly using go with:

go install github.com/blmayer/sysmon@latest

Make sure your GOPATH is correctly set. Another option is to run

make install

The default installation directory is ~/local/bin and it can be changed setting the PREFIX variable, e.g.: PREFIX=~/.bin make install.

Usage

Add sysmon & to your .xinitrc file, default configuration is safe. The see all options that can be passed run sysmon -h.

If you are not using other status monitors you can try your configurations running sysmon in a terminal.

Changing the format

To change the output of sysmon use the -F flag, and pass the format string as argument, use single quotes to prevent your shell messing up the string. For example, just memory, CPU and date:

sysmon -F 'MEM $MEM% | CPU $CPU% | $TIME'

Defaults

The format is NET I/O $NIN $NOUT | CPU $CPU% | MEM $MEM% | SWAP $SWAP% | $TIME and it gives you that example above.

Update interval is different for each component and can be changed by using command line arguments, intervals are:

  • Network in and out, in Kbps: 2 seconds
  • CPU usage percentage: 2 seconds
  • RAM usage percentage: 2 seconds
  • SWAP usage in percent: 3 seconds
  • Time: each second

By default brightness, battery and weather are not displayed, to enable them use command line arguments. In order to display them you must pass the battery or the display name.

Roadmap

  • Clock
  • CPU Usage
  • MEM %
  • SWAP %
  • Network
  • Battery
  • Brightness
  • Weather (uses wttr.in)
  • More than one swap file/partition
  • Emoji
  • Configuration
    • Use yaml file
    • Set update interval
    • Define line format
    • Select what components to use
  • Wayland support (maybe another project)

Known users

Meta

License: MIT

See also

For a complete list visit dwm's page.

sysmon's People

Contributors

blmayer avatar teknosquet avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

teknosquet

sysmon's Issues

Improve swap display

Currently sysmon can only show the first swap partition. We need to add support for displaying each partition on the total.

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.