Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Linux \ Linux system performance and usage activity monitoring tools -Sysstat     - Classical sorting algorithm - Selection Sort (Linux)

- Hadoop 0.23 compile common errors (Server)

- Linux5.8 installed phpMyAdmin was unable to issue related php-mcrypt (Database)

- Linux --- process tracking (Linux)

- Why you can have JavaScript string method (Programming)

- A brief introduction to some important Docker commands (Server)

- Generic mechanism C11 standard (Programming)

- How to set up HTTPS policies for older browsers (Server)

- Spark build standalone version cluster (Server)

- Java learning problems encountered (Programming)

- Several reasons MySQL garbled (Database)

- Oracle11g build physical standby database (Database)

- CentOS achieve trash mechanism (Linux)

- Let your PHP 7 faster the Hugepage (Linux)

- Installation of Gitlab under Ubuntu (Linux)

- Linux script to copy the folder to all folders with the same name (Linux)

- Simple security measures to reinforce the Linux kernel (Linux)

- Elixir: the future of programming languages (Programming)

- systemd-nspawn Quick Guide (Linux)

- C ++ Learning Notes: references (Programming)

 
         
  Linux system performance and usage activity monitoring tools -Sysstat
     
  Add Date : 2018-11-21      
         
         
         
  In the monitor system resources, system performance and use activities, Sysstat is indeed a handy tool. In our daily basic tools are used in more or less the sysstat package. It also provides a use of cron can be scheduled to run the tool to collect performance data and activity records.

The following is a list of tools in the sysstat package of software:

Sysstat list of features:
iostat: Statistics and reports the status of your device's CPU and I / O status data.
mpstat: monitor and display details about the CPU.
pidstat: Statistical process running / task CPU, memory, and other information.
sar: keeping and reporting different resources (CPU, memory, input and output, network, core, etc.) for more information.
sadc: system activity data collector for data collection sar background.
sa1: sadc read and store data files of binary data.
sa2: sar and collaboration for daily summary reports.
Sadf: in different formats (CSV or XML) display sar generated data.
Sysstat: explain the various roles sysstat.
nfsiostat-sysstat: Statistics NFS protocol network file system I / O status data.
cifsiostat: Statistics CIFS protocol network file system I / O status data.
June 17, 2014, SYSSTAT11.0.0 (stable version) released. It brings some new interesting features, as shown below.

pidstat new command has been enhanced, adding a number of command options:

One is the "-R", which can provide information about policies and task scheduling priority. Followed by "-G", the process can be used to search by name and get a list of all threads corresponding match.

Meanwhile, sar, sadc, sadf these commands are data files has made new enhancements. Now, with the option -D data can rename the file to "saYYYYMMDD" format instead of "saDD"; you can also use a different directory, is no longer just "/ var / log / sa". We can by setting the variable "SA_DIR" to define a new directory sa1 and sa2 use.

In the Linux environment to install Sysstat

This "Sysstat" Of course you can get the package and installed in the main Linux distribution's package repository. However, the software library packages obtained from a narrow version and an older version. So, this is why we want to host the official website to download and install the latest version (11.0.0) grounds in the package.

First of all, please use the following link to download the latest version of sysstat package, or you can download wget commands directly in 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, and then enter the directory and start the compilation process.

# Tar -xvf sysstat-11.0.0.tar.gz

# Cd sysstat-11.0.0 /

At this point, there are two options:

a) First, you can use iconfig command (which will let you set each parameter promising free custom values).

# ./iconfig

b) Second, you can define the options for a single command line using the standard configure command. Is run ./configure -help to get a list of command options are supported.

# ./configure --help

[Img] http://www.linuxstory.org/wp-content/uploads/2015/12/Configure-Help-620x425.png [/ img]

Here, we use the standard options that the use ./configure command to compile the sysstat package.

# ./configure

# Make

# Make install

After compilation, you will see output similar to the above. Now verify sysstat version by running the following command.

# Mpstat -V

sysstat version 11.0.0

(C) Sebastien Godard (sysstat orange.fr)

Update Sysstat in Linux systems

By default, the compiler will install the package in / usr / local "directory. Therefore, all binary / public file will be installed in" / usr / local / bin "directory. If you have installed the package sysstat , you can find those files directly in "/ usr / bin" in.

If you have already installed the sysstat package and your system "$ PATH" variable is not added to "/ usr / local / bin", then you will not receive tips about the updated version. So the compiler or remove the existing version before updating process, make sure to check the "$ PATH" variable good system has been set up "/ usr / local / bin" or been able to -prefix option to configure the "/ 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 command and the "-V" option again to confirm later.

# Mpstat -V

sysstat version 11.0.0

(C) Sebastien Godard (sysstat orange.fr)

Currently it is. Next, in a forthcoming article, I'm going to show you some practical usage in Action and sysstat commands. Stay tuned. Also welcome to leave your thoughts in the comments section below the article.
     
         
         
         
  More:      
 
- Java method to read and write files summary (Programming)
- Postfix mail service system principle and configuration (Linux)
- MariaDB database storage path modify configuration issues (Database)
- Linux shell script to adjust the Task Scheduler (Linux)
- nginx.conf Optimization (Server)
- Ora-00600 [fast hot Atkins soft _ that _ Oh, of course not _less_ profile] (Database)
- Linux Oracle environment variable is invalid Problem Solving (Database)
- Linux operating system Samba server configuration and use (Server)
- Diagnose and resolve the SSH connection slow (Linux)
- Apache site default home page settings (Server)
- How to install Ubuntu strategy game Wesnoth 1.12.0 (Linux)
- Configuring Eclipse Note Templates (Linux)
- Linux file permissions bit forced bits and adventure Comments (Linux)
- Linux create and delete user step (Linux)
- MongoDB 3.2 Cluster Setup (Database)
- The hash function under OpenSSL (Linux)
- VNC configuration detailed analysis under Linux (Linux)
- HDFS Distributed File System Resource Manager Developer summary (Server)
- Sturdy build secure Linux server (Linux)
- JDK tools jstat (Linux)
     
           
     
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.