**newbie**
I need to review all of our Tomcat setenv.sh jvm heap settings to ensure they are properly set. I attempted to pull the memory configs with an awk - but this was an issue because each file is slightly different, and the position of the memory config is different in each file.
Does anyone have any advice on how to accomplish this (besides manually reviewing each file)?
Ideally, I would like to pull the jvm heap settings & the jvm directory that they are in.
For example, I have /opt/dir1/dir2/
dir3 - where dir3 is the specific jvm
and the
setenv.sh is in /opt/dir1/dir2/
dir3/tomcat/bin/
I would like results along the lines of:
dir3 -Xms1536m -Xmx1536m
Is this possible?