This commit is contained in:
parent
3fcd6a5ffa
commit
f343233b1c
38
README
38
README
@ -1,38 +0,0 @@
|
||||
Introduction:
|
||||
To shorten the size of the dumpfile and the time of creating the
|
||||
dumpfile, makedumpfile copies only the necessary pages for analysis
|
||||
to the dumpfile from /proc/vmcore. You can specify the kind of
|
||||
unnecessary pages with dump_level. If you want to shorten the size
|
||||
further, enable the compression of the page data.
|
||||
|
||||
Download:
|
||||
https://sourceforge.net/projects/makedumpfile/
|
||||
|
||||
Usage:
|
||||
makedumpfile [-c] [-E] [-d dump_level] [-x vmlinux] dump_mem dump_file
|
||||
|
||||
Example:
|
||||
If you want to exclude pages filled by zero, cache pages, user pages
|
||||
and free pages and to enable compression, please execute the following
|
||||
command.
|
||||
|
||||
# makedumpfile -c -d 31 -x vmlinux /proc/vmcore dumpfile
|
||||
|
||||
SSH transporting support:
|
||||
For ssh transporting support, -F and -R options are added.
|
||||
A panic system sends dump data to a remote host with -F option, and
|
||||
a remote host re-arranges dump data received to a normal dumpfile
|
||||
(readable by analysis tools) with -R option.
|
||||
Example-1:
|
||||
# makedumpfile -F -cd31 -x vmlinux /proc/vmcore | ssh user@host "makedumpfile -R dumpfile"
|
||||
|
||||
A perl script makedumpfile-R.pl implements the same function as '-R'
|
||||
option. Perl script does not depend on architecture, and a lot of
|
||||
systems have perl command. Even if a remote host does not have the
|
||||
makedumpfile command, it is possible to transport a dumpfile to a
|
||||
remote host with running this script.
|
||||
Example-2:
|
||||
1. Transport the script.
|
||||
# scp makedumpfile-R.pl user@remote:makedumpfile-R.pl
|
||||
2. Transport a dumpfile.
|
||||
# makedumpfile -F -cd31 -i config /proc/vmcore | ssh user@remote "./makedumpfile-R.pl dumpfile"
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1bc717c6a3edd8bfb5285c25deeed4c470cf2b3b16b46d3d0d0c02bdb75f9766
|
||||
size 25269
|
3
makedumpfile-1.1.2.tar.bz2
Normal file
3
makedumpfile-1.1.2.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:00f3d0eb8b3b7e3b34ca6e03ec26b1588da31461798eb4597d479b4f13581597
|
||||
size 33957
|
@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 9 11:55:49 CET 2007 - tiwai@suse.de
|
||||
|
||||
- updated to version 1.1.2:
|
||||
* don't exit even for the unsupported kernel version
|
||||
* minor fixes
|
||||
* documents, man page
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 8 12:49:58 CET 2007 - tiwai@suse.de
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
#
|
||||
# spec file for package makedumpfile (Version 1.1.1)
|
||||
# spec file for package makedumpfile (Version 1.1.2)
|
||||
#
|
||||
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# This file and all modifications and additions to the pristine
|
||||
@ -14,14 +14,13 @@ Name: makedumpfile
|
||||
BuildRequires: gcc-c++
|
||||
%define elfutils_version 0.124
|
||||
License: GNU General Public License (GPL)
|
||||
Version: 1.1.1
|
||||
Version: 1.1.2
|
||||
Release: 1
|
||||
Summary: Partial kernel dump
|
||||
Group: System/Kernel
|
||||
URL: https://sourceforge.net/projects/makedumpfile/
|
||||
Source: makedumpfile-%{version}.tar.bz2
|
||||
Source1: elfutils-%{elfutils_version}-no-osl.tar.bz2
|
||||
Source2: README
|
||||
Patch: makedumpfile-static-elfutils.diff
|
||||
Patch1: makedumpfile-coptflags.diff
|
||||
Patch2: elfutils-portability.patch
|
||||
@ -44,7 +43,6 @@ Authors:
|
||||
%setup -n makedumpfile -q -a1
|
||||
%patch
|
||||
%patch1
|
||||
cp %{SOURCE2} .
|
||||
cd elfutils-%{elfutils_version}
|
||||
ls -l backends
|
||||
if [ `wc -l < "backends/sparc_retval.c"` -gt 2 ]; then
|
||||
@ -73,17 +71,24 @@ make COPTFLAGS="$RPM_OPT_FLAGS"
|
||||
mkdir -p $RPM_BUILD_ROOT/bin
|
||||
install -c -m 0755 makedumpfile $RPM_BUILD_ROOT/bin
|
||||
install -c -m 0755 makedumpfile-R.pl $RPM_BUILD_ROOT/bin
|
||||
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man8
|
||||
install -c -m 0644 makedumpfile.8 $RPM_BUILD_ROOT%{_mandir}/man8
|
||||
|
||||
%clean
|
||||
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc README
|
||||
%doc elfutils-*/COPYING
|
||||
%doc README COPYING
|
||||
%doc %{_mandir}/man?/*
|
||||
/bin/*
|
||||
|
||||
%changelog -n makedumpfile
|
||||
%changelog
|
||||
* Fri Mar 09 2007 - tiwai@suse.de
|
||||
- updated to version 1.1.2:
|
||||
* don't exit even for the unsupported kernel version
|
||||
* minor fixes
|
||||
* documents, man page
|
||||
* Thu Feb 08 2007 - tiwai@suse.de
|
||||
- updated to version 1.1.1:
|
||||
* x86-64 DISCONTIGMEM support
|
||||
|
Loading…
x
Reference in New Issue
Block a user