HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
Showing results for 
Search instead for 
Did you mean: 

how to create dump file

Go to solution
Esteemed Contributor

how to create dump file

i need to create dump file around 100mb for some testing purpose, how to create it.

i have done this before but forgot :),

surely assign point for each response,
Steven Schweda
Honored Contributor

Re: how to create dump file

Define "dump file".

What do you want in the file?

"m" = milli. "M" = mega.
"b" = bit. "B" = byte.
"mb" = millibit, which is a pretty small
unit. (Too small to be useful, in fact.)
Vitaly Karasik_1
Honored Contributor

Re: how to create dump file

do you mean "crash dump" file or just big file?
- in 1st case - send "create dump" signal to some big (100mb) process, for example

kill -ABRT pid_of_process

(ulimit should allow it - "ulimit -c unlimited")

- in 2nd case
dd if=/dev/zero of=/tmp/100mb bs=1024k count=100
Viktor Balogh
Honored Contributor

Re: how to create dump file

there is a command for preallocating disk space, see 'man prealloc'
Unix operates with beer.