Linux sysstat iostat просмотр отчета о CPU и вводе/выводе устройств и партиций

В Red Hat Enterprise, CentOS, Fedora и других Linux системах есть замечательный пакет sysstat

# yum info sysstat

Loaded plugins: rhnplugin, security
This system is receiving updates from RHN Classic or RHN Satellite.
drivesrvr | 951 B 00:00
Installed Packages
Name : sysstat
Arch : x86_64
Version : 7.0.2
Release : 12.el5
Size : 418 k
Repo : installed
Summary : The sar and iostat system monitoring commands.
URL : http://perso.orange.fr/sebastien.godard/
License : GPL
Description: This package provides the sar and iostat commands for Linux. Sar and
: iostat enable system monitoring of disk, network, and other IO
: activity.

В его состав входит утилита iostat — Report Central Processing Unit (CPU) statistics and input/output statistics for devices and partitions.

Пример использования:

# iostat -dh

-d — The -d option is exclusive of the -c option and displays only the device utilization report.
-h — Display the NFS report more human readable.

Все опции можно посмотреть в man iostat

Buy Me a Coffee at ko-fi.com
 
Copyright © 2013 - 2024 Шкоденко Тарас. Програмування та розробка сайтів