From 0d2c62af4137926663a83c33d9e9cd696e5b64f5 Mon Sep 17 00:00:00 2001 From: Doug MacEachern Date: Sat, 14 Aug 2004 00:32:17 +0000 Subject: [PATCH] test service query --- bindings/java/src/net/hyperic/sigar/test/TestPTQL.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bindings/java/src/net/hyperic/sigar/test/TestPTQL.java b/bindings/java/src/net/hyperic/sigar/test/TestPTQL.java index 822e698e..2d7303db 100644 --- a/bindings/java/src/net/hyperic/sigar/test/TestPTQL.java +++ b/bindings/java/src/net/hyperic/sigar/test/TestPTQL.java @@ -43,6 +43,8 @@ public class TestPTQL extends SigarTestCase { "Port.tcp.eq=8080,Cred.Uid.eq=1003", //dougm owned jboss port "Pid.PidFile.eq=pid.file", "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 "Cpu.Percent.ge=0.2", }; @@ -61,6 +63,7 @@ public class TestPTQL extends SigarTestCase { "Time.Stime.gt=x", "Pid.PidFile.ne=pid.file", "Pid.Pid.eq=foo", + "Pid.Service.ne=Eventlog", "Cpu.Percent.ge=x", "", null