aboutsummaryrefslogtreecommitdiff
path: root/man/man1/core.1
blob: b0a5b16152443512e1c909fa634b87af5b2c9e9f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
.TH CORE 1
.SH NAME
core \- print information about dead processes
.SH SYNOPSIS
.B core
[
.B -s
]
[
.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,
the command that generated it, and, if the
.B -s
option is given, a short stack trace
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
.B \*9/src/cmd/core.c
.SH "SEE ALSO
.IR acid (1),
.IR db (1),
.IR core (5)
.SH BUGS
The
.B -s
option is not implemented.