Table G-6 shows differences in querying Linux and Solaris systems for general information.
Task
Solaris
Linux
List system information
uname
List processor information
psrinfo
cat /proc/cpuinfo
List system memory size
prtconf | grep Memory
cat /proc/meminfo | grep MemTotal
List disk space usage
df
List file space usage
du
List physical disks
format
fdisk -l
Show the system's host name
hostname
List system's network configuration
ifconfig
List active processes
prstat
ps -e
List system configuration
prtconf
Red Hat: lshal SUSE: hwinfo
List system diagnostic information
prtdiag
Red Hat: lspci and /proc/[*] files SUSE: hwinfo
[*] Table A-8 of IBM Redbook