Command of the Day: free
May 5, 2007
After getting everything installed and working for a few days I wanted to get a feel for some basic metrics:
- Memory consumption
- Disk space usage
- Running processes
- CPU usage
Basically I wanted to have the info I get from the Windows Task Manager + disk usage.
I’ll take those in order – today is “free”.
Free displays memory usage stats in bytes, kilobytes or megabytes. Also it can display on a timer (every N seconds). Pretty straight forward and easy to follow.
@desktop:~$ free total used free shared buffers cached Mem: 1002500 475980 526520 0 60156 267344 -/+ buffers/cache: 148480 854020 Swap: 2096472 0 2096472
Next CotD will cover disk space usage.