[JM:02596] [POST:DP] GNU gdb 10.2 gcore.1

アーカイブの一覧に戻る
matsuand michio_matsu****@yahoo*****
2021年 7月 4日 (日) 13:57:56 JST


<STATUS>
stat: DP
ppkg: GNU gdb 10.2
page: gcore.1
date: 2021/04/25
mail: michio_matsu****@yahoo*****
name: Michio MATSUYAMA
</STATUS>

.\"O .TH GCORE 1 "2021-04-25" "gdb-10.2" "GNU Development Tools"
.\"O .if n .ad l
.\"O .nh
.TH GCORE 1 2021\-04\-25 gdb\-10.2 "GNU Development Tools"
.if  n .ad l
.nh
.\"O ----------------------------------------
.\"O .SH "NAME"
.\"O gcore \- Generate a core file of a running program
.SH 名前
gcore \- 実行プログラムのコアファイルを生成する
.\"O ----------------------------------------
.\"O .SH "SYNOPSIS"
.\"O .IX Header "SYNOPSIS"
.\"O gcore [\-a] [\-o \fIprefix\fR] \fIpid1\fR [\fIpid2\fR...\fIpidN\fR]
.SH 書式
.IX Header 書式
gcore [\-a] [\-o \fIprefix\fP] \fIpid1\fP [\fIpid2\fP...\fIpidN\fP]
.\"O ----------------------------------------
.\"O .SH "DESCRIPTION"
.\"O .IX Header "DESCRIPTION"
.\"O Generate core dumps of one or more running programs with process IDs
.\"O \&\fIpid1\fR, \fIpid2\fR, etc.  A core file produced by \fBgcore\fR
.\"O is equivalent to one produced by the kernel when the process crashes
.\"O (and when \f(CW\*(C`ulimit \-c\*(C'\fR was used to set up an appropriate core dump
.\"O limit).  However, unlike after a crash, after \fBgcore\fR finishes
.\"O its job the program remains running without any change.
.SH 説明
.IX Header 説明
1 つまたは複数の実行プログラムのプロセス ID \&\fIpid1\fP, \fIpid2\fP などを使って、 コアダンプを生成します。 \fBgcore\fP
から生成される 1 つのコアファイルは、 プロセスがクラッシュしたときに (そして \f(CW\*(C`ulimit \-c\*(C'\fP
を用いて、適切にコアダンプ制限が設定されているときに) カーネルが生成するものと同じです。 ただし、クラッシュ後に生成されるものとは違って、
\fBgcore\fP が処理を終えた後は、そのプログラムは何も変更なく動作し続けます。
.\"O ----------------------------------------
.\"O .SH "OPTIONS"
.\"O .IX Header "OPTIONS"
.SH オプション
.IX Header オプション
.\"O ----------------------------------------
.\"O .IP "\fB\-a\fR" 4
.\"O .IX Item "-a"
.\"O Dump all memory mappings.  The actual effect of this option depends on
.\"O the Operating System.  On GNU/Linux, it will disable
.\"O \&\f(CW\*(C`use\-coredump\-filter\*(C'\fR and
.\"O enable \f(CW\*(C`dump\-excluded\-mappings\*(C'\fR.
.IP \fB\-a\fP 4
.IX Item \-a
メモリマッピングをすべてダンプします。 このオプションが実際にどのように効果を発揮するかは、オペレーティングシステムによります。 GNU/Linux
の場合、 \&\f(CW\*(C`use\-coredump\-filter\*(C'\fP が無効となり、
\f(CW\*(C`dump\-excluded\-mappings\*(C'\fP が有効となります。
.\"O ----------------------------------------
.\"O .IP "\fB\-o\fR \fIprefix\fR" 4
.\"O .IX Item "-o prefix"
.\"O The optional argument \fIprefix\fR specifies the prefix to be used
.\"O when composing the file names of the core dumps.  The file name is
.\"O composed as \fI\fIprefix\fI.\fIpid\fI\fR, where \fIpid\fR is the
.\"O process \s-1ID\s0 of the running program being analyzed by \fBgcore\fR.
.\"O If not specified, \fIprefix\fR defaults to \fIgcore\fR.
.IP "\fB\-o\fP \fIprefix\fP" 4
.IX Item "\-o prefix"
任意の引数 \fIprefix\fP を指定すると、コアダンプのファイル名を定める際のプレフィックスとして、その値が用いられます。 ファイル名は
\fIprefix.pid\fP として構成されます。 この場合の \fIpid\fP は、 \fBgcore\fP が解析している実行プログラムのプロセス
\s-1ID\s0 です。 これが指定されたなかった場合、 \fIprefix\fP のデフォルト値は \fIgcore\fP です。
.\"O ----------------------------------------
.\"O .SH "SEE ALSO"
.\"O .IX Header "SEE ALSO"
.\"O The full documentation for \s-1GDB\s0 is maintained as a Texinfo manual.
.\"O If the \f(CW\*(C`info\*(C'\fR and \f(CW\*(C`gdb\*(C'\fR programs and \s-1GDB\s0's Texinfo
.\"O documentation are properly installed at your site, the command
.SH 関連項目
.IX Header 関連項目
\s-1GDB\s0 の完全なドキュメントは Texinfo マニュアルとしてメンテナンスされています。\f(CW\*(C`info\*(C'\fP と
\f(CW\*(C`gdb\*(C'\fP の両プログラム、および \s-1GDB\s0 の Texinfo
ドキュメントが適切にインストールされていれば、以下のコマンド
.\"O ----------------------------------------
.\"O .PP
.\"O .Vb 1
.\"O \&        info gdb
.\"O .Ve
.PP
.Vb 1
\& info gdb
.Ve
.\"O ----------------------------------------
.\"O .PP
.\"O should give you access to the complete manual.
.PP
を実行して完全なマニュアルを参照できます。
.\"O ----------------------------------------
.\"O .PP
.\"O \&\fIUsing \s-1GDB: A\s0 Guide to the \s-1GNU\s0 Source-Level Debugger\fR,
.\"O Richard M. Stallman and Roland H. Pesch, July 1991.
.PP
\&\fIUsing \s-1GDB: A\s0 Guide to the \s-1GNU\s0 Source\-Level Debugger\fP,
Richard M. Stallman and Roland H. Pesch, July 1991.
.\"O ----------------------------------------
.\"O .SH "COPYRIGHT"
.\"O .IX Header "COPYRIGHT"
.\"O Copyright (c) 1988\-2021 Free Software Foundation, Inc.
.SH 著作権
.IX Header 著作権
Copyright (c) 1988\-2021 Free Software Foundation, Inc.
.\"O ----------------------------------------
.\"O .PP
.\"O Permission is granted to copy, distribute and/or modify this document
.\"O under the terms of the \s-1GNU\s0 Free Documentation License, Version 1.3 or
.\"O any later version published by the Free Software Foundation; with the
.\"O Invariant Sections being \*(L"Free Software\*(R" and \*(L"Free Software Needs
.\"O Free Documentation\*(R", with the Front-Cover Texts being \*(L"A \s-1GNU\s0 Manual,\*(R"
.\"O and with the Back-Cover Texts as in (a) below.
.PP
Permission is granted to copy, distribute and/or modify this document under
the terms of the \s-1GNU\s0 Free Documentation License, Version 1.3 or any
later version published by the Free Software Foundation; with the Invariant
Sections being \*(L"Free Software\*(R" and \*(L"Free Software Needs Free
Documentation\*(R", with the Front\-Cover Texts being \*(L"A \s-1GNU\s0
Manual,\*(R" and with the Back\-Cover Texts as in (a) below.
.\"O ----------------------------------------
.\"O .PP
.\"O (a) The \s-1FSF\s0's Back-Cover Text is: \*(L"You are free to copy and modify
.\"O this \s-1GNU\s0 Manual.  Buying copies from \s-1GNU\s0 Press supports the \s-1FSF\s0 in
.\"O developing \s-1GNU\s0 and promoting software freedom.\*(R"
.PP
(a) \s-1FSF\s0 の裏表紙には、 以下の文章が記述されています: \*(L"You are free to copy and modify
this \s-1GNU\s0 Manual.  Buying copies from \s-1GNU\s0 Press supports the
\s-1FSF\s0 in developing \s-1GNU\s0 and promoting software freedom.\*(R"
.\"O ----------------------------------------



linuxjm-discuss メーリングリストの案内
アーカイブの一覧に戻る