1)
instfix -ik
2) to get the memory consuption for a specific process.
You should get the INUSE output and multiply for 4096 to get the value in bytes:
svmon -P
svmon -Pnsm (to analyse the top process)
svmon -Pt15 | perl -e 'while(<>){print if($.==2||$&&&!$s++);$.=0 if(/^-+$/)}'
WINDOWS
1) to find a specific string in a OUTPUT:
netstat -an | findstr LISTEN