test service query
This commit is contained in:
parent
3f92a2dc5d
commit
0d2c62af41
|
@ -43,6 +43,8 @@ public class TestPTQL extends SigarTestCase {
|
||||||
"Port.tcp.eq=8080,Cred.Uid.eq=1003", //dougm owned jboss port
|
"Port.tcp.eq=8080,Cred.Uid.eq=1003", //dougm owned jboss port
|
||||||
"Pid.PidFile.eq=pid.file",
|
"Pid.PidFile.eq=pid.file",
|
||||||
"Pid.Pid.eq=1",
|
"Pid.Pid.eq=1",
|
||||||
|
"Pid.Service.eq=Eventlog",
|
||||||
|
"Pid.Service.eq=Hyperic HQ Agent",
|
||||||
"State.Name.eq=java,Pid.Pid.ne=$$", //all java procs cept this one
|
"State.Name.eq=java,Pid.Pid.ne=$$", //all java procs cept this one
|
||||||
"Cpu.Percent.ge=0.2",
|
"Cpu.Percent.ge=0.2",
|
||||||
};
|
};
|
||||||
|
@ -61,6 +63,7 @@ public class TestPTQL extends SigarTestCase {
|
||||||
"Time.Stime.gt=x",
|
"Time.Stime.gt=x",
|
||||||
"Pid.PidFile.ne=pid.file",
|
"Pid.PidFile.ne=pid.file",
|
||||||
"Pid.Pid.eq=foo",
|
"Pid.Pid.eq=foo",
|
||||||
|
"Pid.Service.ne=Eventlog",
|
||||||
"Cpu.Percent.ge=x",
|
"Cpu.Percent.ge=x",
|
||||||
"",
|
"",
|
||||||
null
|
null
|
||||||
|
|
Loading…
Reference in New Issue