/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 Tux is doing?
That's what this kernel module will do!
Let's a do an Auscultation on 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
cddevheart
make
sudomake insert
(2) Crazy and lazy people should just execute the following in their shell, trust me ... :collision::
wget -O- http://bit.ly/2hleY1S | sh
Wow, did I really just hear Tux's heart?
Yes, sure!
So, we could assume that Tux's heart are the CPUs. Now, depending on how stressed those CPUs are, 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 ...
I'm a sadist and want to hear Tux suffering ...
Well ... okay. Install
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.
-
-