Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Script to watch Linux kernel entropy level
use strict;
use warnings;
use Time::HiRes 'usleep';
while (1) {
open my $in, '<', '/proc/sys/kernel/random/entropy_avail' or die;
print <$in>;
close $in;
usleep 100_000;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.