Sometimes you may need to get system information. Here is a shell script to help you get CPU and memory utilization.
memory consumption
How to Find Top CPU Consuming Process in Linux
Many times you may need to check which process is consuming more memory or find top memory consuming process in Linux. Here is how to find top cpu consuming process in linux.