[go: up one dir, main page]

Menu

[9c7f01]: / README  Maximize  Restore  History

Download this file

36 lines (26 with data), 1.1 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
shmcat - a tool to dump System V shared memory segments, files and text
(C) 2012 by Stefan Gast <sgdev@arcor.de>

This is free software.  You may redistribute copies of it under the terms of
the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
There is NO WARRANTY, to the extent permitted by law.

License: GPLv2 or later

Report bugs to: sgdev@arcor.de

Compile and install in the usual GNU way:
	cd SUBDIR
	./configure
	make
	su -c 'make install'

To dump a shared memory segment, given by key:
	shmcat -M KEY
	(where KEY is some shared memory key obtained via ipcs (1))

To dump a shared memory segment, given by id:
	shmcat -m ID
	(where ID is some shared memory ID obtained via ipcs (1))

You can dump several segments and files together with one call, e.g.:
	shmcat -m 1234 -f some_file

For more information type:
	shmcat -h

If you dump shared memory segments, you would probably want to redirect the
output of shmcat to a file or a program like od (1), because shared memory
data is usually in a binary format and thus it may contain non-printable
characters.