WEBUI patch: load average
Dmitry Morozovsky
marck at rinet.ru
Sun Nov 27 16:14:50 EST 2011
Dear colleagues,
I found the following simple path useful for additional monitoring my builder
health:
--- webui/templates/default/latest_buildports.tpl 2011-11-20
10:01:09.000000000 +0400
+++ /usr/local/tb/scripts/webui/templates/default/latest_buildports.tpl
2011-10-31 17:38:09.843363114 +0400
@@ -21,11 +21,12 @@
<?php }?>
<?php echo $current_builds?>
- <?php if($build_name){?>
- <h1>Latest Builds in <?php echo $build_name?></h1>
- <?php }else{?>
- <h1>Latest Builds</h1>
- <?php }?>
+ <h2>Latest Builds
+ <?php if($build_name){
+ echo $build_name;
+ }?>
+ <small>LA: <?php echo `/sbin/sysctl -n vm.loadavg`; ?></small>
+ </h2>
<?php if(!$no_list){?>
<table>
--
Sincerely,
D.Marck [DM5020, MCK-RIPE, DM3-RIPN]
[ FreeBSD committer: marck at FreeBSD.org ]
------------------------------------------------------------------------
*** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck at rinet.ru ***
------------------------------------------------------------------------
More information about the tinderbox-list
mailing list