* $ uptime: bad data in /proc/loadavg
@ 2017-05-13 3:03 Andrey Repin
2017-05-13 3:42 ` Brian Inglis
2017-05-13 9:42 ` Achim Gratz
0 siblings, 2 replies; 6+ messages in thread
From: Andrey Repin @ 2017-05-13 3:03 UTC (permalink / raw)
To: All
Greetings, All!
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
It reporting approx the same from under elevated shell.
--
With best regards,
Andrey Repin
Saturday, May 13, 2017 05:38:42
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: $ uptime: bad data in /proc/loadavg
2017-05-13 3:03 $ uptime: bad data in /proc/loadavg Andrey Repin
@ 2017-05-13 3:42 ` Brian Inglis
2017-05-13 5:27 ` Brian Inglis
2017-05-13 16:05 ` Andrey Repin
2017-05-13 9:42 ` Achim Gratz
1 sibling, 2 replies; 6+ messages in thread
From: Brian Inglis @ 2017-05-13 3:42 UTC (permalink / raw)
To: cygwin
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?
Check if you also get it with uptime -p or uptime -s.
Was there a bug report about not localizing /proc
or some similar output recently?
--
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada
--
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: $ uptime: bad data in /proc/loadavg
2017-05-13 3:42 ` Brian Inglis
@ 2017-05-13 5:27 ` Brian Inglis
2017-05-13 16:05 ` Andrey Repin
1 sibling, 0 replies; 6+ messages in thread
From: Brian Inglis @ 2017-05-13 5:27 UTC (permalink / raw)
To: cygwin
On 2017-05-12 21:41, Brian Inglis wrote:
> 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?
> Check if you also get it with uptime -p or uptime -s.
> Was there a bug report about not localizing /proc
> or some similar output recently?
Found it in cygwin-patches - broke top:
https://cygwin.com/ml/cygwin-patches/2017-q2/msg00005.html
- not yet in dll unless there is a snapshot you could test?
--
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada
--
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: $ uptime: bad data in /proc/loadavg
2017-05-13 3:03 $ uptime: bad data in /proc/loadavg Andrey Repin
2017-05-13 3:42 ` Brian Inglis
@ 2017-05-13 9:42 ` Achim Gratz
1 sibling, 0 replies; 6+ messages in thread
From: Achim Gratz @ 2017-05-13 9:42 UTC (permalink / raw)
To: cygwin
Andrey Repin writes:
> 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
>
> It reporting approx the same from under elevated shell.
Use the latest snapshot or test package instead, I don't think that the
fix for this is in a released version yet.
Regards,
Achim.
--
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+
SD adaptation for Waldorf rackAttack V1.04R1:
http://Synth.Stromeko.net/Downloads.html#WaldorfSDada
--
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: $ uptime: bad data in /proc/loadavg
2017-05-13 3:42 ` Brian Inglis
2017-05-13 5:27 ` Brian Inglis
@ 2017-05-13 16:05 ` Andrey Repin
2017-05-13 21:44 ` cyg Simple
1 sibling, 1 reply; 6+ messages in thread
From: Andrey Repin @ 2017-05-13 16:05 UTC (permalink / raw)
To: Brian Inglis, cygwin
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: $ uptime: bad data in /proc/loadavg
2017-05-13 16:05 ` Andrey Repin
@ 2017-05-13 21:44 ` cyg Simple
0 siblings, 0 replies; 6+ messages in thread
From: cyg Simple @ 2017-05-13 21:44 UTC (permalink / raw)
To: cygwin
On 5/13/2017 12:01 PM, Andrey Repin wrote:
>
> $ 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.
>
>
You could create an alias to help simplify life.
alias uptime="LC_NUMERIC=en_US /usr/bin/uptime"
--
cyg Simple
--
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
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2017-05-13 20:06 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-13 3:03 $ uptime: bad data in /proc/loadavg Andrey Repin
2017-05-13 3:42 ` Brian Inglis
2017-05-13 5:27 ` Brian Inglis
2017-05-13 16:05 ` Andrey Repin
2017-05-13 21:44 ` cyg Simple
2017-05-13 9:42 ` Achim Gratz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).