vm_stat and Iostat on OS X

When you want to check how your Mac&rsquo;s disk and CPU are doing, or peek at memory and swap activity, the commands iostat and vm_stat come in super handy. Both are built-in and give you quick snapshots of system performance.