cancel
Showing results for 
Search instead for 
Did you mean: 

script which would create continously 20480M files on disks

Former Member
0 Kudos

Hello everybody

Does anyone know how to create a script which would create continously 20480M files on disks. We have to chek SAN ability to write

maybe smehow in crontab..(we are usinh HPUXIA64)

Kr

Accepted Solutions (1)

Accepted Solutions (1)

markus_doehr2
Active Contributor
0 Kudos

You can use 'dd' (as example):

dd if=/dev/zero of=/file/to/be/written bs=<blocksize> size=2048000000

This is, however, not reflecting a SAP load since it writes to the files sequentially whereas SAP reads more or less random blocks. Better use bonnie++ (http://www.coker.com.au/bonnie+/) where you can play with different options. You can get it for HP-UX at http://hpux.connect.org.uk/hppd/hpux/Sysadmin/bonnie+-1.03e/

Markus

Answers (1)

Answers (1)

Former Member
0 Kudos

Hello

Additionally I would like to test creation on remote host and copy to target host (with something like scp * root@oktal/var/tmp/Media)

Thx in advance