add findPids(String) helper
This commit is contained in:
parent
4f4d950980
commit
81a19482a0
|
@ -171,6 +171,10 @@ public class Shell extends ShellBase {
|
|||
return this.foundPids;
|
||||
}
|
||||
|
||||
public long[] findPids(String query) throws SigarException {
|
||||
return findPids(new String[] { query });
|
||||
}
|
||||
|
||||
public void readCommandFile(String dir) {
|
||||
try {
|
||||
File rc = new File(dir, RCFILE_NAME);
|
||||
|
|
Loading…
Reference in New Issue