Friday, November 18, 2016
AIX Useful commands
Useful commands
Memory
bootinfo –r shows how much RAM does my machine has (as root)
lsattr –E –l sys0 –a realmem shows how much RAM does my machine have (as non root)
rmss -c 512
rmss -r sets the memory size to 512 MB
resets the memory size to the original one
Devices
lsattr -El en0 ...
Regaining root's password
Regaining root's password
1) Boot from a cd-rom or a bootable
Tape. 2) Press F5 or 5. 3) Select option 3 from installation and maintanance menu: Start maintanance
menu for system recovery. 4) Follow the option to activate the root vg and obtain the shell. 5) Once a shell is available then run the passwd command to reset...
AIX File Systems
# File Systems Types:JFS, EJFS, NFS, CD-ROM File systems
# File Systems Structure:Superblock: It contains control information about file systems such as a) Size of the file systems b) Name of the file systems c) The System log device d) The version number e) The number of inodes f) List of free inodes and data-bocks g) Date and time of creation...
Determine 64 or 32 bit Unix Kernel and HW
Question: How to determine if I'm running 64 bit Unix Kernel ?
Answer: User the following commands
AIX
getconf -a | grep KERN
SOLARIS
isainfo -vk
HP-UX
getconf KERNEL_BITS
LINUX
getconf LONG_BIT
Question: How to determine if my Unix Hardware is 64 bit ?
Answer: Use the following commands to determine the Hardware Architecture
AIX
bootinfo...
AIX Command Crib Sheet
AIX Command Crib Sheet
----------------------------------------------------------------------------
MISCELLENEOUS
----------------------------------------------------------------------------
oslevel Returns operating system level
whence (program) Returns full path of program
whereis (program) Returms...