Blob


1 .TH CORE 1
2 .SH NAME
3 core \- 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
13 prints information about dead processes that have
14 been saved as core dumps.
15 .PP
16 Core reads its arguments in order.
17 If a directory is encountered,
18 .I core
19 reads every core file named
20 .B core.*
21 or
22 .B *.core
23 in that directory.
24 .PP
25 For each core file read,
26 .I core
27 prints the command
28 .B stack
29 .IR file ,
30 the date and time the core was generated,
31 and
32 the command that generated it.
33 The
34 .B stack
35 command, if run, prints a stack trace of the
36 executing thread at the time of the core dump;
37 see
38 .MR db (1) .
39 .PP
40 If no arguments are given,
41 .I core
42 searches the directory
43 .B $COREDIR
44 for core files;
45 if
46 .B $COREDIR
47 is not set,
48 .I core
49 searches the current directory.
50 .SH SOURCE
51 .B \*9/src/cmd/core.c
52 .SH "SEE ALSO
53 .MR acid (1) ,
54 .MR db (1) ,
55 .MR core (5)