]> granicus.if.org Git - apache/commitdiff
Might as well show 'em all
authorJim Jagielski <jim@apache.org>
Mon, 24 Sep 2012 20:51:03 +0000 (20:51 +0000)
committerJim Jagielski <jim@apache.org>
Mon, 24 Sep 2012 20:51:03 +0000 (20:51 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1389566 13f79535-47bb-0310-9956-ffa450edef68

modules/metadata/mod_headers.c

index 229535c732e5b8de85ee2f149680353c6cb997a6..93977390b956e4642094049b9e27b3e639a22a44 100644 (file)
@@ -224,7 +224,8 @@ static const char *header_request_loadavg(request_rec *r, char *a)
 {
     ap_loadavg_t t;
     ap_get_loadavg(&t);
-    return apr_psprintf(r->pool, "l=%.2f", t.loadavg);
+    return apr_psprintf(r->pool, "l=%.2f/%.2f/%.2f", t.loadavg,
+                        t.loadavg5, t.loadavg15);
 }
 
 static const char *header_request_idle(request_rec *r, char *a)