Useful Linux Commands
Disk Usage
To find out disk usage in your linux box type:
df -h
Memory Usage
To get a breakdown of memory information, run
cat /proc/meminfo
To get a sum of memory(RAM) size, run
cat /proc/meminfo | grep MemTotal
Process Details
To find details of processes that are running:
ps -ef
You can also do
ps -ef | grep ruby
to look for any ruby processes that are running on the machine.
List of files in a directory
ls | wc -l