On Mi, 17.04.19 15:14, Steve Grubb (sgr...@redhat.com) wrote:

> #!/bin/sh
>
> while [ 1 ]
> do
>         /bin/cat /proc/sys/kernel/random/entropy_avail
>         sleep 1
> done
>
> Then in another:
>
> cat /dev/random >/dev/null
>
> After a couple seconds, hit ctl-c to kill cat. Watch what happens to the
> entropy.

Well, don't use /dev/random. Use /dev/urandom. The official
documentation declares /dev/random a "legacy interface".

http://man7.org/linux/man-pages/man4/random.4.html

Lennart

--
Lennart Poettering, Berlin
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org

Reply via email to