*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Tru64 Unix man pages -> coredump (1)              



NAME    [Toc]    [Back]

       coredump - Creates a core snapshot of a running process

SYNOPSIS    [Toc]    [Back]

       coredump [directory] pid

OPERANDS    [Toc]    [Back]

       A directory in which to put the core snapshot. The default
       is the current directory.  The process id of  the  running

DESCRIPTION    [Toc]    [Back]

       The  coredump command creates a core snapshot of a running
       process. To use the coredump command, you: Must have  root
       privileges  or own the process specified (pid).  Must have
       procfs enabled.

       By default, the snapshot is placed in a file  named  core,
       in  the  current  directory.  You  can specify a different
       directory with the directory operand. If  core-file-naming
       is  enabled  at  the  system or application level (see the
       Programmer's Guide), the core file will be named automatically
  according  to  the following convention: core.progname.host-name.tag

       where tag is a uniquely assigned number.

       To examine the core snapshot, use the dbx(1)  debugger  or
       the  ladebug(1)  debugger (if installed) as you would when
       examining the core dump resulting from a program crash.

ERRORS    [Toc]    [Back]

       If any of the following conditions occurs, errno is set to
       the corresponding value: No such process. There is no running
 process with that  process  id.   Permission  denied.
       You  do  not  own the process or do not have the necessary

EXIT STATUS    [Toc]    [Back]

       The following exit values are returned: Successful completion.
  An error occurred.

FILES    [Toc]    [Back]

       Default  name  of  a  core snapshot file.  Location of the
       coredump program.

SEE ALSO    [Toc]    [Back]

       dbx(1), ladebug(1), proc(4).

       Programmer's Guide

[ Back ]
 Similar pages
Name OS Title
gcore FreeBSD get core images of running process
kill Tru64 Sends a signal to a running process
renice Tru64 Alters the priority of a running process
pidof Linux find the process ID of a running program.
core_addshmem_read HP-UX determines the inclusion of readable shared memory in a process core dump
sigqueue Tru64 Queues a signal and data to a running process
core_addshmem_write HP-UX determines the inclusion of read/write shared memory in process core dump
pxffork IRIX Creates a process
pxfsetsid IRIX Creates a new session for a calling process
setsid Linux creates a session and sets the process group ID
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service