Re: Generating data depending upon the given size
- From: John Kelly <jak@xxxxxxxxxxxx>
- Date: Wed, 11 Aug 2010 15:46:35 +0000
On Wed, 11 Aug 2010 17:36:56 +0200, Janis Papanagnou
<janis_papanagnou@xxxxxxxxxxx> wrote:
On 11/08/10 17:04, srikanth wrote:
On Aug 11, 8:55 am, Barry Margolin <bar...@xxxxxxxxxxxx> wrote:[...]
In article
<9a7c7480-8de2-4c39-9da9-15fd9b111...@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
srikanth <srikanth0...@xxxxxxxxx> wrote:
On Aug 10, 10:30 pm, pk <p...@xxxxxxxxxx> wrote:
On Tue, 10 Aug 2010 08:06:47 -0700 (PDT) srikanth <srikanth0...@xxxxxxxxx>
wrote:
Hi All,
Just wanted to know if we can generate data with given input size with
the help of shell script. Any idea from our group?
I Just want to generate files with data. Any type of data that doesn't
depend upon the content what it is..
How can we do this with the help of awk or perl?
If you use /dev/random in the above command, you'll get the specified
amount of random bytes.
It should contain human readable data not he system readable data. If
i use dd if=/dev/random it is generation some system level data which
we can't read.
Certainly it is human readable if you pipe it, e.g., through od(1).
/dev/urandom is better than /dev/random for junk data. Or maybe even
/dev/zero piped to hexdump. You can use a format with hexdump to
eliminate spaces in the output. I did not see a way to do that with od.
--
Web mail, POP3, and SMTP
http://www.beewyz.com/freeaccounts.php
.
- Follow-Ups:
- Re: Generating data depending upon the given size
- From: Janis Papanagnou
- Re: Generating data depending upon the given size
- From: John Kelly
- Re: Generating data depending upon the given size
- References:
- Generating data depending upon the given size
- From: srikanth
- Re: Generating data depending upon the given size
- From: pk
- Re: Generating data depending upon the given size
- From: srikanth
- Re: Generating data depending upon the given size
- From: Barry Margolin
- Re: Generating data depending upon the given size
- From: srikanth
- Re: Generating data depending upon the given size
- From: Janis Papanagnou
- Generating data depending upon the given size
- Prev by Date: Re: sed and quoting issue
- Next by Date: Re: Generating data depending upon the given size
- Previous by thread: Re: Generating data depending upon the given size
- Next by thread: Re: Generating data depending upon the given size
- Index(es):
Relevant Pages
|