iostat and vmstat – Awesome System Statistics for Linux | Two excellent Linux apps are iostat and vmstat. These provide realtime statistics of system IO and memory usage. Here’s how it works! iostat iostat is useful to view realtime stats of disk IO. I suggest running ‘iostat 1′ to have the command refresh each second. $ iostat 1 Linux 3.2.0-2-amd64 (brahms) 09/12/2012 _x86_64_ (4 CPU)
OS X Monitor Virtual Memory Usage from Command Line | OS X has a simple command line tool to monitor virtual memory usage: vm_stat. I’ll show you how it works! Crack open a terminal and run vm_stat. You will see an output somewhat like below: $ vm_stat Mach Virtual Memory Statistics: (page size of 4096 bytes) Pages free: 54492. Pages active: 541989. Pages inactive: 155818.