Write a shell script to show the processes that consume first and second highest memory code example
Example: check the linux process top 10
# ps -eo pid,ppid,cmd,%mem,%cpu --sort=-%mem | head
# ps -eo pid,ppid,cmd,%mem,%cpu --sort=-%mem | head