Sysstat is a robust logging and performance monitoring utility for Linux/Unix systems. It can be used to keep track of system performance and usage activity.
Systat saves the statistics collected in a file that can be exported into various formats such as JSON, CSV, etc. Though many Linux distributions include GUI-based monitoring apps, sysstat is especially useful in a server setting.
This guide will show you how to use the systat tool to collect key system information on Linux.
Systool is available in the default repositories of various Linux distros. To install on Debian-based systems , use the command:
$ sudo apt install systool
To install on Red-Hat based distros, run the command:
$ sudo yum install systool
The sysstat suite comprises various tools that help collect information on CPU and I/O statistics. This guide will discuss how to use the tools to get system information. These tools include:
Sars is used to collect system statistics such as CPU utilization, memory among others. View your CPU utilization statistics for the day as shown. Sar monitors data every 10 minutes by default.
$ sar -u
To display real-time CPU utilization for a set period of time, specify the intervals in seconds followed by the number of entries to report. For instance, to view total CPU utilization every 3 seconds for a total of 15 times run:
$ sar -u 3 15
Currently, the majority of PCs have several cores. To display the statistics of each core use the sars command followed by the “-P ALL” parameter as shown below:
$ sar -P ALL 1 1
The screen below shows the system’s four cores with the same time interval and output parameters applied.
To display the amount of memory in use at a particular time use the -r option.
$ sar -r
Use the iostat command to display a device report showing current data transfer per second (tps), average block rate, and data read and write statistics. Run the following command:
$ iostat -d
The columns in the output above represent:
To view extended I/O statistics run:
$ iostat -x
The pidstat command is used to keep track of each individual task managed by the kernel. To get information about the running processes, run the pidstat command followed by -d parameter as shown.
$ pidstat -d
You can also pidstat with the -r option to analyze memory usage with particular processes:
$ pidstat -r
Sysstat is a powerful monitoring tool for Linux environments. For further information on Systat, check out the Sysstat Documentation.
I am a professional WordPress & Graphic designer. I have more than 6 years of experience in this field.
In July 2025, git received CVE-2025-48384, a high vulnerability allowing arbitrary code execution when cloning…
Last year, we collaborated with two design student teams from Loughborough University in the UK.…
January 15, 2026 – Canonical, the publisher of Ubuntu and provider of open source security,…
How to install GitLab on Ubuntu 24.04 will be explained in this blog post with…
Do you know what was always there but has increased multiple times in the last…
The Digital Operational Resilience Act (DORA) came into force across the EU on January 17,…