[HOME] [戻る]

玄箱インストールmemo(psmisc)

目次

psmisc-21.5

インストール手順

tar zxf tgz/psmisc-21.5.tar.gz
cd psmisc-21.5
./configure --prefix=/usr
make
su
make install

 realusersys
make0m27.168s0m23.110s0m3.560s

確認

cd /usr/bin
ls -lt |head
-rwxr-xr-x  1 root root   71097 Feb  9 22:14 pstree
-rwxr-xr-x  1 root root   71097 Feb  9 22:14 pstree.x11
-rwxr-xr-x  1 root root   67019 Feb  9 22:14 killall
-rwxr-xr-x  1 root root   95679 Feb  9 22:14 fuser

cd /usr/bin
strip -p fuser killall pstree pstree.x11
ls -lt |head
-rwxr-xr-x  1 root root   14436 Feb  9 22:14 pstree
-rwxr-xr-x  1 root root   14436 Feb  9 22:14 pstree.x11
-rwxr-xr-x  1 root root   12848 Feb  9 22:14 killall
-rwxr-xr-x  1 root root   19224 Feb  9 22:14 fuser

実行例

root@kuro:/usr/bin# pstree -V
pstree (psmisc) 21.5
Copyright (C) 1993-2002 Werner Almesberger and Craig Small

pstree comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it under the terms
of the GNU General Public License.
For more information about these matters, see the files named COPYING.

root@kuro:/usr/bin# pstree -A
init-+-afpd
     |-atalkd
     |-cron
     |-getty
     |-httpd---7*[httpd]
     |-inetd---in.telnetd---sh---bash---pstree
     |-keventd
     |-khubd
     |-2*[kjournald]
     |-klogd
     |-lpd
     |-master-+-pickup
     |        `-qmgr
     |-named
     |-nmbd
     |-ntpd-+-ntpd---ntpd
     |      `-ntpd
     |-postmaster-+-postmaster
     |            `-postmaster---postmaster
     |-ppc_uartd
     |-smbd---smbd
     |-syslogd
     `-thttpd

2005/02/12
ご意見・ご感想は,こちらの掲示板 まで.