iotop/iotop.spec

81 lines
2.0 KiB
RPMSpec
Raw Normal View History

2019-09-30 10:53:16 -04:00
Name: iotop
Version: 0.6
2020-07-01 14:27:07 +08:00
Release: 21
2019-09-30 10:53:16 -04:00
Summary: Simple top-like I/O monitor
License: GPLv2+
URL: http://guichaz.free.fr/iotop/
Source0: http://guichaz.free.fr/iotop/files/%{name}-%{version}.tar.bz2
BuildArch: noarch
BuildRequires: python3-devel git
2020-07-01 17:34:43 +08:00
Patch0: 0000-iotop-0.6-python3.patch
Patch1: 0001-iotop-python3build.patch
Patch2: 0002-iotop-0.6-splitline.patch
Patch3: 0003-iotop-0.3.2-ppcprio.patch
Patch4: 0004-iotop-0.6-aarch64prio.patch
2019-09-30 10:53:16 -04:00
%description
iotop watches I/O usage information output by the Linux kernel (requires 2.6.20 or later) and
displays a table of current I/O usage by processes or threads on the system. At least the
CONFIG_TASK_DELAY_ACCT, CONFIG_TASK_IO_ACCOUNTING, CONFIG_TASKSTATS and CONFIG_VM_EVENT_COUNTERS
options need to be enabled in your Linux kernel build configuration.
iotop displays columns for the I/O bandwidth read and written by each process/thread during the
sampling period. It also displays the percentage of time the thread/process spent while swapping in and
while waiting on I/O. For each process, its I/O priority (class/level) is shown.
%package help
Summary: Including man files for iotop
Requires: man
%description help
This contains man files for the using of iotop
%prep
%autosetup -n %{name}-%{version} -p1 -S git
%build
%py3_build
%install
%py3_install
%files
%doc README
%license COPYING
%{python3_sitelib}/*
%{_sbindir}/iotop
%files help
%{_mandir}/man8/iotop.*
%changelog
2020-07-01 14:27:07 +08:00
* Wed Jul 1 2020 Wu Bo <wubo009@163.com> - 0.6-21
- rebuild package
2020-01-10 10:39:38 +08:00
* Fri Jan 10 2020 sunshihao <sunshihao@huawei.com> - 0.6-20
- Type:enhancemnet
- ID:NA
- SUG:NA
- DESC:update iotop
2019-09-30 10:53:16 -04:00
* Sat Aug 31 2019 Miaohe Lin <linmiaohe@huawei.com> - 0.6-19
- Type:enhancemnet
- ID:NA
- SUG:NA
- DESC:openEuler Debranding
* Wed Aug 21 2019 wubo <wubo40@huawei.com> - 0.6-18.h2
- change patch name
* Mon Feb 11 2019 wangjia <wangjia55@huawei.com> - 0.6-18.h1
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:fix prio field for ppc and aarch64
fix data value unpack with latest kernels
- Package init