44 | | * 測試 |
| 44 | * 若是您沒有 root 權限,也可以指定安裝再自己的家目錄 |
| 45 | {{{ |
| 46 | # python setup.py install --home=$HOME |
| 47 | }}} |
| 48 | * 若看到以下訊息則表示安裝成功 |
| 49 | {{{ |
| 50 | #!sh |
| 51 | creating /usr/share/haizea/traces/multi |
| 52 | copying traces/multi/inj1.lwf -> /usr/share/haizea/traces/multi |
| 53 | copying traces/multi/inj2.lwf -> /usr/share/haizea/traces/multi |
| 54 | copying traces/multi/withprematureend.lwf -> /usr/share/haizea/traces/multi |
| 55 | copying traces/multi/withoutprematureend.lwf -> /usr/share/haizea/traces/multi |
| 56 | running install_egg_info |
| 57 | Writing /usr/lib/python2.5/site-packages/haizea-XXX.egg-info |
| 58 | }}} |
| 59 | * 測試 (使用提供的範本來測試執行,此範本會 simulate 沒有需求的排程 |
| 60 | {{{ |
| 61 | # sudo haizea -c /usr/share/haizea/etc/sample_trace.conf |
| 62 | [2006-11-25 13:00:00.00] RM Starting resource manager |
| 63 | [2006-11-25 13:00:00.00] TFILE Loading tracefile /usr/share/haizea/traces/sample.lwf |
| 64 | [2006-11-25 13:00:00.00] TFILE Loaded workload with 0 requests () |
| 65 | [2006-11-25 13:00:00.00] CLOCK Starting simulated clock |
| 66 | [2006-11-25 13:00:00.00] CLOCK Simulated clock has stopped |
| 67 | [2006-11-25 13:00:00.00] RM Stopping resource manager gracefully... |
| 68 | [2006-11-25 13:00:00.00] RM --- Haizea status summary --- |
| 69 | [2006-11-25 13:00:00.00] RM Number of leases (not including completed): 0 |
| 70 | [2006-11-25 13:00:00.00] RM Completed leases: 0 |
| 71 | [2006-11-25 13:00:00.00] RM ---- End summary ---- |
| 72 | }}} |