Determine system architecture
AIX # /usr/bin/getconf HARDWARE_BITMODE
Linux (x86 and Itanium) # grep "model name" /proc/cpuinfo
Sun Solaris # /bin/isainfo -kv
For SPARC systems: 64-bit sparcv9 kernel modules
For x86 systems: 32-bit i386 kernel modules
Determine the physical RAM size
AIX # /usr/sbin/lsattr -E -l sys0 -a realmem
Linux # grep MemTotal /proc/meminfo
Sun Solaris # /usr/sbin/prtconf | grep "Memory size"
Determine size of the configured swap space
AIX # /usr/sbin/lsps -a
Linux # grep SwapTotal /proc/meminfo
Sun Solaris # /usr/sbin/swap -s