2013年8月1日 星期四

screen 設定


設定完畢會像這樣


1. 需要2個tool, 用以取得 cpu / memory usage
https://github.com/MatthewCox/screen-cpu-mem

所需檔案(cmake file, cpp file, script file, screenrc)
https://docs.google.com/file/d/0By-PnpBdd03WWjNTWmNaNkdNSGM/edit?usp=sharing

根據網頁說明安裝 tool

Installation

Dependencies

Building
  • >= cmake -2.6
  • C++ compiler (e.g. gcc/g++)

Download

There are links to the source code at the project homepage.

Build

cd <source dir>
cmake .
make

Install

su -
make install

2. 把壓縮檔裡的screenrc放到家目錄
mv current.screenrc ~/.screenrc

之後再執行 screen就有效果了



沒有留言: