cancel
Showing results for 
Search instead for 
Did you mean: 

how to create dump file

SOLVED
Go to solution
avizen9
Esteemed Contributor

how to create dump file

Hello,
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,
3 REPLIES
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
Solution

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.