ネットワークでインストールしたetch でpstreeが使えない
ちょっとぐぐってもわからなかったが sysutils 自体を入れてもまだだめ(;_;
debian:~# apt-get install sysutils Reading package lists... Done Building dependency tree... Done The following extra packages will be installed: memtester procinfo tofrodos The following NEW packages will be installed: memtester procinfo sysutils tofrodos 0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. Need to get 77.5kB of archives. After unpacking 319kB of additional disk space will be used. Do you want to continue [Y/n]? Get:1 http://ftp.jp.debian.org etch/main memtester 2.93.1-3.1 [21.5kB] Get:2 http://ftp.jp.debian.org etch/main procinfo 18-1 [34.3kB] Get:3 http://ftp.jp.debian.org etch/main tofrodos 1.7.6-2 [16.8kB] Get:4 http://ftp.jp.debian.org etch/main sysutils 2.0.1 [4822B] Fetched 77.5kB in 0s (95.1kB/s) Selecting previously deselected package memtester. (Reading database ... 35810 files and directories currently installed.) Unpacking memtester (from .../memtester_2.93.1-3.1_i386.deb) ... Selecting previously deselected package procinfo. Unpacking procinfo (from .../procinfo_18-1_i386.deb) ... Selecting previously deselected package tofrodos. Unpacking tofrodos (from .../tofrodos_1.7.6-2_i386.deb) ... Selecting previously deselected package sysutils. Unpacking sysutils (from .../sysutils_2.0.1_all.deb) ... Setting up memtester (2.93.1-3.1) ... Setting up procinfo (18-1) ... Setting up tofrodos (1.7.6-2) ... Setting up sysutils (2.0.1) ... debian:~#
その後
cl.pocari.org - プロセスツリーを可視化する pstree
http://cl.pocari.org/2006-09-30-1.html
インストール
$ wget ftp://ftp.thp.uni-duisburg.de/pub/source/pstree-2.27.tar.gz $ mkdir pstree-2.27 $ tar -zxvf pstree-2.27.tar.gz -C pstree-2.27 $ cd pstree-2.27 $ gcc -O2 -o pstree pstree.c # cp -p pstree /usr/local/bin
の記事のとおりで成功しました。多謝。