AIX Memory Befehle

Posted: 3rd August 2017 by Thorben Hemmler in Serveradministration

Memory gesamt

svmon -G -O unit=MB | head -4 | tail -1 | awk {'print $2'}

Memory in use

svmon -G -O unit=MB | head -4 | tail -1 | awk {'print $3'}

Free Memory

svmon -G -O unit=MB | head -4 | tail -1 | awk {'print $4'}

Summe XmX

ps -fu $USER |grep "java" |tr " " "\n" |grep -i Xmx | cut -c5- | sed 's/.$//' | awk '{SUM += $1} END { print SUM}'