array('RATIOH', "select round((1-(wt.value / (rd.value + wr.value)))*100,2) from sysmaster:sysprofile wr, sysmaster:sysprofile rd, sysmaster:sysprofile wt where rd.name = 'pagreads' and wr.name = 'pagwrites' and wt.name = 'buffwts'", '=WarnCacheRatio'), 'IO', 'data reads' => array('IO', "select value from sysmaster:sysprofile where name='pagreads'", 'Page reads'), 'data writes' => array('IO', "select value from sysmaster:sysprofile where name='pagwrites'", 'Page writes'), 'Connections', 'current connections' => array('SESS', 'select count(*) from sysmaster:syssessions', 'Number of sessions'), false ); function perf_informix(&$conn) { $this->conn =& $conn; } } ?>