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-7.2">
15 <div class="navheader">
17 Linux From Scratch - Version 7.2
24 <a accesskey="p" href="util-linux.html" title=
25 "Util-linux-2.21.2">前のページ</a>
31 <a accesskey="n" href="e2fsprogs.html" title=
32 "E2fsprogs-1.42.5">次のページ</a>
38 <a accesskey="u" href="chapter06.html" title=
39 "第6章 基本的なソフトウェアのインストール">上に戻る</a>
42 <a accesskey="h" href="../index.html" title=
43 "Linux From Scratch - Version 7.2">ホーム</a>
47 <div class="wrap" lang="ja" xml:lang="ja">
49 <a id="ch-system-psmisc" name="ch-system-psmisc"></a>6.23.
52 <div class="package" lang="ja" xml:lang="ja">
54 Psmisc パッケージは稼動中プロセスの情報表示を行うプログラムを提供します。
56 <div class="segmentedlist">
57 <div class="seglistitem">
59 <strong class="segtitle">概算ビルド時間:</strong> <span class=
60 "segbody">0.1 SBU 以下</span>
63 <strong class="segtitle">必要ディスク容量:</strong> <span class=
64 "segbody">4.2 MB</span>
69 <div class="installation" lang="ja" xml:lang="ja">
71 6.23.1. Psmisc のインストール
74 Psmisc をコンパイルするための準備をします。
76 <pre class="userinput">
77 <kbd class="command">./configure --prefix=/usr</kbd>
82 <pre class="userinput">
83 <kbd class="command">make</kbd>
86 このパッケージにテストスイートはありません。
91 <pre class="userinput">
92 <kbd class="command">make install</kbd>
95 <span class="command"><strong>killall</strong></span> プログラムと
96 <span class="command"><strong>fuser</strong></span> プログラムを、FHS
99 <pre class="userinput">
100 <kbd class="command">mv -v /usr/bin/fuser /bin
101 mv -v /usr/bin/killall /bin</kbd>
104 <div class="content" lang="ja" xml:lang="ja">
106 <a id="contents-psmisc" name="contents-psmisc"></a>6.23.2. Psmisc
109 <div class="segmentedlist">
110 <div class="seglistitem">
112 <strong class="segtitle">インストールプログラム:</strong> <span class=
113 "segbody">fuser, killall, peekfd, prtstat, pstree, pstree.x11
114 (pstree へのリンク)</span>
118 <div class="variablelist">
123 <col align="left" valign="top" />
128 <a id="fuser" name="fuser"></a><span class=
130 "command"><strong>fuser</strong></span></span>
135 指定されたファイルまたはファイルシステムを利用しているプロセスのプロセス ID (PID) を表示します。
142 <a id="killall" name="killall"></a><span class=
144 "command"><strong>killall</strong></span></span>
149 プロセス名を用いてそのプロセスを終了 (kill) させます。
150 指定されたコマンドを起動しているすべてのプロセスに対してシグナルが送信されます。
157 <a id="peekfd" name="peekfd"></a><span class=
159 "command"><strong>peekfd</strong></span></span>
164 PID を指定することによって、稼動中のそのプロセスのファイルディスクリプターを調べます。
171 <a id="prtstat" name="prtstat"></a><span class=
173 "command"><strong>prtstat</strong></span></span>
185 <a id="pstree" name="pstree"></a><span class=
187 "command"><strong>pstree</strong></span></span>
192 稼働中のプロセスをツリー形式で表示します。
199 <a id="pstree.x11" name="pstree.x11"></a><span class=
201 "command"><strong>pstree.x11</strong></span></span>
206 <span class="command"><strong>pstree</strong></span>
207 と同じです。 ただし終了時には確認画面が表示されます。
216 <div class="navfooter">
219 <a accesskey="p" href="util-linux.html" title=
220 "Util-linux-2.21.2">前のページ</a>
226 <a accesskey="n" href="e2fsprogs.html" title=
227 "E2fsprogs-1.42.5">次のページ</a>
233 <a accesskey="u" href="chapter06.html" title=
234 "第6章 基本的なソフトウェアのインストール">上に戻る</a>
237 <a accesskey="h" href="../index.html" title=
238 "Linux From Scratch - Version 7.2">ホーム</a>