1: 2015-02-02 (月) 19:13:52 iseki | 現: 2018-08-18 (土) 15:36:20 iseki | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | sss | + | ** tmux [#s438c252] |
+ | - screen と置き換え可能なプロセス管理ツール | ||
+ | - コンパイルに最新の libevent が必要.中途半端に古い libevent を入れるとコンパイルエラーを起こす. | ||
+ | |||
+ | - https://tmux.github.io/ | ||
+ | #br | ||
+ | |||
+ | *** Compile & Install [#i8d8e6e7] | ||
+ | - libevent | ||
+ | - http://libevent.org/ | ||
+ | |||
+ | zcat libevent-2.0.21-stable.tar.gz |tar xfv - | ||
+ | cd libevent-2.0.21-stable | ||
+ | ./configure --enable-openssl=/usr/local | ||
+ | make | ||
+ | make install | ||
+ | |||
+ | - tmux | ||
+ | |||
+ | zcat tmux-1.9a.tar.gz |tar xfv - | ||
+ | cd tmux-1.9a | ||
+ | ./configure | ||
+ | make | ||
+ | make install | ||
+ | vi /etc/ld.so.conf // add /usr/local/lib | ||
+ | ldconnfig | ||
+ | #br | ||
+ | |||
+ | ** 操作 [#odad0122] | ||
+ | |||
+ | *** デタッチ起動 [#r6d19d94] | ||
+ | tmux new -d -s opensim_region -c /usr/local/opensim/bin 'mono OpenSim.exe' | ||
+ | |||
+ | *** アタッチ [#hd852a4e] | ||
+ | tmux ls // 確認 | ||
+ | tmux a -t opensim_region | ||
+ | |||
+ | *** アタッチ状態からデタッチ [#nf33d982] | ||
+ | Ctrl+b 一旦離して d | ||
+ | *** デタッチ状態のプロセスにコマンドを送る.例) quit^M [#p975ae06] | ||
+ | tmux send-keys "quit" C-m -t opensim_region |
- tmux のバックアップ一覧
- tmux のバックアップの現在との差分(No. All)
- 1: 2015-02-02 (月) 19:13:52 iseki
- 2: 2015-02-02 (月) 19:38:55 iseki
- 3: 2015-02-23 (月) 11:11:03 iseki
- 4: 2015-03-18 (水) 17:54:54 iseki
- 5: 2016-07-06 (水) 10:14:11 iseki