Raw data, typically a section of main memory outputted to a file after the crash of a program or of the kernel itself. Questions relating to debugging and analysis of dump files.
Questions tagged [dump]
54 questions
23
votes
3 answers
How to dump memory image from linux system?
I know to dump memory images in Windows. (eg-dumpit) But I don't know how to dump memory images in Linux.
I want to get memory images in Linux and from Linux to Linux with ssh connection or something.
How can I get in Linux?
bakie
- 363
- 1
- 2
- 8
11
votes
4 answers
Moving /boot and MBR to a new drive
I have a CentOS 6 server with two hard drives in it. My old 3TB drive has been giving me some issues so I'm moving things over to a new drive. Because my / and /home partition are managed by a LVM it was easy to migrate those to the new drive. …
Cloudkiller
- 263
- 1
- 2
- 9
11
votes
2 answers
Dump network traffic of single application (strace-like)
I'm looking for a way to dump pcap of network data generated by an application, in a simmilar way strace dumps syscalls, etc. eg:
net-strace somecommand -args
somecommand would do something over the network, and net-strace would save a pcap dump of…
gesti
- 111
- 1
- 3
8
votes
2 answers
What is the difference between the od, hd, hexdump and xxd commands?
What is the difference between the od, hd, hexdump and xxd commands ?
They are all commands for dumping files and they can all dump it in various formats such as hexadecimal, octal or binary. Why creating different programs ?
Nicryc
- 285
- 4
- 11
8
votes
2 answers
A way for saving running state of a program
I have a program that will perform a lengthy calculation which may take several days to be completed.
Is there a way to save the program's running state; so I will be able to turn off the computer and run the program from a saved state. Or if the…
Minimus Heximus
- 2,377
- 6
- 24
- 33
6
votes
3 answers
Are there any ways or tools to dump the memory cache and buffer?
I want to check out what files are loaded in buffer. Just so it's clear, the buffers & cache I'm referring to are what show up when you run the free -m command:
$ free -m
total used free shared buffers cached
Mem:…
jofox
- 119
- 1
- 2
- 4
6
votes
3 answers
How to compress a mysql dump using 7z via a pipe?
I've been attempting to compress my mysqldump output via 7z using the pipe operator (I have seen this question, but its answer uses xz not 7z). This is what I have tried so far:
mysqldump -u root -p Linux_Wiki | 7z > backup.sql.7z
and:
mysqldump…
Josh Pinto
- 3,483
- 15
- 52
- 87
6
votes
2 answers
Deleted my ssh keys
I'm on a Mac (OSX).
I've accidentally deleted my ssh keys, but I haven't restarted my computer yet so I'm still able to access servers with my key. I guess the ssh-agent has some form of it in memory?
Is there any way to retrieve the key from the…
James
- 183
- 1
- 6
5
votes
2 answers
What causes \r's to be inserted before \n's when retrieving a binary file over ssh, and how do I circumvent it?
I have inherited a Ubuntu 14.04 production server which needs to be upgraded to 20.04, and I would like a sandboxed version to experiment with first, hence I want to dump and restore the filesystems over the network from either a MacOS or another…
Thorbjørn Ravn Andersen
- 1,031
- 11
- 19
5
votes
0 answers
What is the structure of Libvirt Qemu VM dump/save files?
I need to do some exploration of Qemu-KVM virtual machines physical memory (particularly I need to check the fact of the physical memory intersection). In order to do that I'm trying to save VM's state with a virsh dump or virsh save command.
The…
Vitaly Isaev
- 611
- 1
- 7
- 19
4
votes
1 answer
od emulation for directories
I was wondering why od(1) used to work in UNIX but doesn't work in GNU/Linux. There is a nice answer on serverfault. The next question is, are you aware of any tools that can emulate od behavior to support dumping directory data in GNU/Linux?
sakisk
- 2,863
- 21
- 18
4
votes
1 answer
ssh dynamic port forwarding and tcpdump shows cleartext
I'm trying to encrypt my web traffic using SSH dynamic port forwarding in case I happen to be in moot places such as internet cafes, hotels and so on.
On my laptop I installed an SSH server and executed:
ssh -C -D 1080 myuser@localost
I then…
Thomas Ukenagashi
- 41
- 1
3
votes
2 answers
tshark dump only when string is matched
I'm working on a web capture script where I only want to dump the traffic if the HTML body or URL contains a string defined in a .txt file.
Here is my tshark command which dumps src ip dest url (HTTP host) which works like a charm.
tshark -i eth1…
jemik
- 31
- 2
3
votes
1 answer
What is Unix for the OpenVMS DUMP command?
In OpenVMS the DUMP command:
Displays the contents of a file, a directory, a disk volume, a
magnetic tape volume, or a CD-ROM volume in decimal, hexadecimal,
octal format, ASCII, or formatted data structures.
This is frequently used when a…
CW Holeman II
- 3,654
- 5
- 31
- 49
3
votes
0 answers
Memory dump on Ubuntu 18.04 failed on too big /proc/kcore/
There are two great articles about how to aquire memory on Linux using linpmem:
SANS
holdmybeersecurity
Trying the approach from holdmybeersecurity I ran into the following issue, which seems to be a more general problem:
wget…
gies0r
- 131
- 4