使い方は,下記ソースコードを適当なシェルスクリプトのファイル(例えばhoge.sh)として保存し,
# . hoge.sh 任意の実行コマンド及び引数群などとすれば利用できます.
# . hoge.sh 任意の実行コマンド及び引数群などとすれば利用できます.
”You may use the Software to conduct internal performance testing and benchmarking studies, the results of which you (and not unauthorized third parties) may publish or publicly disseminate; provided that VMware has reviewed and approved of the methodology, assumptions and other parameters of the study. Please contact VMware at benchmark@vmware.com to request such review.”
OS : CentOS5.7
CPU : Intel(R) Core(TM)2 Duo CPU @ 2.40GHz
Mem : 512MB
Disk : 20GB
# yum install python26 python26-devel --enablerepo=epel以降,python26を基本コマンドとして使用していきます.
#python26 ez_setup.py
#easy_install-2.6 pyramidいろいろなパッケージが自動ダウンロードされると思います.すべて pyramidを構成する依存パッケージです.
$ python helloworld.pyという状況になればOKです.ブラウザに以下のURLを打ち込みます.
serving on 0.0.0.0:8080 view at http://127.0.0.1:8080
http://127.0.0.1:8080/hello/hogehogehogehogeというメッセージが表示されているウェブ画面が確認できれば完成です.
The Pylons web framework 1.x line will continue to be maintained, though not enhanced. We will provide a package that allows Pylons 1.x applications and Pyramid applications to run in the same interpreter. The future of Pylon-style web application development is Pyramidということらしいです.
#wget ftp://ftp.sunet.se/pub/Linux/distributions/scientific/53/i386/updates/fastbugs/glibc-2.5-34.el5_3.1.i686.rpm
#cp glibc-2.5-34.el5_3.1.i686.rpm /tmp/vmwarelibc/#cd /tmp/vmwarelibc# rpm2cpio glibc-2.5-34.el5_3.1.i686.rpm | cpio –ivd
export LD_LIBRARY_PATH=/usr/lib/vmware/lib/libc.so.6:$LD_LIBRARY_PATH
$ vppde –p –R vdm.tc sorter.vpp dosorter.vppこのtcファイルはsorter.vppとdosorter.vppに記述されているクラスの情報をもつことになる.
$ vppde –i –R vdm.tc sort.arg sorter.vpp dosort.vppl 4でのカバレッジ情報の表示については,VDMインタープリタを起動する.VDMインタープリタはシェルから引数を指定せずにVDMバイナリを呼ぶと起動する:
$vppdeその後,インタープリタにて以下を入力する:
>read sorter.vpp dosort.vpp
>rtinfo vdm.tcまず,tcファイルが持つクラスの情報をインタープリタ内へ取り込む必要がある.rtinfoはカバレッジ情報を出力するためのコマンドで,引数にtcファイルを指定する.結果は下の図のようになる.
> read 必要なvppファイル> tcov read vdm1.tc> tcov read vdm2.tc …> tcov write vdm.tctcov write コマンドで,それまでtcovが蓄積したカバレッジ情報を1ファイルに出力することができる.