Range of dates on statistics

Message boards : Questions and problems : Range of dates on statistics
Message board moderation

To post messages, you must log in.

AuthorMessage
Kirk

Send message
Joined: 20 May 11
Posts: 12
United States
Message 42702 - Posted: 23 Feb 2012, 13:20:26 UTC

When I replaced my motherboard, I did not change the date right away. My statistics graphs have a 3 year blip in them. How do I change the date range on the graphs to get rid of the bad date?
Thanks
ID: 42702 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15480
Netherlands
Message 42703 - Posted: 23 Feb 2012, 13:51:05 UTC - in response to Message 42702.  

Navigate to your BOINC Data directory.
Find the statistics_*.xml file and open it with a text editor, such as Notepad. No need to use an XML edit.

In it you'll find time stamps in Unix clock format.
E.g. mine from Albert.
<project_statistics>
    <master_url>project URL</master_url>
    <daily_statistics>
        <day>1326844800.000000</day>
        <user_total_credit>16000.000000</user_total_credit>
        <user_expavg_credit>756.709427</user_expavg_credit>
        <host_total_credit>16000.000000</host_total_credit>
        <host_expavg_credit>757.380135</host_expavg_credit>
    </daily_statistics>
    <daily_statistics>
        <day>1326931200.000000</day>
        <user_total_credit>16000.000000</user_total_credit>
        <user_expavg_credit>644.494901</user_expavg_credit>
        <host_total_credit>16000.000000</host_total_credit>
        <host_expavg_credit>645.063585</host_expavg_credit>
    </daily_statistics>
    <daily_statistics>
        <day>1327017600.000000</day>
        <user_total_credit>17500.000000</user_total_credit>
        <user_expavg_credit>706.009674</user_expavg_credit>
        <host_total_credit>17500.000000</host_total_credit>
        <host_expavg_credit>706.513130</host_expavg_credit>
    </daily_statistics>
    <daily_statistics>
        <day>1327104000.000000</day>
        <user_total_credit>18000.000000</user_total_credit>
        <user_expavg_credit>738.735278</user_expavg_credit>
        <host_total_credit>18000.000000</host_total_credit>
        <host_expavg_credit>739.227172</host_expavg_credit>
    </daily_statistics>
<project_statistics>


See those day entries? Find the one that's the lowest and remove the whole <daily_statistics>..</daily_statistics> part around that day. Then save the file (just with File-Save or CTRL + S), exit the file and then exit & restart BOINC.

That should do it.
ID: 42703 · Report as offensive
Kirk

Send message
Joined: 20 May 11
Posts: 12
United States
Message 42734 - Posted: 24 Feb 2012, 21:29:05 UTC - in response to Message 42703.  

Thanks, That did it. I wasn't sure for a while - just restarting the Manager was not enough. I had to restart the computer. Again, thanks
ID: 42734 · Report as offensive

Message boards : Questions and problems : Range of dates on statistics

Copyright © 2024 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.