How to Find System Resource Information


Different operating systems have evolved various commands for reporting system resource configuration values.

System Resource Commands

OS Arch CPUs Memory
FreeBSD % uname -p % /sbin/sysctl -a | egrep -i 'hw.machine|hw.model|hw.ncpu' (or look at /var/run/dmesg.boot) Copy freebsd-memory script from an existing FreeBSD machine (or look at /var/run/dmesg.boot).
Mac OS X % uname -p % system_profiler % system_profiler
Red Hat Enterprise Linux (RHEL) % uname -p % cat /proc/cpuinfo % cat /proc/meminfo
Solaris % uname -p % psrinfo -v % prtconf | grep Memory


AttachmentSize KB