Integrated Linux system performance and usage activity monitoring tools –sysstat

Source: Internet
Author: User

"Turn" original source: ? tecmint-kuldeep Sharma??? Translation Source: Linux story- cold weather ??? Welcome to share the original to Bó Lè headlines

in terms of monitoring system resources, system performance, and usage activity, Sysstat is indeed a handy tool. Sysstat packages are used more or less in our everyday basic tools . It also provides a tool that can be scheduled to run with Cron to collect system performance data and activity records.

The following are the Sysstat List of tools in the software package:

Sysstat List of features:

  • Iostat : Statistics and reports on your device's CPU Status and I/O state data.
  • Mpstat : monitor and display information about CPU details of the information.
  • Pidstat : Count the running Processes / of the task CPU , memory, and other information.
  • SAR : Save and report on different resources ( CPU , memory, input and output, network, kernel, etc.) details.
  • SADC : The system Activity Data Collector, which is used for SAR collect data from the background.
  • SA1 : Read and store SADC Binary data for the data file.
  • SA2 : And SAR collaboration for summarizing daily reports.
  • SADF : In a different format ( CSV or XML ) Display SAR the generated data.
  • Sysstat : Explain Sysstat the various roles.
  • Nfsiostat-sysstat: Statistics NFS Protocol of the network file system. I/O state data.
  • cifsiostat: Statistical I/O status data for the network file system of the CIFS protocol .

    theyears6Month -Day,? SYSSTAT11.0.0 (Stable version) officially released. It brings some new interesting features, as shown below.
    Pidstatcommand has been enhanced with some new command options:
    one is"-R", which can provide priority for policy and task scheduling. Followed by"-g", you can use it to search for a process by name and get a list of all the corresponding threads.
    at the same time, theSAR,SADC,SADFThese commands also made new enhancements to the data files. Now, using the options? –D?You can rename the data file to"SAYYYYMMDD"format, and not"Sadd"or you can use a different directory, no longer just"/var/log/sa". We can also set variables by"Sa_dir"defined toSA1and theSA2the new directory to use.

    in the Linux installation in the environment Sysstat

    this "Sysstat" packages can of course be in the main Linux available and installed in the release version of the package repository. However, the software package obtained from the repository is a smaller version and a legacy version. So that's why we want to download and install the latest version (11.0.0) on the website of the package.
    First, please use the link below to download the latest version of the Sysstat software package, or you can also use the wget the command is downloaded directly from the terminal.

  • http://sebastien.godard.pagesperso-orange.fr/download.html

    # wget http://pagesperso-orange.fr/sebastien.godard/sysstat-11.0.0.tar.gz

    Next, extract the downloaded package, then go to the directory and start the compilation process.

    # TAR-XVF Sysstat-11.0.0.tar.gz

    # CD sysstat-11.0.0/

    At this stage, there are two options:
    A) one, you can use the iconfig command (which will give you the freedom to set custom values for each parameter).

    #./iconfig

    b) Secondly, you can use the standard Configure Command command to define options for a single row. that is, run the./configure–help command to get a list of supported options.

    #./configure--help

    here, we use the standard option ./configure command to compile Sysstat package.

    #./configure

    # make

    # make Install

    once the compilation is complete, you will see output similar to the one above. Now verify The version of Sysstat by running the command.

    # mpstat-v

    ?

    Sysstat version 11.0.0

    (C) Sebastien Godard (Sysstat orange.fr)

    in the Linux updates in the system Sysstat

    by default, compiling the installation will put the package in the/usr/local "directory. So, all the binary/public files will be installed in the?" /usr/local/bin "directory. If you have already installed theSysstatsoftware package, you can directly?" /usr/bin "To find those files in the
    If you have already installed theSysstatsoftware package, and your system"$PATH"variable not joined"/usr/local/bin", you will not receive a hint about the version update. So in the process of compiling or deleting an existing version prior to updating, make sure that the system"$PATH"whether the variable is already set"/usr/local/bin"or have been able to give–prefix?options are configured"/usr"content.

    # yum Remove Sysstat???????????? [on RedHat based System]

    # Apt-get Remove Sysstat???????? [on Debian based System]

    #./configure--PREFIX=/USR

    # make

    # make Install

    now, using the same "" Mpstat Commands and "-V" option to confirm the updated version again.

    # mpstat-v

    ?

Integrated Linux system performance and usage activity monitoring tools –sysstat

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.