add findPids(String) helper
This commit is contained in:
1 parent
4f4d950980
commit
81a19482a0
1 file changed
+4
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user