delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/05/13/12:05:23

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; q=dns; s=default; b=BO+i8Va1NR00lhRi
k+bm+wR5bqKqGhPS9xlSXBfZLCGpnUHWnQabBEJEo85n2z1dV0R9jpRQBOa2w2qq
rI0tc1Ga5+Z04HK66c+ya97jBoJ8D/PF6y8EmnbeHcTJVCffNMCNaDDk3Xzrao6V
oeYJYeX9QZkbMw9qdH7JXqYd1P8=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; s=default; bh=jMYBcAPSMBr2P3OC7XMllR
Gx+pk=; b=wDUtOJMRwzSdta6kUwG0f3LZTWLxTeWjHxKU7pi69+b+KhzNlBIQlA
dtq/TnQM/asjrdPXDsuUq/q65qU48H+Ev5ozEcaIClVwDJ3uCehHfMcb9jaDNMNv
IrGLEkagAoXEBIWtnSrE4xo5tXIY93FIhdugNbqlZiLYovbziJIfE=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=2.0 required=5.0 tests=BAYES_50,FREEMAIL_FROM,KAM_THEBAT,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.2 spammy=H*UA:Bat!, H*x:Bat!, H*M:yandex, H*F:D*yandex.ru
X-HELO: forward3j.cmail.yandex.net
Authentication-Results: smtp3o.mail.yandex.net; dkim=pass header.i=@yandex.ru
X-Yandex-Suid-Status: 1 0,1 0
Date: Sat, 13 May 2017 19:01:35 +0300
From: Andrey Repin <anrdaemon AT yandex DOT ru>
Reply-To: cygwin AT cygwin DOT com
Message-ID: <864646341.20170513190135@yandex.ru>
To: Brian Inglis <Brian DOT Inglis AT SystematicSw DOT ab DOT ca>, cygwin AT cygwin DOT com
Subject: Re: $ uptime: bad data in /proc/loadavg
In-Reply-To: <e7555476-f160-5a9f-4241-dff07810fcbc@SystematicSw.ab.ca>
References: <258891239 DOT 20170513054453 AT yandex DOT ru> <e7555476-f160-5a9f-4241-dff07810fcbc AT SystematicSw DOT ab DOT ca>
MIME-Version: 1.0
X-IsSubscribed: yes

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019