Check performance of Linux Machine

In order to do our normal work on Linux machine sometimes we found that our system is not working smoothly as we want. We get surprised specially if we haven’t opened/running any heavy software/application that should take much of our system resource.

Although its very easy to open your task manager in windows to see the list of processes by simply pressing CTRL + ALT + DEL button together.

But here are few steps to track all running processes and track the issue. We will check our system at different level to know what exactly going on..

Level 1: By Checking if our hard disk is not full or what is our systems memory status. To check systems memory availability Linux command is

$ df -h

Level 2: See all the process running on the system with following command

$ ps -e

With this command we can see PID (Process id) and Time of run

Level 3: See all the processes running on the system owned by currently logged in user with following Linux command

$ ps -ux

It will show personalize details of process owned by user with Process Id,Stat ,Start Time, Time of running,what command actually worked,%CPU utilization etc…

With this information you can easily get the answer of your question why your system is running slow. If i found that some program is taking too much resource. Then we can stop that program as well with kill command. But make sure you are going to stop unwanted/unncessary program (means it will not disturb your currently running system.

Level 4: To kill any process type following command

$ kill 1412 (PID)

The following two tabs change content below.

Chandra Shekhar

GCP Architect
Chandra Shekhar Pandey is Google certified Cloud engineer, I am Magento2 Trained developer. Having huge experience in designing cloud solution. I have around 12 years of experience with world enterprise IT companies and fortune 500 clients. During my architecture design I am always caring about high availability, fast performance and resilient system. From the programmer background I have huge experience in LAMP stack as well. Throughout my carrier I have worked on Retail, E-Learning, Video Conferencing and social media domain. The motive of creating cutehits was just to share the knowledge/solutions I get to know during my day to day life so that if possible I can help someone for same problems/solutions. CuteHits.com is a really a very effort for sharing knowledge to rest of the world. For any query/suggestion about same you can contact me on below details:- Email: shekharmca2005 at gmail.com Phone: +91-9560201363

Latest posts by Chandra Shekhar (see all)

You may also like...