Macintosh OS X includes a number of command line tools to assist you in evaluating the use of the operating system, including:
top
iostat
netstat
Additional utilities are in the /Applications/Utilities directory:
CPU Monitor
Process Viewer