sexta-feira, 18 de junho de 2010

Operating system

AIX
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 (to analyse a specific process)

svmon -G (to analyse the total memory)
svmon -Pnsm (to analyse the top process)

ps auxw  | sort -r +3  (process sort by memory consuption)

svmon -Pt15 | perl -e 'while(<>){print if($.==2||$&&&!$s++);$.=0 if(/^-+$/)}'



SOLARIS

1) to analyse the memory usage for each process:
/usr/bin/ps -eo 'zone user pid ppid vsz rss args'


WINDOWS
1) to find a specific string in a OUTPUT:
netstat -an | findstr LISTEN

2) to list process from prompt line
tasklist

3) services
sc qc


HP-UX

memory statistics:
ps -el | sort -rnk10 
will list all processes on the system, sorted by the SZ column.

Nenhum comentário:

Postar um comentário