Skip to content

Listen to Tux's heartbeat with this awesome Linux Kernel Module ❤️

License

Notifications You must be signed in to change notification settings

timofurrer/devheart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

don't do it

I'm a sadist and want to hear 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.
- 🎉 -

About

Listen to Tux's heartbeat with this awesome Linux Kernel Module ❤️

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages