This commit was generated by cvs2svn to compensate for changes in r2155,

which included commits to RCS files with non-trunk default branches.
This commit is contained in:
stefanp 2002-03-11 13:49:50 +00:00
parent 72d15e11ab
commit 4a7616d5a0
51 changed files with 1885 additions and 0 deletions

23
Application/mrtg.hac Normal file
View file

@ -0,0 +1,23 @@
/**
* prints session- and thread-stats for mrtg-tool
* doesn't check username or password, so that we don't have
* to write them cleartext in a mrtg-configfile
*/
if ( checkAddress()==false ) return;
if ( this.isActive()==false ) {
res.write ( "0\n0\n0\n0\n");
return;
}
if ( req.data.action=="sessions" ) {
res.write ( this.sessions.size() + "\n0\n0\n0\n" );
return;
}
if ( req.data.action=="threads" ) {
res.write ( this.countActiveEvaluators() + "\n" + this.countFreeEvaluators() + "\n0\n0\n");
return;
}