This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: $ uptime: bad data in /proc/loadavg
- From: Andrey Repin <anrdaemon at yandex dot ru>
- To: Brian Inglis <Brian dot Inglis at SystematicSw dot ab dot ca>, cygwin at cygwin dot com
- Date: Sat, 13 May 2017 19:01:35 +0300
- Subject: Re: $ uptime: bad data in /proc/loadavg
- Authentication-results: sourceware.org; auth=none
- Authentication-results: smtp3o.mail.yandex.net; dkim=pass header.i=@yandex.ru
- References: <258891239.20170513054453@yandex.ru> <e7555476-f160-5a9f-4241-dff07810fcbc@SystematicSw.ab.ca>
- Reply-to: cygwin at cygwin dot com
Greetings, Brian Inglis!
> On 2017-05-12 20:44, Andrey Repin wrote:
>> Just a few days ago it worked, but now
>> $ uptime
>> bad data in /proc/loadavg
>> $ cat /proc/loadavg
>> 0,00 0,00 0,00 1/3
> Something is localizing output from /proc/loadavg
> - assume you're using ru locale?
Yes, sorry, was my afterthought too.
> Check if you also get it with uptime -p or uptime -s.
$ uptime -p
up 17 hours, 35 minutes
$ uptime -s
2017-05-13 01:23:39
$ locale.exe
LANG=ru_RU.UTF-8
LC_CTYPE="ru_RU.UTF-8"
LC_NUMERIC="ru_RU.UTF-8"
LC_TIME="ru_RU.UTF-8"
LC_COLLATE="ru_RU.UTF-8"
LC_MONETARY="ru_RU.UTF-8"
LC_MESSAGES="en_US"
LC_ALL=
$ export LC_NUMERIC=en_US
$ uptime
19:02:13 up 17:38, 0 users, load average: 4.00, 4.00, 4.00
Thanks, I can live with it for the time being.
It's not mission-critical.
--
With best regards,
Andrey Repin
Saturday, May 13, 2017 19:00:31
Sorry for my terrible english...
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple