Time taken for creation of a huge core file

Hi,
I needed to know how I can find out the time needed for an Unix machine(HP) to create a corefile as huge as 500MB(core created either by a SEGV or a kill -6 command). An approximate figure of the time taken would be really helpful.:confused:

It just took me 1 minute 19 seconds. But not all HP system run at the same rate. Why not just give it try and time it for yourself on your system?

Thanx for your reply.
I would like to try it out myself on my system for which I want to know the exact process(steps) you carried out to determine the time(of 1 min 19 secs) so that I can follow the same.
Pls let me know how u did it.

I wrote a program:

char x1[100000000];
char x2[100000000];
char x3[100000000];
char x4[100000000];
char x5[100000000];
main() { kill(getpid(),6); }

Call the program "bigdump.c". Then:
cc bigdump.c -o bigdump
date ; ./bigdump ; date

time dd if=/dev/zero of=bigfile bs=1024 count=500000

will time creation of a 500MB file on just about any unix.