2005-01-03 06:40:20 +00:00
|
|
|
.TH CORE 1
|
|
|
|
.SH NAME
|
|
|
|
core \- print information about dead processes
|
|
|
|
.SH SYNOPSIS
|
|
|
|
.B core
|
|
|
|
[
|
2005-01-20 17:52:20 +00:00
|
|
|
.B -s
|
|
|
|
]
|
|
|
|
[
|
2005-01-03 06:40:20 +00:00
|
|
|
.I dir
|
|
|
|
|
|
|
|
|
.I corefile
|
|
|
|
]...
|
|
|
|
.SH DESCRIPTION
|
|
|
|
.I Core
|
|
|
|
prints information about dead processes that have
|
|
|
|
been saved as core dumps.
|
|
|
|
.PP
|
|
|
|
Core reads its arguments in order.
|
|
|
|
If a directory is encountered,
|
|
|
|
.I core
|
|
|
|
reads every core file named
|
|
|
|
.B core.*
|
|
|
|
or
|
|
|
|
.B *.core
|
|
|
|
in that directory.
|
|
|
|
.PP
|
|
|
|
For each core file read,
|
|
|
|
.I core
|
|
|
|
prints the date and time the core was generated,
|
2005-01-20 17:52:20 +00:00
|
|
|
the command that generated it, and, if the
|
|
|
|
.B -s
|
|
|
|
option is given, a short stack trace
|
2005-01-03 06:40:20 +00:00
|
|
|
at the time of the core dump.
|
|
|
|
.PP
|
|
|
|
If no arguments are given,
|
|
|
|
.I core
|
|
|
|
searches the directory
|
|
|
|
.B $COREDIR
|
|
|
|
for core files;
|
|
|
|
if
|
|
|
|
.B $COREDIR
|
|
|
|
is not set,
|
|
|
|
.I core
|
|
|
|
searches the current directory.
|
|
|
|
.SH SOURCE
|
2005-01-11 17:37:33 +00:00
|
|
|
.B \*9/src/cmd/core.c
|
2005-01-03 06:40:20 +00:00
|
|
|
.SH "SEE ALSO
|
|
|
|
.IR acid (1),
|
|
|
|
.IR db (1),
|
|
|
|
.IR core (5)
|
2005-01-13 04:49:19 +00:00
|
|
|
.SH BUGS
|
2005-01-20 17:52:20 +00:00
|
|
|
The
|
|
|
|
.B -s
|
|
|
|
option is not implemented.
|