All Projects → timofurrer → devheart

timofurrer / devheart

Licence: GPL-2.0 license
Listen to Tux's heartbeat with this awesome Linux Kernel Module ❤️

Programming Languages

c
50402 projects - #5 most used programming language

Projects that are alternatives of or similar to devheart

lkm-sandbox
Collection of Linux Kernel Modules and PoC to discover, learn and practice Linux Kernel Development
Stars: ✭ 36 (-37.93%)
Mutual labels:  device, linux-kernel, linux-kernel-module
Embedded-Linux-Education-Kit
Embedded Linux Education Kit
Stars: ✭ 66 (+13.79%)
Mutual labels:  linux-kernel, linux-kernel-module
linux kernel wiki
linux内核学习资料:200+经典内核文章,100+内核论文,50+内核项目,500+内核面试题,80+内核视频
Stars: ✭ 1,653 (+2750%)
Mutual labels:  linux-kernel, linux-kernel-module
satan
🔓 x86 Linux Kernel rootkit for Debian 9 (4.9.0-11-686-pae)
Stars: ✭ 31 (-46.55%)
Mutual labels:  linux-kernel, linux-kernel-module
Easydeviceinfo
📱 [Android Library] Get device information in a super easy way.
Stars: ✭ 1,698 (+2827.59%)
Mutual labels:  device, cpu
Cacule Cpu Scheduler
The CacULE CPU scheduler is based on interactivity score mechanism. The interactivity score is inspired by the ULE scheduler (FreeBSD scheduler).
Stars: ✭ 185 (+218.97%)
Mutual labels:  cpu, linux-kernel
Linux-Kernel-Driver-Programming
Implementation of PCI drivers, kprobe, sysfs, devfs, sensor driver, miscdevices, synchronization
Stars: ✭ 43 (-25.86%)
Mutual labels:  linux-kernel, linux-kernel-module
Linux Kernel Module Cheat
The perfect emulation setup to study and develop the Linux kernel v5.4.3, kernel modules, QEMU, gem5 and x86_64, ARMv7 and ARMv8 userland and baremetal assembly, ANSI C, C++ and POSIX. GDB step debug and KGDB just work. Powered by Buildroot and crosstool-NG. Highly automated. Thoroughly documented. Automated tests. "Tested" in an Ubuntu 19.10 ho…
Stars: ✭ 2,748 (+4637.93%)
Mutual labels:  linux-kernel, linux-kernel-module
Arch
极客时间专栏《许式伟的架构课》相关的源代码:冯诺伊曼结构
Stars: ✭ 335 (+477.59%)
Mutual labels:  device, cpu
Umbra
A LKM rootkit targeting 4.x and 5.x kernel versions which opens a backdoor that can spawn a reverse shell to a remote host, launch malware and more.
Stars: ✭ 98 (+68.97%)
Mutual labels:  linux-kernel, linux-kernel-module
Sudo Productivity
Boost your "productivity" to the max! A fun project made for slackers by slackers.
Stars: ✭ 190 (+227.59%)
Mutual labels:  fun
Python Raytracer
A basic Ray Tracer that exploits numpy arrays and functions to work fast.
Stars: ✭ 204 (+251.72%)
Mutual labels:  fun
STM32 TimerInterrupt
This library enables you to use Interrupt from Hardware Timers on an STM32F/L/H/G/WB/MP1-based board. These STM32F/L/H/G/WB/MP1 Hardware Timers, using Interrupt, still work even if other functions are blocking. Moreover, they are much more precise (certainly depending on clock frequency accuracy) than other software timers using millis() or micr…
Stars: ✭ 27 (-53.45%)
Mutual labels:  device
ff
Find Text or File
Stars: ✭ 24 (-58.62%)
Mutual labels:  cpu
Libmoji
📚 Bitmoji's API made easy for everyone
Stars: ✭ 189 (+225.86%)
Mutual labels:  fun
gooz
💨 Send the old sh*tty browsers away from your website as simple as a Gooz
Stars: ✭ 38 (-34.48%)
Mutual labels:  fun
Red Discordbot
A multi-function Discord bot
Stars: ✭ 2,855 (+4822.41%)
Mutual labels:  fun
Simuleios
Simulations for LeiosOS
Stars: ✭ 174 (+200%)
Mutual labels:  fun
Tinykaboom
A brief computer graphics / rendering course
Stars: ✭ 2,077 (+3481.03%)
Mutual labels:  fun
virtblkiosim
Virtual Linux block device driver for simulating and performing I/O.
Stars: ✭ 30 (-48.28%)
Mutual labels:  linux-kernel

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

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].