ps command not available in Fuse on OpenShift images

Solution Verified - Updated -

Issue

  • We are running the Fuse on OpenShift images but the OS command ps is not available.
    As a result we are not able to get the process id of our application in order to further trouble shoot the application by e.g. taking a heap dump.

  • How to get the list of running processes and their process ids when using above Fuse on OpenShift images?

Environment

  • Fuse 7.x
  • Fuse images
    • fuse7/fuse-java-openshift
    • fuse7/fuse-java-openshift-rhel8
    • fuse7/fuse-java-openshift-jdk11-rhel8
  • OpenShift 4.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content