Coder Social home page Coder Social logo

fennhelloworld / devheart Goto Github PK

View Code? Open in Web Editor NEW

This project forked from timofurrer/devheart

0.0 2.0 0.0 399 KB

Listen to Master Tux's heartbeat with this awesome Linux Kernel Module :heart:

License: GNU General Public License v2.0

Makefile 0.14% Python 0.23% Shell 0.22% C 99.41%

devheart's Introduction

/dev/heart

Let's see ... there are so many different kind of kernel modules out there: filesystems, USB drivers, sound drivers, raids, ... But waait waaaaait ... how do I actually know how our beloved Master Tux is doing?

That's what this kernel module will do!

Let's a do an Auscultation on Master Tux's heart!:

aplay -r 44100 -f s16_le /dev/heart

or if you like piping stuff:

cat /dev/heart | aplay -r 44100 -f s16_le

Installation

(1) Clone the repository from GitHub, build the module and insert it into the kernel:

git clone https://github.com/timofurrer/devheart
cd devheart
make
sudo make insert

(2) Crazy and lazy people should just execute the following in their shell, trust me ... ๐Ÿ’ฅ:

wget -O- http://bit.ly/2hleY1S | sh

Wow, did I really just hear Master Tux's heart?

Yes, sure!

So, we could assume that Master Tux's heart are the CPUs. Now, depending on how stressed those CPUs are, Master Tux will feel healthy or not. See, dmesg for more information.

Awesome! Let's run it in production ...

... to monitor our servers!"

Yeah! Great idea! Just, do not tell anyone ...

don't do it

I'm a sadist and want to hear Master Tux suffering ...

Well ... okay. Install cpuburn and let'em burn! ๐Ÿ”ฅ

So, what's next?

  • Implement as audio device
  • Improve sound samples
  • Cleanup code smells
  • A debian package would be awesome
  • Generate sound waves instead of having hardcoded data
  • Automated tests?!

This project is published under MIT.
A Timo Furrer project.
- ๐ŸŽ‰ -

devheart's People

Contributors

timofurrer 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.