commit | 4386c885861d193e7a596bc43c56ee66680e3cd2 | [log] [tgz] |
---|---|---|
author | arjantijms <arjan.tijms@gmail.com> | Sat Jan 25 22:02:07 2020 +0100 |
committer | arjantijms <arjan.tijms@gmail.com> | Sat Jan 25 22:02:07 2020 +0100 |
tree | 144ff9a2f5e97dc632605f89a8fde16be6eb8e72 | |
parent | 1c8b38f49505173a255f61fd4b2c80a8349a04be [diff] |
Added lsof Signed-off-by: arjantijms <arjan.tijms@gmail.com>
diff --git a/nucleus/common/common-util/src/main/java/com/sun/enterprise/universal/process/ProcessUtils.java b/nucleus/common/common-util/src/main/java/com/sun/enterprise/universal/process/ProcessUtils.java index 524d6f0..9587630 100644 --- a/nucleus/common/common-util/src/main/java/com/sun/enterprise/universal/process/ProcessUtils.java +++ b/nucleus/common/common-util/src/main/java/com/sun/enterprise/universal/process/ProcessUtils.java
@@ -248,6 +248,12 @@ pm.execute(); System.out.println("ps -ef returned " + pm.getStdout()); + + pm = new ProcessManager("lsof", "-p", "" + aPid); + pm.setEcho(false); + pm.execute(); + + System.out.println("lsof -p " + aPid + " returned " + pm.getStdout()); }