On 08/08/11 17:18, Andres Perera wrote:
On Mon, Aug 8, 2011 at 1:04 PM, STeve Andre'<and...@msu.edu> wrote:
On 08/08/11 12:59, Theo de Raadt wrote:
Nick, this is probably the single most frequently asked question... :-)
No, it is not. B In the modern world of search engines, this question
lands at the same level as trolling. B If a person's first gut reaction
isn't "go type 3 words into a search engine", and instead they craft a
500 line email message to a list, that is trolling.
Rikky, here is a diff which solves the problem you are facing:
--- w.c Sat Jul 30 15:17:12 2011
+++ w.c.new B B Mon Aug B 8 10:57:34 2011
@@ -430,7 +430,7 @@
B B B B B B B B for (i = 0; i< B (sizeof(avenrun) /
sizeof(avenrun[0]));
i++) {
B B B B B B B B B B B B if (i> B 0)
B B B B B B B B B B B B B B B B (void)printf(",");
- B B B B B B B B B B B (void)printf(" %.2f", avenrun[i]);
+ B B B B B B B B B B B (void)printf(" %.2f", 0.001);
B B B B B B B B }
B B B B B B B B (void)printf("\n");
B B B B }
Hmmm. B Wrap that around an #ifdef looking for an environment
variable B ("LOADAV") B and if it isn't set to "IUNDERSTAND" Theo's
diff is what's shown.
cpp can't look for environment variables
I'm not being entirely facetious.
how facetious are you being, on a scale from 1 to 10?
About 6. It's that low because of multiple arguments I've had with
people about what load averages mean, and the calls I've gotten from
people panicked about a 15+ load average, etc.
People tend to think of load averages like blood pressure, I've come
to understand.
--STeve Andre'