are you on a MAC by any chance??  seems like weewx has implemented pretty 
much the method outlined here for os uptime:
http://planzero.org/blog/2012/01/26/system_uptime_in_python,_a_better_way



On Sunday, 4 March 2018 11:07:39 UTC+2, Andrew Milner wrote:

> the format must vary with the operating system then as mine says
> up 1 week, 3 hours, 51 minutes!!
>
> not too sure why your uptime should give be giving any info about users or 
> load averages though!!
>
>
>
> On Sunday, 4 March 2018 10:14:51 UTC+2, Robin wrote:
>
>> up 16 days, 18:57,  1 user,  load average: 0.14, 0.19, 0.21
>>
>> On Sunday, 4 March 2018 09:30:10 UTC+2, Andrew Milner wrote:
>>>
>>> if you do uptime -p what result do you get??
>>>
>>>
>>>
>>> On Sunday, 4 March 2018 09:15:11 UTC+2, Andrew Milner wrote:
>>>
>>>> and the log??
>>>>
>>>>
>>>>
>>>> On Sunday, 4 March 2018 08:40:23 UTC+2, Robin wrote:
>>>>
>>>>> OK the page is now updating (not the images, I'm only interested in 
>>>>> the uptime).
>>>>>
>>>>> http://www.weather.molyvos.eu/Bootstrap/
>>>>>
>>>>> It still shows
>>>>>
>>>>> Station uptime: 0 days, 0 Hours, 0 minutes
>>>>> Server uptime: 0 days, 0 Hours, 6 minutes
>>>>>
>>>>>
>>>>>
>>>>> On Sunday, 4 March 2018 08:27:31 UTC+2, Robin wrote:
>>>>>>
>>>>>> Andrew, 
>>>>>>
>>>>>> my bad, just noticed that myself and was about to post. I will get 
>>>>>> /bootstrap/index running again and see what happens
>>>>>>
>>>>>> Robin
>>>>>>
>>>>>> On Sunday, 4 March 2018 08:11:47 UTC+2, Andrew Milner wrote:
>>>>>>>
>>>>>>> the bootstrap skin has totally the wrong date and time of lasdt 
>>>>>>> update though!!!!!  It is saying November 2015
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Sunday, 4 March 2018 08:07:30 UTC+2, Robin wrote:
>>>>>>>
>>>>>>>> Hi Gary,
>>>>>>>>
>>>>>>>> I don't think it is the template or skin config as I also have a 
>>>>>>>> Bootstrap skin running.
>>>>>>>>
>>>>>>>> http://www.weather.molyvos.eu/Bootstrap/index.html
>>>>>>>>
>>>>>>>> Since I did a Weewx stop/start it now shows 
>>>>>>>>
>>>>>>>> Weewx uptime: 0 days, 0 hours, 0 minutes
>>>>>>>> Server uptime: 0 days, 0 hours, 6 minutes
>>>>>>>>
>>>>>>>>
>>>>>>>>  
>>>>>>>>
>>>>>>>>
>>>>>>>> On Saturday, 3 March 2018 20:41:38 UTC+2, gjr80 wrote:
>>>>>>>>>
>>>>>>>>> $station.uptime by itself should format just fine, though it 
>>>>>>>>> will/may depend on the contents of skin.conf. In your case it appears 
>>>>>>>>> to be 
>>>>>>>>> formatting as it should. Given we are talking about a custom page (ie 
>>>>>>>>> not 
>>>>>>>>> one included in a default weeWX install) it would be worth posting 
>>>>>>>>> the 
>>>>>>>>> template file (.tmpl) and skin config file being used.
>>>>>>>>>
>>>>>>>>> Gary
>>>>>>>>>
>>>>>>>>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to