Is there a way to monitor /dev/random?
Solution 1:
Sure! Ask /proc/sys/kernel/random/entropy_avail
.
Solution 2:
as read someplace else... each new process get entropy from /dev/random
a simple way to avoid stealing the pool is a program, such as:
#!/usr/bin/env python
import time
while True:
with open('/proc/sys/kernel/random/entropy_avail', 'r') as f:
print(f.read().rstrip())
time.sleep(1.0)