July 07, 2006
AIX: How much memory?
Q1: How much memory is there in my AIX box?
A1: Try:
# bootinfo -r
12713984
Q2: I get some error about file access permissions....
A2: That is because you are not root:
$ bootinfo -r
-bash: /usr/sbin/bootinfo: The file access permissions do not allow the specified action.
$ lsattr -E -l sys0 -a realmem
realmem 12713984 Amount of usable physical memory in Kbytes False
AIX likes to complain about file access permissions even when it really means you don't have the credentials to do something. Most other Unixes would advise you that you need to be root instead....
Posted by Ozguru at July 7, 2006 06:00 AM