good morning,
how I can know how much total and free memory I have in my AIX 5.3 server, and this is shown in megabytes or gigabytes?
Thank you very much.
good morning,
how I can know how much total and free memory I have in my AIX 5.3 server, and this is shown in megabytes or gigabytes?
Thank you very much.
# svmon -G -O unit=MB
Unit: MB
--------------------------------------------------------------------------------------
size inuse free pin virtual available mmode
memory 8192.00 2492.79 5699.21 1096.49 1832.22 6067.31 Ded
pg space 10240.00 13.4
work pers clnt other
pin 823.62 0 0 272.88
in use 1832.22 0 660.57
When i executed this command
svmon -G -O unit=MB
The system show me this error:
svmon: Not a recognized flag: O
Unknown flag
usage:
svmon [-G [-i Intvl [NumIntvl] ][-z] ]
svmon [-P [pid1...pidn] [-r] [-u|-p|-g|-v] [-ns] [-wfc] [-q [s|m|L|S]] [-t Count] [ -i Intvl [NumIntvl] ] [-l] [-j] [-z] [-m] ]
svmon [-S [sid1...sidn] [-r] [-u|-p|-g|-v] [-ns] [-wfc] [-q [s|m|L|S]] [-t Count] [ -i Intvl [NumIntvl] ] [-l] [-j] [-z] [-m] ]
svmon [-D sid1...sidn [-b] [-q [s|m|L|S]] [ -i Intvl [NumIntvl] ][-z]]
svmon [-F [fr1...frn] [-q [s|m|L|S]] [-i Intvl [NumIntvl] ][-z] ]
svmon [-C cmd1...cmdn [-r] [-u|-p|-g|-v] [-ns] [-wfc] [-q [s|m|L|S]] [-t Count] [ -i Intvl [NumIntvl] ] [-d] [-l] [-j] [-z] [-m] ]
svmon [-U [lognm1...lognmn] [-r] [-u|-p|-g|-v] [-ns] [-wfc] [-t Count] [ -i Intvl [NumIntvl] ] [-d] [-l] [-j] [-z] [-m] ]
svmon [-W [class1...classn] [-e] [-r] [-u|-p|-g|-v] [-ns] [-wfc] [-q [s|m|L|S]] [-t Count] [ -i Intvl [NumIntvl] ] [-l] [-j] [-z] [-m] ]
svmon [-T [tier1...tiern] [-a superclass] [-x] [-e] [-r] [-u|-p|-g|-v] [-ns] [-wfc] [-q [s|m|L|S]] [-t Count] [ -i Intvl [NumIntvl] ] [-l] [-z] [-m] ]
Thanks.
I checked it on AIX 6.1; maybe check the man page for svmon
on AIX 5.3 if there is a similar option.
Else use for example awk
to calculate MBs.
You could have searched this forum, because the question has been asked (and answered) time and again. Now, for one more time:
total memory:
lsattr -El mem0
free memory: depends on what you define as "free", because the AIX tries to put every bit of memory to use - either for programs ("computational memory") or as file cache. Therefore, what is reported as "free" (which more to the point means "unusable at this moment") is a meaningless number. You could stop a running program and the free memory wouldn't even change, because the memory being freed is added to the file cache.
For details see here.
I hope this helps.
bakunin