dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
02826c0
)
add cute barchart
author
Brion Vibber
<brion@users.mediawiki.org>
Tue, 5 Dec 2006 02:44:53 +0000
(
02:44
+0000)
committer
Brion Vibber
<brion@users.mediawiki.org>
Tue, 5 Dec 2006 02:44:53 +0000
(
02:44
+0000)
maintenance/getLagTimes.php
patch
|
blob
|
history
diff --git
a/maintenance/getLagTimes.php
b/maintenance/getLagTimes.php
index
827bc49
..
f2c06f6
100644
(file)
--- a/
maintenance/getLagTimes.php
+++ b/
maintenance/getLagTimes.php
@@
-15,7
+15,8
@@
if( empty( $wgDBservers ) ) {
} else {
$ip = gethostbyname( $host );
}
- printf( "%10s %20s %3d\n", $ip, $host, $lag );
+ $stars = str_repeat( '*', intval( $lag ) );
+ printf( "%10s %20s %3d %s\n", $ip, $host, $lag, $stars );
}
}