Linux Top for monitoring

Linux command top is a great powerful tool to see server load and even manipulate processes.
  Type top on command line to start. Type q to quite

The load average top right show 3 numbers: current load, recent load and past load.
The number is a measure of load where >3 is not so good and 5 is bad

Also shows tasks running, sleeping etc
Shows CPU
Shows Swap

Shows processes running. For example as Apache receives requests you can see more Apache processes being spawned and then disappearing.
For each process you can see the CPU and memory it's using. Keep an eye out for Java/Tomcat processes as they often consume alot.

More here

Comments

Popular posts from this blog

deep dive into Material UI TextField built by mui

angular js protractor e2e cheatsheet

react-router v6.4+ loaders, actions, forms and more