nerdexam
Oracle

1Z0-161 · Question #31

1Z0-161 Question #31: Real Exam Question with Answer & Explanation

Sign in or unlock 1Z0-161 to reveal the answer and full explanation for question #31. The question stem and answer options stay visible for context.

Question

You are troubleshooting an application and suspect that the issue lies with the use of Java Virtual Machine threads. Because of firewall restrictions, you cannot use web-based consoles to access the WebLogic Server diagnostic information. Which command-line operations could you use to investigate the internal state of JVM threads?

Options

  • ALog in to the Managed Server VM via SSH Run the script <wlserver_home>/server/bin/setWLSEnv.sh to set the Java classpath Run java weblogic.Admin -url localhost:<listen_port> -username <wluser> -password <wl password> GETSTATE to initiate a JVM thread dump, applying appropriate values for the arguments in angle brackets
  • BLog in to the Managed Server VM via SSH Use jstack to determine the process ID (pid) of the Java process that is running the WebLogic instance Run: sudo -u <pid> io.output_thread_dump to the stdout stream of the process
  • CLog in to the Managed Server VM via SSH Use the Linux command: kill -SIGDUMP <pid>, where <pid> is the process id of the JVM
  • DLog in to the Managed Server VM via SSH Run the java -Xcheck:jni MyApp with the verbose : gc option

Unlock 1Z0-161 to see the answer

You've previewed enough free 1Z0-161 questions. Unlock 1Z0-161 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Full 1Z0-161 Practice