I noticed that the command in my case, is not listing all Java processes. If I run pidof java I get one single pid as a response. On the other hand, if I run ps aux | grep [j]ava I get a three different pids/Java processes. Any ideas on why this is?

  • 2
    Are they threads ps is exposing as processes? – thrig Nov 29 '16 at 23:35
  • @thrig They are 3 different Java processes. I beleive they are running on JBoss. – chromechris Nov 30 '16 at 15:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.