Posts Tagged Aix

Physical memory in AIX

To check the amount of physical RAM that a AIX Server has, you can use the following commands:


# lsattr -El sys0 | grep realmem
realmem 16121856 Amount of usable physical memory in Kbytes


or

# lsattr -El mem0
goodsize 15744 Amount of usable physical memory in Mbytes False
size 15744 Total amount of physical memory in Mbytes False

or

# prtconf|grep "Memory Size"
Memory Size: 15744 MB Good Memory Size: 15744 MB

 

, ,

No Comments

Disable file size limit in AIX

By default, if you try do copy/create a file larger than 2Gb in AIX, you will get a “file too large” message. That happen because AIX have a default limit of 2Gb for files.

To disable (or increase) this limit, edit /etc/security/limits and change the parameter fsize to “-1” or whatever value you want.

You can change it in “default” to apply to all users or change it to a specific user.

Remember that the file system should be JFS2.

, ,

No Comments

Forcing an user changing the password on AIX

Forcing an user changing the password on AIX

On AIX, you can use the following commands to unlock na user and force it to change it’s password on first logon:
# pwdadm -f ADMCHG USER

 

, ,

No Comments