Basic system info commands Monday, December 7, 2009

Basic hardware commands I can't live without. This is the absolute minimum you need to know for poking around with hardware on *nix systems.





AIX

HP-UX

Solaris

Redhat

OS Version

oslevel

uname -r

uname -r

/etc/redhat-release

Processors Info

prtconf

machinfo

psrinfo

/proc/cpuinfo

Physical Memory

prtconf

machinfo

prtconf

free

Swap Memory

prtconf

swapinfo -q

swap -s

free

System Model

prtconf

model

prtdiag




Installed software

lslpp -l

swlist

pkginfo

rpm -q