QuestionQ58

Introduction to DevSecOps

Richard would like to identify the Java binary that is currently running the Jenkins service on Linux, as part of finding the path and installing the certificate needed for integrating Acunetix DAST with Jenkins. Which command should he execute to determine the currently running Java binary in the Jenkins service?

  • A as - aux | grep Jenkins
  • B pc - aux | grep Jenkins
  • C ac - aux | grep Jenkins
  • D ps - aux | grep Jenkins
Explanation

The ps command displays information about currently running processes on a Linux system. Running ps -aux | grep Jenkins lists all processes and filters the output to show the Jenkins process line, which reveals the full command used to start Jenkins — including the path to the Java binary invoked to run the Jenkins service. This is a standard troubleshooting step for locating the JRE/JDK being used by Jenkins so that a certificate can be imported into the correct Java keystore.

Community Discussion

No comments yet. Be the first to start the discussion!