Use Dstat and Gnuplot to monitor performance, then turn that information into neat-looking graphs that anyone, even your manager, can understand…
If you have a server which is being used to host a website or to run a web application, it helps to know what kind of load it is handling. This information is particularly useful when you start finding the website or application to be running slower than usual. You can run a check on the performance of the system and compare it with prior results to see the increase in load. Then you can take the necessary action to fix the problem. To gather the performance data of your computer you need to set up system monitoring software on the server and let it gather information which will give you an idea of the performance of the server.
Technical people can often interpret the numbers that a monitoring tool would generate, but a lot of people in upper management might not find it so easy and would relate more easily to information presented to them in the form of graphs. If you need to upgrade your server, you often need to make a case for it to the management of your organisation. You need to present the performance data to them in a form that they can relate to – fancy-looking graphs. In this article we’ll look at how to gather this monitoring information and then how to convert this data into neat graphs.
Dstat is an open source system monitoring tool for Linux. For users familiar with vmstat, iostat, netstat, and ifstat, you can think of Dstat as a single tool that combines all their features, and offers some more. It’s a very versatile application for both system administrators and developers because it comes with the ability to save its output as comma-separated values (CSV) files, making it very easy for you to plot a graph of the system’s performance. You can include these graphs into reports or use them to convince the management to allow you to upgrade your servers. Monitoring your server and generating performance graphs can be quite useful when assessing a server’s ability to handle load with a load generation tool. Let us now see how to setup Dstat on your Linux computer, then we’ll move on to the basic usage of Dstat.
The Dstat installation process will depend on the flavour of Linux that you use. You can find binaries for various distributions on the Dstat website. Distributions such as Fedora and Ubuntu have a pretty smart package management system which will download and install the package for you. Just make sure you get Dstat version 0.6 or better installed, as there are some features that we will need that are only available in these versions.
For more visit this link :- http://www.linuxuser.co.uk/tutorials/create-a-graph-of-your-systems-performance/