Ubuntu Server-安装sysstat工具集
sysstat工具集包含了很多工具集,如sar等,安装过程如下。
root@hanyw:~# apt-get install sysstat
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Suggested packages:
isag
The following NEW packages will be installed:
sysstat
0 upgraded, 1 newly installed, 0 to remove and 29 not upgraded.
Need to get 487 kB of archives.
After this operation, 1,516 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu jammy/main amd64 sysstat amd64 12.5.2-2build2 [487 kB]
Fetched 487 kB in 4s (138 kB/s)
Preconfiguring packages ...
Selecting previously unselected package sysstat.
(Reading database ... 124960 files and directories currently installed.)
Preparing to unpack .../sysstat_12.5.2-2build2_amd64.deb ...
Unpacking sysstat (12.5.2-2build2) ...
Setting up sysstat (12.5.2-2build2) ...
Creating config file /etc/default/sysstat with new version
update-alternatives: using /usr/bin/sar.sysstat to provide /usr/bin/sar (sar) in auto mode
Created symlink /etc/systemd/system/sysstat.service.wants/sysstat-collect.timer → /lib/systemd/system/sysstat-collect.timer.
Created symlink /etc/systemd/system/sysstat.service.wants/sysstat-summary.timer → /lib/systemd/system/sysstat-summary.timer.
Created symlink /etc/systemd/system/multi-user.target.wants/sysstat.service → /lib/systemd/system/sysstat.service.
Processing triggers for man-db (2.10.2-1) ...
Scanning processes...
Scanning linux images...
Running kernel seems to be up-to-date.
No services need to be restarted.
No containers need to be restarted.
No user sessions are running outdated binaries.
No VM guests are running outdated hypervisor (qemu) binaries on this host.
查看软件包信息
root@hanyw:~# dpkg -l |grep sysstat
ii sysstat 12.5.2-2build2 amd64 system performance tools for Linux
查看sysstat软件包详细信息
root@hanyw:~# apt-cache show sysstat
Package: sysstat
Architecture: amd64
Version: 12.5.2-2build2
Priority: optional
Section: admin
Origin: Ubuntu
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: Robert Luberda <robert@debian.org>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 1480
Depends: lsb-base (>= 3.0-6), ucf (>= 2.003), xz-utils, debconf (>= 0.5) | debconf-2.0, libc6 (>= 2.34), libsensors5 (>= 1:3.5.0)
Recommends: systemd | cron | cron-daemon
Suggests: isag
Filename: pool/main/s/sysstat/sysstat_12.5.2-2build2_amd64.deb
Size: 486796
MD5sum: bf139268cad823c482bfa09028ae724b
SHA1: 6f32b627e7d50a76fe35f2b898d41bf5c58906b2
SHA256: ee30417a4c76cc112054a81315a0949dbec776366bb9068c91a7203dff30e0c6
SHA512: 037c60622c7222abb379da99667d4127c981c8effa16f8513b4ff4872e8bb2d7e0c630c14c5ea80cae1c2ceb92743618cd240ab8d557babe99a97c9f42f3ae1b
Homepage: http://pagesperso-orange.fr/sebastien.godard/
Description-en: system performance tools for Linux
The sysstat package contains the following system performance tools:
- sar: collects and reports system activity information;
- iostat: reports CPU utilization and disk I/O statistics;
- tapestat: reports statistics for tapes connected to the system;
- mpstat: reports global and per-processor statistics;
- pidstat: reports statistics for Linux tasks (processes);
- sadf: displays data collected by sar in various formats;
- cifsiostat: reports I/O statistics for CIFS filesystems.
.
The statistics reported by sar deal with I/O transfer rates,
paging activity, process-related activities, interrupts,
network activity, memory and swap space utilization, CPU
utilization, kernel activities and TTY statistics, among
others. Both UP and SMP machines are fully supported.
Description-md5: 9ada7023f201e412303d7867f5bcf2be
Task: postgresql-server
如下图所示,sysstat软件集中包含了如下的软件包。

sysstat软件包中包含的工具集
相关推荐
-
第18问:MySQL CPU 高了,怎么办?2025-02-24 10:27:18
-
mysql索引类型 normal, unique, full text
mysql索引类型 normal, unique, full text2025-02-24 10:05:05 -
uwsgi+django+nginx 搭建部分总结2025-02-24 10:03:33
-
使用Docker配置Nginx环境部署Nextcloud2025-02-24 10:02:03
-
Nginx安装和怎么使用2025-02-24 10:00:45