I like to get the parameters of running Java process running inside pod. When Bash ssh inside the container I can't do:
bash-4.4$ ps
bash: ps: command not found
Also looping through all procs give me too much process ids with no hint regarding the Java process. I'm doing it using this:
for di in $(ls -1 /proc/*); do echo "$di"; done
results in me 1106 running process which I can't do cat on them when running.
Also when invoking:
ash-4.4$ jcmd -l
bash-4.4$
I still get nothing.