Память
- Linux$free
$cat /proc/meminfo- FreeBSD
$sysctl -n hw.physmem
$egrep 'real memory|avail memory' /var/run/dmesg.boot- OpenBSD
$sysctl -n hw.physmem
$egrep 'real mem|avail mem' /var/run/dmesg.boot- Solaris
$/usr/sbin/prtconf | grep Memory
$top -d1 | grep "total swap"
# echo ::memstat | mdb -kПроцессор
- Linux$cat /proc/cpuinfo- FreeBSD
$sysctl -a | egrep -i 'hw.model|hw.ncpu'
$grep -i cpu /var/run/dmesg.boot- OpenBSD
$sysctl -a | egrep -i 'hw.model|hw.ncpu'
$grep -i cpu /var/run/dmesg.boot- Solaris
$prtdiag
$psrinfo -vSwap
- Linux$free- FreeBSD
$swapinfo- OpenBSD
$swapctl -l- Solaris
$top -d1 | grep "total swap"
$swap -s
# df -kh swap