Email address obfuscation in effect -- please
click here to turn it off.
[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
- To: MLUG Members <EMAIL:PROTECTED>
- Subject: Re: [MLUG] Quick question /proc/loadavg
- From: Mark Rages <EMAIL:PROTECTED>
- Date: Fri, 11 Feb 2005 14:56:22 -0600
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws;s=beta; d=gmail.com;h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references;b=UYZzi0qBd8OOtdorL+L1LC2jVwrU4oYKBCua36l09wEoN7NtA2RbaEeyADV4DvqvPvRDjNayNb7NlqWkx4xFEzklllCmyBe4IbMFAHkQY2+RYi17d5TfmKO9sSeKatcc2PqAUfMcVzo11k7X8L8EsgXsd6FXk6whsPuygEbL89k=
- In-reply-to: <EMAIL:PROTECTED>
- References: <EMAIL:PROTECTED>
- Reply-to: Mark Rages <EMAIL:PROTECTED>, MLUG Members<EMAIL:PROTECTED>
- Sender: EMAIL:PROTECTED
It's zero because it's not a "real" file. The kernel will give you
the load average when you read this file.
e.g.:
0.28 0.37 0.19 2/96 4747
Those first three numbers are also given by the 'uptime' or 'w'
commands. A possible workaround? But I think those commands probably
just read the /proc file... yes, strace confirms it.
post the code that reads /proc/loadavg, and we'll figure a out a way
around it. I'm coding php this afternoon anyway. yuck.
Regards,
Mark
EMAIL:PROTECTED
On Fri, 11 Feb 2005 14:22:14 -0600, Christian M. Cepel
<EMAIL:PROTECTED> wrote:
> 1and1 has made /proc/loadavg unreadable, and it seems to be zero bytes
> as well.
>
> I'm trying to install tikipro and it barfs because of this... anyone
> know a workaround?
>
> --
>
> |Christian Marcus Cepel | And the wrens have returned &
> EMAIL:PROTECTED icq:12384980 | are nesting; In the hollow of
> 371 Crown Point, Columbia, MO | that oak where his heart once
> 65203-2202 573.999.2370 | had been; And he lifts up his
> Computer Support Specialist, Sr. | arms in a blessing; For being
> University of Missouri-Columbia | born again. --Rich Mullins|
>
> _______________________________________________
> members mailing list
> EMAIL:PROTECTED
> http://mlug.missouri.edu/mailman/listinfo/members
>
--
"We act as though comfort and luxury were the chief requirements of
life, when all that we need to make us happy is something to be
enthusiastic about."
- Einstein
_______________________________________________
members mailing list
EMAIL:PROTECTED
http://mlug.missouri.edu/mailman/listinfo/members