Ksar use performance data analysis Introduction

Ksar be used to analyze system performance data, the advantage that no separate to collect performance data, the system comes with sa package, can be used by the command conversion Ksar show.

Use the following steps to:

1, the operating system to log into the / var / log / sa directory, you can see the most recent performance data (default is seven days);

2, the following command, wherein the contact time after the start -s, -e then the end time, the definition of their own according to their needs, / var / log / sa / sa22 SA22 refers to the conversion, the result is output to / tmp, named w_may22_6_18.txt

LC_ALL=C sar -A -s 06:00:00 -e 18:00:00 -f /var/log/sa/sa22 > /tmp/w_may22_6_18.txt

3, open Ksar tool, select the upper left corner of the left key data Load from text file, select the file you just generated, can be loaded into the Ksar.

Guess you like

Origin blog.csdn.net/haiziccc/article/details/90484242