Skip to content

System tray icon indicating the state of local Linux Software (MD) RAIDs

License

Notifications You must be signed in to change notification settings

xtaran/systray-mdstat

Repository files navigation

systray-mdstat

Travis CI Build Status

systray-mdstat is a system tray icon indicating the state of local Linux Software (MD) RAID by checking /proc/mdstat periodically:

Screenshot of systray-mdstat notifications

It works at least on Linux and should work with any freedesktop.org-compliant status area (aka system tray).

Use Case

The use cases for this utility are probably rather restricted:

  • Desktop or laptop with Linux Software RAID (i.e. at least two permanent disks)

  • Not wanting to have any remote monitoring (e.g. for privacy reasons or due to lacking a permanent internet connection or an appropriate monitoring server).

Requirements

Installation

From a Distribution Package

systray-mdstat is available in most Debian-based distribution releases since about mid-2017:

Of course it's also available in rolling release distributions based on Debian Testing or Unstable:

  • Kali Linux
  • ParrotOS
  • PureOS

It's also available in these non-Debian based distributions:

For a complete and more current list of versions see the nice overview at Repology:

Packaging status

Building from a Release Tar Ball

Works like most Perl modules or perl-based applications:

$ tar xzf systray-mdstat systray-mdstat-<version>.tar.gz
$ cd systray-mdstat-<version>
$ perl Makefile.PL
$ make
$ make test
$ make install

Building from a Git Checkout

  • Requires Dist::Zilla. Once Dist::Zilla is installed, running dzil authordeps will list the additionally needed Dist::Zilla plugins. After installing them, use dzil build to get a tar ball usable with any CPAN-compatible toolset.

    Afterwards continue as above.

  • Building the Debian package from Git source requires the above plus dh-dist-zilla (which is also available as binary package in more recent releases of Debian and Ubuntu). Running dpkg-checkbuilddeps in the cloned git repository will list all missing build dependencies.

Companion Tools

Similar Tools

Version Number Scheme

systray-mdstat adheres to Semantic Versioning, hence all version numbers have the scheme Break.Feature.Bugfix.

Author, Copyright and License

Copyright © 2017-2020 by Axel Beckert abe@deuxchevaux.org

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see GNU's website for an online copy.

Notes