Need Help about memory measurements.
I have an AIX running WebSphere and DB2.
WebSphere has two JVM Of 1Gb.
I suppose than WebSphere reserve the 2Gb of memory at the start of the Application Server.
When I look at the memory of WebSphere I can only see the memory really use by WebSphere.
It's amount 500Mb and not 2Gb (with no activity).
Do you have a method to see the memory reserved by WebSphere.
I am looking at the Parameter SZ of ps, isn’t the good parameter to focus on ?
I use this script to calculate the memory used by all the process of my user WebSphere:
ps auwwx | grep -v defunct | grep WebSphere| awk '{print $5}' | while read line
do
Size=`echo $line`
if [ ! -z "$Size" -a "$Size" -ge 0 ]
then
((Total=Size+Total))
fi
done
printf "%30s\t\t%-d %s\n" Total $Total kilobytes
I have an AIX running WebSphere and DB2.
WebSphere has two JVM Of 1Gb.
I suppose than WebSphere reserve the 2Gb of memory at the start of the Application Server.
When I look at the memory of WebSphere I can only see the memory really use by WebSphere.
It's amount 500Mb and not 2Gb (with no activity).
Do you have a method to see the memory reserved by WebSphere.
I am looking at the Parameter SZ of ps, isn’t the good parameter to focus on ?
I use this script to calculate the memory used by all the process of my user WebSphere:
ps auwwx | grep -v defunct | grep WebSphere| awk '{print $5}' | while read line
do
Size=`echo $line`
if [ ! -z "$Size" -a "$Size" -ge 0 ]
then
((Total=Size+Total))
fi
done
printf "%30s\t\t%-d %s\n" Total $Total kilobytes