Skip to Content
avatar image
Former Member

script which would create continously 20480M files on disks

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

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Best Answer
    May 17, 2011 at 08:44 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 17, 2011 at 07:50 AM

    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

    Add comment
    10|10000 characters needed characters exceeded