Man page - gcore(1)

Packages contains this manual

    Package:  gdb
    apt-get install gdb
    Manuals in package:
    Documentations in package:

Available languages:

en ja

Manual

GCORE

名 前
書 式
説 明
オ プ シ ョ ン
関 連 項 目
著 作 権

名 前

gcore - 実 行 プ ロ グ ラ ム の コ ア フ ァ イ ル を 生 成 す る

書 式

gcore [-a] [-o prefix ] pid1 [ pid2 ... pidN ]

説 明

1 つ ま た は 複 数 の 実 行 プ ロ グ ラ ム の プ ロ セ ス ID pid1 , pid2 な ど を 使 っ て 、 コ ア ダ ン プ を 生 成 し ま す 。 gcore か ら 生 成 さ れ る 1 つ の コ ア フ ァ イ ル は 、 プ ロ セ ス が ク ラ ッ シ ュ し た と き に (そ し て "ulimit -c" を 用 い て 、 適 切 に コ ア ダ ン プ 制 限 が 設 定 さ れ て い る と き に ) カ ー ネ ル が 生 成 す る も の と 同 じ で す 。 た だ し 、 ク ラ ッ シ ュ 後 に 生 成 さ れ る も の と は 違 っ て 、 gcore が 処 理 を 終 え た 後 は 、 そ の プ ロ グ ラ ム は 何 も 変 更 な く 動 作 し 続 け ま す 。

オ プ シ ョ ン

-a

メ モ リ マ ッ ピ ン グ を す べ て ダ ン プ し ま す 。 こ の オ プ シ ョ ン が 実 際 に ど の よ う に 効 果 を 発 揮 す る か は 、 オ ペ レ ー テ ィ ン グ シ ス テ ム に よ り ま す 。 GNU/Linux の 場 合 、 "use-coredump-filter" が 無 効 と な り 、 "dump-excluded-mappings" が 有 効 と な り ま す 。

-o prefix

任 意 の 引 数 prefix を 指 定 す る と 、 コ ア ダ ン プ の フ ァ イ ル 名 を 定 め る 際 の プ レ フ ィ ッ ク ス と し て 、 そ の 値 が 用 い ら れ ま す 。 フ ァ イ ル 名 は prefix.pid と し て 構 成 さ れ ま す 。 こ の 場 合 の pid は 、 gcore が 解 析 し て い る 実 行 プ ロ グ ラ ム の プ ロ セ ス ID で す 。 こ れ が 指 定 さ れ た な か っ た 場 合 、 prefix の デ フ ォ ル ト 値 は gcore で す 。

関 連 項 目

GDB の 完 全 な ド キ ュ メ ン ト は Texinfo マ ニ ュ ア ル と し て メ ン テ ナ ン ス さ れ て い ま す 。 "info" と "gdb" の 両 プ ロ グ ラ ム 、 お よ び GDB の Texinfo ド キ ュ メ ン ト が 適 切 に イ ン ス ト ー ル さ れ て い れ ば 、 以 下 の コ マ ン ド

info gdb

を 実 行 し て 完 全 な マ ニ ュ ア ル を 参 照 で き ま す 。

Using GDB: A Guide to the GNU Source-Level Debugger , Richard M. Stallman and Roland H. Pesch, July 1991.

著 作 権

Copyright (c) 1988-2022 Free Software Foundation, Inc.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with the Invariant Sections being "Free Software" and "Free Software Needs Free Documentation", with the Front-Cover Texts being "A GNU Manual," and with the Back-Cover Texts as in (a) below.

(a) FSF の 裏 表 紙 に は 、 以 下 の 文 章 が 記 述 さ れ て い ま す : "You are free to copy and modify this GNU Manual. Buying copies from GNU Press supports the FSF in developing GNU and promoting software freedom."