Skip to content

Instantly share code, notes, and snippets.

@PkmX
Created October 3, 2014 18:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save PkmX/c9c261eeec8c8bf8c95c to your computer and use it in GitHub Desktop.
Save PkmX/c9c261eeec8c8bf8c95c to your computer and use it in GitHub Desktop.
pkmx@singularity ~ $ bash -c 'while true; do sleep 123; done;' &
[1] 9885
pkmx@singularity ~ $ sudo gcore 9885
warning: Could not load shared library symbols for linux-vdso.so.1.
Do you need "set solib-search-path" or "set sysroot"?
Got object file from memory but can't read symbols: File truncated.
0x00007ffc86e5a39a in waitpid () from /usr/lib/libc.so.6
warning: target file /proc/9885/cmdline contained unexpected null characters
warning: Memory read failed for corefile section, 8192 bytes at 0x7fff9243c000.
Saved corefile core.9885
pkmx@singularity ~ $ strings core.9885 | grep 'while true'
while true; do sleep 123; done;
while true; do sleep 123; done;
while true; do sleep 123; done;
while true; do sleep 123; done;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment