aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/gcore
diff options
context:
space:
mode:
authorPhilippe Charnier <charnier@FreeBSD.org>2002-04-19 23:44:58 +0000
committerPhilippe Charnier <charnier@FreeBSD.org>2002-04-19 23:44:58 +0000
commit3898680cf705cef4e1cc606b44cd91fc4252bcd5 (patch)
tree1070287b1054de985087e8287086ae5d4c5ed090 /usr.bin/gcore
parent0c7c579ba6b65512b9b668508dc41b8b5b057c65 (diff)
downloadsrc-3898680cf705cef4e1cc606b44cd91fc4252bcd5.tar.gz
src-3898680cf705cef4e1cc606b44cd91fc4252bcd5.zip
Use `The .Nm utility'
Notes
Notes: svn path=/head/; revision=95083
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 dcc33767c646..81f83d206811 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.