gcore(1) GNU Tools gcore(1)NAME
gcore - Generate a core file for a running process
SYNOPSIS
gcore [-o filename] pid
DESCRIPTION
gcore generates a core file for the process specified by its process ID, pid. By default, the core file is written to core.pid, in the cur-
rent directory.
-o filename
write core file to filename instead of core.pid
COPYING
Copyright (C) 2003, 2005, 2007, 2008 Free Software Foundation, Inc.
Permission is granted to make and distribute verbatim copies of this manual provided the copyright notice and this permission notice are
preserved on all copies.
Permission is granted to copy and distribute modified versions of this manual under the conditions for verbatim copying, provided that the
entire resulting derived work is distributed under the terms of a permission notice identical to this one.
Permission is granted to copy and distribute translations of this manual into another language, under the above conditions for modified
versions, except that this permission notice may be included in translations approved by the Free Software Foundation instead of in the
original English.
SEE ALSO gdb(1), core(5)gdb 6.8 May 2007 gcore(1)
Check Out this Related Man Page
GCORE(1) General Commands Manual GCORE(1)NAME
gcore - get core image of running process
SYNOPSIS
gcore [-s][-c core] pid
DESCRIPTION
gcore creates a core image of each specified process, suitable for use with adb(1). By default the core image is written to the file
<pid>.core.
The options are:
-c Write the core file to the specified file instead of <pid>.core.
-s Stop the process while creating the core image and resume it when done. This makes sure that the core dump will be in a consistent
state. The process is resumed even if it was already stopped. Of course, you can obtain the same result by manually stopping the
process with kill(1).
The core image name was changed from core.<pid> to <pid>.core to prevent matching names like core.h and core.c when using programs such as
find(1).
FILES
<process-id>.core The core image.
BUGS
If gcore encounters an error while creating the core image and the -s option was used the process will remain stopped.
Swapped out processes and system processes (the swapper) may not be gcore'd.
4.2 Berkeley Distribution April 15, 1994 GCORE(1)
Hi Forums,
It seems to me that I can't use "su" command. When I type "su", I get the following message:
/sbin/su - Permission denied
Am I missing any thing?
By the way I am using IRIX6.5 on a SGI computer. Many thanks in advance for your help.
Cheers, Siavoush (12 Replies)
If have this core here.. generated by ARIES32: Core file for PA32 application saved to /var/vx/isis/core.vxsvc
I load it up in gdb and do a where..
I see..
(gdb) where
#0 0xc22afb7c in smallcount+0 () from /usr/lib/libc.2
#1 0xc34759cc in write_stream+0xfc () from... (1 Reply)
Hi all,
here is a problem,
i am having a data in a file of this format,
cat filename|grep -ivn edc|tr -s ' ' +|cut -d+ f1,12
1 01:18:38 2007
25 01:43:38 2007
48 01:58:45 2007
71 02:11:02 2007
102 02:19:51 2007
and so on ........ ....... .
here... (4 Replies)
Hi All
I am new for this forum. I have a core file by using gdb and bt cmd I got the function name but I want to the exact cause of the core dump because of I can not reproduse the binary so if any one know the cmd plz plz plz let me know. (0 Replies)
how to view core dumped file using gdb and how to extract information from the coredumped file.can we get similar information from the other utilites like strace or ptrace. (2 Replies)
i am getting memory fault (core dump) in a C program
i want to know which statement execution caused it.
i tried following things
$ gdb generalised_tapinread_mod
HP gdb 5.4.0 for HP Itanium (32 or 64 bit) and target HP-UX 11.2x.
Copyright 1986 - 2001 Free Software Foundation, Inc.... (2 Replies)
Hi all,
One fine day one of the services in our prod server started core dumping and then the core file was ftp'd to our test server , to debug we used gdb with the executable which we had but we could not get the function names ( maybe due to missing symbols ) How do i solve this ... (1 Reply)
Hi All,
I wanted to know if there is a core file generated and I am not sure for which Binary it is generated .
Can I use gdb to debug the core file ?
Thanks. (1 Reply)
hi all....
i wrote a program with udp sockets..
when it reaches the function 'recvfrom()' it crashes with a core dump.
the gdb trace says the following error msg...
Core was generated by `/opt/fmp'.
Program terminated with signal 6, Aborted.
#0 0x00000055555b18e4 in recvfrom () from... (1 Reply)
Hi,
When I use the Find command under the root directory ("/") of my Ubuntu, I get the good answers mixed inside a long list of "Permission non granted" (in fact and with my French version, I get "Permission non accordée" !).
After several unsuccessful tries with -perm or -executable options... (4 Replies)