diff --git a/bindings/java/src/net/hyperic/sigar/SynchronizedSigar.java b/bindings/java/src/net/hyperic/sigar/SynchronizedSigar.java index a9845228..bedfd366 100644 --- a/bindings/java/src/net/hyperic/sigar/SynchronizedSigar.java +++ b/bindings/java/src/net/hyperic/sigar/SynchronizedSigar.java @@ -23,6 +23,11 @@ public class SynchronizedSigar implements SigarProxy { return this.sigar.getPid(); } + public synchronized long getServicePid(String name) + { + return this.sigar.getServicePid(name); + } + public synchronized Mem getMem() throws SigarException {