Write a shell script to show the processes that consume first and second highest memory.
Answers
Answered by
1
Answer:
I remember once reading that efficient system administrators are lazy people. The reason is not that they’re not doing their job or wasting their time – it is mostly because they have automated a good deal of their routine tasks. Thus, they don’t have to babysit their servers and can use their time to learn new technologies and always stay at the top of their game.
Part of automating your tasks, is learning how to get a script do what you would have to do yourself otherwise. Continually adding commands to your own knowledge base is just as important.
For that reason, in this article we will share a trick to find out, which processes are consuming lots of Memory and CPU utilization in Linux.
Explanation:
Similar questions