Man page - pldd(1)

Packages contains this manual

Available languages:

en fr es ja ru ro de

Manual

PLDD

名 前
書 式
説 明
オ プ シ ョ ン
終 了 ス テ ー タ ス
バ ー ジ ョ ン
準 拠
注 意
バ グ

関 連 項 目
こ の 文 書 に つ い て

名 前

pldd - プ ロ セ ス に リ ン ク さ れ て い る 動 的 共 有 オ ブ ジ ェ ク ト を 表 示 す る

書 式

pldd pid
pldd
option

説 明

pldd コ マ ン ド は 、 指 定 さ れ た プ ロ セ ス ID (PID) の プ ロ セ ス に リ ン ク さ れ て い る 動 的 共 有 オ ブ ジ ェ ク ト (DSO; dynamic shared objects) の リ ス ト を 表 示 す る 。 こ の リ ス ト に は dlopen (3) を 使 っ て 動 的 に ロ ー ド さ れ た ラ イ ブ ラ リ ー も 含 ま れ る 。

オ プ シ ョ ン

-? , --help

ヘ ル プ メ ッ セ ー ジ を 表 示 し 終 了 す る 。

--usage

使 用 方 法 の 簡 潔 な 概 要 を 表 示 し 終 了 す る 。

-V , --version

プ ロ グ ラ ム の バ ー ジ ョ ン 情 報 を 表 示 し 終 了 す る 。

終 了 ス テ ー タ ス

成 功 す る と pldd は ス テ ー タ ス 0 を 返 す 。 指 定 さ れ た プ ロ セ ス が 存 在 し な い 場 合 、 ユ ー ザ ー が 自 身 の 動 的 共 有 オ ブ ジ ェ ク ト の リ ス ト に ア ク セ ス す る 許 可 を 持 っ て い な い 場 合 、 も し く は コ マ ン ド ラ イ ン 引 数 が 指 定 さ れ て い な い 場 合 、 pldd は ス テ ー タ ス 1 で 終 了 す る 。 無 効 な オ プ シ ョ ン が 指 定 さ れ た 場 合 、 ス テ ー タ ス 64 で 終 了 す る 。

バ ー ジ ョ ン

pldd は glibc 2.15 以 降 で 利 用 可 能 で あ る 。

準 拠

pldd コ マ ン ド は POSIX.1 で は 規 定 さ れ て い な い 。 他 の い く つ か の シ ス テ ム に も 同 様 の コ マ ン ド が あ る 。

注 意

コ マ ン ド

lsof -p PID

は 、 プ ロ セ ス に リ ン ク さ れ た 動 的 共 有 オ ブ ジ ェ ク ト も 出 力 す る 。

The gdb (1) info shared command also shows the shared libraries being used by a process, so that one can obtain similar output to pldd using a command such as the following (to monitor the process with the specified pid ):

$ gdb -ex "set confirm off" -ex "set height 0" -ex "info shared" \
-ex "quit" -p $pid | grep '^0x.*0x'

バ グ

From glibc 2.19 to 2.29, pldd was broken: it just hung when executed. This problem was fixed in glibc 2.30, and the fix has been backported to earlier glibc versions in some distributions.

$ echo $$ # シ ェ ル の PID を 表 示 す る
1143
$ pldd $$ # こ の シ ェ ル に リ ン ク さ れ て い る 動 的 共 有 オ ブ ジ ェ ク ト を 表 示
1143: /usr/bin/bash
linux-vdso.so.1
/lib64/libtinfo.so.5
/lib64/libdl.so.2
/lib64/libc.so.6
/lib64/ld-linux-x86-64.so.2
/lib64/libnss_files.so.2

関 連 項 目

ldd (1), lsof (1), dlopen (3), ld.so (8)

こ の 文 書 に つ い て

こ の man ペ ー ジ は Linux man-pages プ ロ ジ ェ ク ト の リ リ ー ス 5.10 の 一 部 で あ る 。 プ ロ ジ ェ ク ト の 説 明 と バ グ 報 告 に 関 す る 情 報 は https://www.kernel.org/doc/man-pages/ に 書 か れ て い る 。