Re: 2.4.0-x features ?
Pierre Rousselet (pierre.rousselet@wanadoo.fr)
Tue, 16 Jan 2001 22:50:43 +0100
John Fremlin wrote:
>
> "Albert D. Cahalan" <acahalan@cs.uml.edu> writes:
>
> > > 1) top (procps-2.0.7) gives me the messages :
> > > 'bad data in /proc/uptime'
> > > 'bad data in /proc/loadavg'
> > > cat /proc/uptime
> > > 1435.30 904.74
> > > cat /proc/loadavg
> > > 0.01 0.21 0.29 1/17 19444
> > > What is wrong ?
>
> You probably have locale settings where the decimal point is a comma
> so scanf on /proc/loadavg etc. doesn't work. The following patch
> (submitted to RedHat ages ago) fixes that for me.
That's it. i persist in setting LANG=fr.
Thank you for the tip.
------------------------------------------------
Pierre Rousselet <pierre.rousselet@wanadoo.fr>
------------------------------------------------
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/