以下は JE2BWM ほかが作成した翻訳 です。 原文は University of California より GFDL で配付されており、 この翻訳も GFDL に従います。
原文: Downloadable statistics data   (翻訳対象の更新日付は 5:48 PM UTC, June 09 2006 です)。

ダウンロードできる統計データ

boinc.gif
(英語のみ)

プロジェクトは統計データを XML形式のファイルで外部に提供します。 多くのプロジェクトでこれらのファイルは24時間ごとに生成されます。

これらのファイルは、ダウンロードディレクトリに置かれ、 そのプロジェクトのウェブサイトと相互にリンクされています。 (リンクは普通 X/stats/ という形で、 X の部分がプロジェクトの URL です)。

ダウンロード・ディレクトリには、下記のファイルが置かれます:

tables.xml このファイルには、実体(チーム、参加者、計算機)の種類それぞれについて、レコードの数が入っています。 さらに、そのファイルを生成した UNIX 時刻(訳注:1970年1月1日 00:00:00 からの経過秒数)と、 そのプロジェクトのアプリケーションの一覧、種々のものの数も含みます。
たとえば、以下のようなものです。
<tables>
    <update_time>1046220857</update_time>
    <nusers>127</nusers>
    <nteams>14</nteams>
    <nhosts>681</nhosts>
    <total_credit>1234.234</total_credit>
    <applications>
        <application>
            <name>setiathome</name>
            <results_unsent>100</results_unsent>
            <results_in_progress>1000</results_in_progress>
            <results_over>10000</results_over>
        </application>
        ...
    </applications>
</tables>
host.gz 計算機の一覧
team.gz チームの一覧
user.gz 参加者の一覧

出力ファイルに書き出される種々のXML要素は、以下の[例で示す]形式です:
原注:

チームの要約(Team summarymmaryary)

<team>
 <id>5</id>
 <name>Broadband Reports Team Starfire</name>
 <total_credit>153402.872429</total_credit>
 <expavg_credit>503030.483254</expavg_credit>
 <expavg_time>1087542007.701900</expavg_time>
 <nusers>14</nusers>
</team>

参加者の要約(User summary)

<user>
 <id>12</id>
 <name>John Keck</name>
 <total_credit>42698.813543</total_credit>
 <expavg_credit>117348.653646</expavg_credit>
 <expavg_time>1087542007.701900</expavg_time>
 <cpid>283472938743489759837498347</cpid>
 [ <teamid>5</teamid> ]
 [ <has_profile/> ]
</user>

計算機の要約(Host summary)

<host>
  <id>102</id>
  <userid>3</userid>
  <total_credit>0.000000</total_credit>
  <expavg_credit>0.000000</expavg_credit>
  <expavg_time>1087542007.701900</expavg_time>
  <p_vendor>GenuineIntel</p_vendor>
  <p_model>Pentium</p_model>
  <os_name>Windows XP</os_name>
  <os_version>5.1</os_version>
  <create_time>1040170006</create_time>
  <timezone>28800</timezone>
  <ncpus>2</ncpus>
  <p_fpops>45724737.082762</p_fpops>
  <p_iops>43233895.373973</p_iops>
  <p_membw>4032258.064516</p_membw>
  <m_nbytes>670478336.000000</m_nbytes>
  <m_cache>1000000.000000</m_cache>
  <m_swap>1638260736.000000</m_swap>
  <d_total>9088008192.000000</d_total>
  <d_free>3788505088.000000</d_free>
  <n_bwup>24109.794088</n_bwup>
  <n_bwdown>57037.049858</n_bwdown>
  <avg_turnaround>465609.562145</avg_turnaround>
  <host_cpid>e129b5fa44ed8ba58e41c472822f2807</host_cpid>
</host>

統計データの外部出力

統計データを出力するには、各プロジェクトは下記の例のような要素を、config.xml ファイルに含めて下さい。

    <tasks>
        <task>
            <cmd>db_dump -d 2 -dump_spec ../db_dump_spec.xml</cmd>
            <output>db_dump.out</output>
            <period>24 hours</period>
        </task>
    </tasks>
db_dump_spec.xml ファイルを、各プロジェックとのルートディレクトリに置くことに気をつけて下さい。
BOINCの訳のメインページに戻る | (原文のメインページに戻る)
 

最終更新時刻 00:48:03, 2006年08月12日(JST)
Copyright © 2010 University of California. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
Copyright © 2010 Komori Hitoshi(je2bwm at jarl.com). Japanese translation from English web pages on BOINC. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.