summaryrefslogtreecommitdiffstats
path: root/usr.bin/gcore
diff options
context:
space:
mode:
authorcharnier <charnier@FreeBSD.org>2002-04-19 23:44:58 +0000
committercharnier <charnier@FreeBSD.org>2002-04-19 23:44:58 +0000
commita07fb1cc07255490c7adbf8b4830307c3b6ae34d (patch)
tree1070287b1054de985087e8287086ae5d4c5ed090 /usr.bin/gcore
parente0fe548473d7c5fb4bd311d674b5af8d589f6c96 (diff)
downloadFreeBSD-src-a07fb1cc07255490c7adbf8b4830307c3b6ae34d.zip
FreeBSD-src-a07fb1cc07255490c7adbf8b4830307c3b6ae34d.tar.gz
Use `The .Nm utility'
Diffstat (limited to 'usr.bin/gcore')
-rw-r--r--usr.bin/gcore/gcore.123
1 files changed, 13 insertions, 10 deletions
diff --git a/usr.bin/gcore/gcore.1 b/usr.bin/gcore/gcore.1
index dcc3376..81f83d2 100644
--- a/usr.bin/gcore/gcore.1
+++ b/usr.bin/gcore/gcore.1
@@ -42,11 +42,12 @@
.Nm
.Op Fl s
.Op Fl c Ar core
-.Op Ar exec
+.Op Ar executable
.Ar pid
.Sh DESCRIPTION
-.Nm Gcore
-creates a core image of the specified process,
+The
+.Nm
+utility creates a core image of the specified process,
suitable for use with
.Xr gdb 1 .
By default, the core is written to the file
@@ -60,7 +61,7 @@ specified,
will use
.Dq Pa /proc/<pid>/file .
.Pp
-The options are:
+The following options are available:
.Bl -tag -width indent
.It Fl c
Write the core file to the specified file instead of
@@ -76,13 +77,14 @@ The same effect can be achieved manually with
.Sh FILES
.Bl -tag -width /var/log/messages -compact
.It Pa core.<pid>
-The core image.
+the core image
.It Pa /proc/<pid>/file
-The executable image.
+the executable image
.El
.Sh HISTORY
-.Nm Gcore
-appeared in
+A
+.Nm
+utility appeared in
.Bx 4.2 .
.Sh BUGS
Context switches or paging activity that occur while
@@ -92,7 +94,8 @@ For best results, use
.Fl s
to temporarily stop the target process.
.Pp
-.Nm Gcore
-is not compatible with the original
+The
+.Nm
+utility is not compatible with the original
.Bx 4.2
version.
OpenPOWER on IntegriCloud