国外linux内核视频播放器,devheartbeatLinux

f58cd4c87fd0fcd0618adb78a1feec5d.png

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

giphy.gif

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

Well ... okay. Install

3f34117450ce8bda29d4610f4c5bec65.png

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.

-

628346e1e0856c955c20b17e5ca502fe.png -

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值