blob: 51d235fbdcb73861cd14a96ae7a977ac1244f648 [file] [log] [blame]
rsc058b0112005-01-03 06:40:20 +00001.TH CORE 1
2.SH NAME
3core \- print information about dead processes
4.SH SYNOPSIS
5.B core
6[
7.I dir
8|
9.I corefile
10]...
11.SH DESCRIPTION
12.I Core
13prints information about dead processes that have
14been saved as core dumps.
15.PP
16Core reads its arguments in order.
17If a directory is encountered,
18.I core
19reads every core file named
20.B core.*
21or
22.B *.core
23in that directory.
24.PP
25For each core file read,
26.I core
rsc3264d2e2005-01-23 22:55:46 +000027prints the command
28.B stack
29.IR file ,
30the date and time the core was generated,
31and
32the command that generated it.
33The
34.B stack
35command, if run, prints a stack trace of the
36executing thread at the time of the core dump;
37see
38.IR db (1).
rsc058b0112005-01-03 06:40:20 +000039.PP
40If no arguments are given,
41.I core
42searches the directory
43.B $COREDIR
44for core files;
45if
46.B $COREDIR
47is not set,
48.I core
49searches the current directory.
50.SH SOURCE
rscc3674de2005-01-11 17:37:33 +000051.B \*9/src/cmd/core.c
rsc058b0112005-01-03 06:40:20 +000052.SH "SEE ALSO
53.IR acid (1),
54.IR db (1),
55.IR core (5)