Introduces the CPU usage and installation and Application of Linux Sysstat.

Source: Internet
Author: User

After a long time of study, the official version of Linux has been released. The following describes how to use the Linux Sysstat system. To improve the practical operation level of Linux.

About the Linux Sysstat System

The Linux Sysstat system is a software package that includes a set of tools for monitoring system performance and efficiency. These tools collect system performance data, such as CPU usage, hard disk, and network throughput data, the collection and analysis of these data helps us determine whether the system is operating normally. It is a good assistant to improve the system operation efficiency and run the server safely.

The Linux Sysstat Software Package integrates the following tools:
◆ The iostat tool provides data on CPU usage and Hard Disk Throughput efficiency;
◆ The mpstat tool provides data related to a single processor or multiple processors;
◆ The sar tool collects, reports, and stores active system information;
◆ The sa1 tool collects and stores the dynamic information of the system to a binary file every day. It runs through the scheduled task tool cron and is a program front-end program designed for sadc;
◆ The sa2 tool is responsible for writing the daily system activity information into the summative report. It is a front-end designed for sar and needs to be called through cron
◆ Sadc is a system dynamic data collection tool. The collected data is written into a binary file and used as the backend of the sar tool;
◆ Sadf displays data collected by sar in multiple formats;

Install and run the Linux Sysstat System

For most systems, this software package starts with Linux Sysstat. We can install it through the network;

1. Debian or deb software package-based systems;
[Root @ localhost ~] # Apt-get install Sysstat

2. A Fedora system or a system managed using RPM packages;
[Root @ localhost ~] # Yum install Sysstat
For an RPM package, run the following command to install it: [root @ localhost ~] # Rpm-ivh sysstat *. rpm
For details about yum and rpm software package management tools, see Fedora/Redhat software package management guide.

3. Slackware system, for Slackware systems;
[Root @ localhost ~] # Installpkg sysstat *. pkg

4. Compile and install the SDK using the source code package;
If you are using the source code package installation, please go to the official source code package http://perso.wanadoo.fr/sebastien.godard, currently the latest is sysstat-6.1.2;
If you think about the source code package, see: how to compile and install the source code package software
[Root @ localhost ~] # Tar zxvf sysstat-6.1.2.tar.gz
[Beinan @ localhost ~] $ Sysstat-6.1.2 cd
[Beinan @ localhost sysstat-6.1.2] #
[Beinan @ localhost sysstat-6.1.2] # make config
[Beinan @ localhost sysstat-6.1.2] # make
[Beinan @ localhost sysstat-6.1.2] # make install
The above describes how to install the Linux Sysstat system.

  1. How to handle common emergencies in Linux
  2. In Linux, what is Windows?
  3. Why Linux certification?
  4. Analyze the future of the Linux Mobile Software Industry
  5. Discuss and test the use of Fedora Linux hardware

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.