1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml">
5 <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" />
9 <link rel="stylesheet" href="../stylesheets/lfs.css" type="text/css" />
10 <meta name="generator" content="DocBook XSL Stylesheets V1.73.2" />
11 <link rel="stylesheet" href="../stylesheets/lfs-print.css" type=
12 "text/css" media="print" />
14 <body class="lfs" id="lfs-6.8">
15 <div class="navheader">
17 Linux From Scratch - Version 6.8
24 <a accesskey="p" href="patch.html" title="Patch-2.6.1">前のページ</a>
30 <a accesskey="n" href="shadow.html" title=
31 "Shadow-4.1.4.3">次のページ</a>
37 <a accesskey="u" href="chapter06.html" title=
38 "第6章 基本的なソフトウェアのインストール">上に戻る</a>
41 <a accesskey="h" href="../index.html" title=
42 "Linux From Scratch - Version 6.8">ホーム</a>
46 <div class="wrap" lang="ja" xml:lang="ja">
48 <a id="ch-system-psmisc" name="ch-system-psmisc"></a>6.54.
51 <div class="package" lang="ja" xml:lang="ja">
53 Psmisc パッケージは稼動中プロセスの情報表示を行うプログラムを提供します。
55 <div class="segmentedlist">
56 <div class="seglistitem">
58 <strong class="segtitle">概算ビルド時間:</strong> <span class=
59 "segbody">0.1 SBU 以下</span>
62 <strong class="segtitle">必要ディスク容量:</strong> <span class=
63 "segbody">2.5 MB</span>
68 <div class="installation" lang="ja" xml:lang="ja">
70 6.54.1. Psmisc のインストール
73 Psmisc をコンパイルするための準備をします。
75 <pre class="userinput">
76 <kbd class="command">./configure --prefix=/usr</kbd>
81 <pre class="userinput">
82 <kbd class="command">make</kbd>
85 このパッケージにテストスイートはありません。
90 <pre class="userinput">
91 <kbd class="command">make install</kbd>
94 <span class="command"><strong>killall</strong></span> プログラムと
95 <span class="command"><strong>fuser</strong></span> プログラムを、FHS
98 <pre class="userinput">
99 <kbd class="command">mv -v /usr/bin/fuser /bin
100 mv -v /usr/bin/killall /bin</kbd>
103 <div class="content" lang="ja" xml:lang="ja">
105 <a id="contents-psmisc" name="contents-psmisc"></a>6.54.2. Psmisc
108 <div class="segmentedlist">
109 <div class="seglistitem">
111 <strong class="segtitle">インストールプログラム:</strong> <span class=
112 "segbody">fuser, killall, peekfd, prtstat, pstree, pstree.x11
113 (pstree へのリンク)</span>
117 <div class="variablelist">
122 <col align="left" valign="top" />
127 <a id="fuser" name="fuser"></a><span class=
129 "command"><strong>fuser</strong></span></span>
134 指定されたファイルまたはファイルシステムを利用しているプロセスのプロセス ID (PID) を表示します。
141 <a id="killall" name="killall"></a><span class=
143 "command"><strong>killall</strong></span></span>
148 プロセス名を用いてそのプロセスを終了 (kill) させます。
149 指定されたコマンドを起動しているすべてのプロセスに対してシグナルが送信されます。
156 <a id="peekfd" name="peekfd"></a><span class=
158 "command"><strong>peekfd</strong></span></span>
163 PID を指定することによって、稼動中のそのプロセスのファイルディスクリプタを調べます。
170 <a id="prtstat" name="prtstat"></a><span class=
172 "command"><strong>prtstat</strong></span></span>
184 <a id="pstree" name="pstree"></a><span class=
186 "command"><strong>pstree</strong></span></span>
191 稼働中のプロセスをツリー形式で表示します。
198 <a id="pstree.x11" name="pstree.x11"></a><span class=
200 "command"><strong>pstree.x11</strong></span></span>
205 <span class="command"><strong>pstree</strong></span>
206 と同じです。 ただし終了時には確認画面が表示されます。
215 <div class="navfooter">
218 <a accesskey="p" href="patch.html" title="Patch-2.6.1">前のページ</a>
224 <a accesskey="n" href="shadow.html" title=
225 "Shadow-4.1.4.3">次のページ</a>
231 <a accesskey="u" href="chapter06.html" title=
232 "第6章 基本的なソフトウェアのインストール">上に戻る</a>
235 <a accesskey="h" href="../index.html" title=
236 "Linux From Scratch - Version 6.8">ホーム</a>