Dumping to a remote host by makedumpfile.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


Hi.

2007/01/10 09:59:49 +0530, Vivek Goyal <vgoyal at in.ibm.com> wrote:
>Still don't understand why do I need -R? I think it comes from that fact
>that mkdumpfile needs a way to recognize whether input file is vmcore
>or its that intermediate file generated by mkdumpfile.

Do you think that makedumpfile should create dumpfile from STDIN without
any option like the following?

# makedumpfile dumpfile < dumpfile.tmp

I want to add the option of representing "create dumpfile from STDIN" clearly.
I think the following commandline.

* makedumpfile outputs a dump data of "flattening format (intermediate)" to STDOUT.
  # makedumpfile [-O | --to-stdout] /proc/vmcore

* makedumpfile creates a normal dumpfile from STDIN of "flattening format".
  # makedumpfile [-I | --from-stdin] dumpfile

  If creating a dumpfile from STDIN, makedumpfile of a remote host can
  create a normal dumpfile directly without intermediate file.

  # makedumpfile -O -cd31 -x vmlinux /proc/vmcore | ssh user at remote "makedumpfile -I dumpfile"


Thanks
Ken'ichi Ohmichi


[Netdev]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Photo]     [Yosemite]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Linux Media]     [Linux Resources]

Powered by Linux