Mémoire réellement occupée
vmstat|tail -1|awk '{print $3/256}'
Dump de l'occupation de la mémoire et des différents pool
Before reducing memory using DLPAR, use 'vmstat -v | grep pools' to determine the number of AIX memory pools. If the number of memory pools is greater than 1, use the mempool subcommand of the AIX kdb command (with echo "mempool *" | kdb) to display memory pools and the free pages within each pool:
telstar:/ # echo "mempool *" | kdb
[Some lines snipped.]
(0)> mempool *
VMP MEMP NB_PAGES FRAMESETS NUMFRB
F100080009740000 00 000 00795980 000 001 002 003 000379E4
F100080009740380 00 001 007928E6 004 005 006 007 00024EF9
F100080009740700 01 002 0023FD00 008 009 00A 00B 0000127A
F100080009740A80 02 003 00201900 00C 00D 00E 00F 000010E5
(0)> quit
telstar:/ #
Occupation mémoire d'un process
root@echange_wbi:/etc >svmon -P 2756648
-------------------------------------------------------------------------------
Pid Command Inuse Pin Pgsp Virtual 64-bit Mthrd 16MB
2756648 java 92269 65560 0 90123 N Y N
Vsid Esid Type Description PSize Inuse Pin Pgsp Virtual
0 0 work kernel segment (lgpg_vsid=0) L 16 16 0 16
eb09d d work text or shared-lib code seg s 8839 0 0 8839
319ee1 5 work working storage s 8170 0 0 8170
1c8e3b 3 work working storage s 7384 0 0 7384
1c09ba - clnt /dev/icscp3iflv:12612 s 430 0 - -
3289e7 - clnt /dev/icscp3iflv:12802 s 284 0 - -
1209a6 - clnt /dev/icscp3iflv:12744 s 200 0 - -
7098c - clnt /dev/icscp3iflv:12711 s 181 0 - -
3c88fb - clnt /dev/hd2:103532 s 180 0 - -
2309c4 - clnt /dev/icscp3iflv:12718 s 168 0 - -
81612 f work working storage s 81 0 0 81
2209c6 - clnt /dev/icscp3iflv:12720 s 81 0 - -
351ce8 - work s 72 21 0 72
3d88f9 - clnt /dev/hd2:103952 s 71 0 - -
89713 4 work working storage s 0 0 0 0
Aucun commentaire:
Enregistrer un commentaire