implement getServicePid
This commit is contained in:
parent
2896feb983
commit
e49c286171
|
@ -23,6 +23,11 @@ public class SynchronizedSigar implements SigarProxy {
|
||||||
return this.sigar.getPid();
|
return this.sigar.getPid();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public synchronized long getServicePid(String name)
|
||||||
|
{
|
||||||
|
return this.sigar.getServicePid(name);
|
||||||
|
}
|
||||||
|
|
||||||
public synchronized Mem getMem()
|
public synchronized Mem getMem()
|
||||||
throws SigarException
|
throws SigarException
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue