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
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
Post a Comment