print pid before getProcArgs for troubleshooting

This commit is contained in:
Doug MacEachern 2004-08-03 03:25:43 +00:00
parent 63924059e2
commit 6676840d77
1 changed files with 1 additions and 1 deletions

View File

@ -56,8 +56,8 @@ public class TestProcArgs extends SigarTestCase {
for (int i=0; i<pids.length; i++) { for (int i=0; i<pids.length; i++) {
try { try {
String[] args = sigar.getProcArgs(pids[i]);
traceln("pid=" + pids[i]); traceln("pid=" + pids[i]);
String[] args = sigar.getProcArgs(pids[i]);
for (int j=0; j<args.length; j++) { for (int j=0; j<args.length; j++) {
traceln(" " + j + "=>" + args[j] + "<=="); traceln(" " + j + "=>" + args[j] + "<==");
} }