Skip site navigation (1)Skip section navigation (2)
Date:      02 Jun 1999 12:52:08 +0200
From:      Juergen Nickelsen <jnickelsen@acm.org>
To:        Kris Kennaway <kkennawa@physics.adelaide.edu.au>
Cc:        chat@FreeBSD.ORG
Subject:   Re: FreeBSD & X
Message-ID:  <x73e0alvs7.fsf@goting.jn.berlin.snafu.de>
In-Reply-To: Kris Kennaway's message of "Wed, 2 Jun 1999 14:21:05 %2B0930 (CST)"
References:  <Pine.OSF.4.10.9906021417590.21520-100000@bragg>

next in thread | previous in thread | raw e-mail | index | archive | help
Kris Kennaway <kkennawa@physics.adelaide.edu.au> writes on freebsd-chat:

> dd if=/dev/urandom bs=<whatever>

Someone I knew (Carsten Rossenhoevel) developed a portable alternative
once:

    ( ps -ael ; netstat -s ) |
    compress |
    tr "\100-\377" "\007-\077\001-\077\001-\077\001-\077" | 
    tr "\001-\077" "9a-f0-9a-f0-9a-f0-9a-f0-9" |
    fold -32 |
    awk '{ l1=l2; l2=l3; l3=l4; l4=$0; } END { print l1 }'

Allegedly this runs on a *wide* variety of Unixen; I have used it
myself on SunOS (4 and 5), HP-UX, Linux, and FreeBSD without
modification.

Greetings, Juergen.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-chat" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?x73e0alvs7.fsf>