> strace w 2>&1 | grep urandom
read(4, "/usr/bin/grep\0urandom\0", 2047) = 22
>
Perché "w" ha bisogno di urandom? Come evitarlo?
AGGIORNARE:
> strace w 2>&1 | awk '/urandom/'
read(4, "awk\0/urandom/\0", 2047) = 14
>
quindi è il filtro che ha a che fare con urandom?
> strace who 2>&1 | grep urandom
>
Allora perché "chi" non è interessato?
urandomaccesso nel w codice sorgente.
grepe tuo awk. Non sta waprendo il /dev/urandomfile del dispositivo. È simile aps -aux | grep grep
strace w 2>&1 | grep unicorns;-)
wcui ha bisognourandom. È perchéPiped commands run concurrently: unix.stackexchange.com/questions/37508/…