Linux monitoring tools
You can use various Linux tools to collect systems statistics like CPU usage, memory usage, IO for hard disks, etc. A few of these are listed below:
1. top – A well known command for listing the running process with CPU and memory usage.
2. vmstat - Provides all virtual memory related information.
3. iostat - Provides IO statistics of devices and other CPU statistics.
4. free – This command displays the free, used, buffered or cached memory.
5. dstat – This is a good command to collect all the statistics in one place. It is a combination of vmstat, iostat and the netstat commands.
6. netstat – This displays the routing table, network interface statistics and ports opened by the process.