- typedef struct sqlma
-
{
-
int obj_num; //数组大小
-
sqlm_obj_struct obj_var[]; // 要获取监控的类型
-
}sqlma;
typedef struct sqlm_obj_struct
{
sqluint32 agent_id; //根据obj_type定义,0不需要,或app_id,或agent_id
sqluint32 obj_type; //监控类型 SQLMA_XXXX
char object[SQLM_OBJECT_SZ]; //根据obj_type定义,""不需要,或数据库名,或实例名
}sqlm_obj_struct;