Open jiasli opened 2 years ago
Also tried to use iotop
.
I added Extra Packages for Enterprise Linux (EPEL) and followed tutorials like
but got no luck:
# yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
# yum update
# yum install iotop
Updating Subscription Management repositories.
Unable to read consumer identity
This system is not registered with an entitlement server. You can use subscription-manager to register.
Last metadata expiration check: 0:05:10 ago on Mon Mar 28 04:18:46 2022.
No match for argument: iotop
Error: Unable to find a match: iotop
There is a package called iotop-c
but it shows empty screen (https://github.com/Tomas-M/iotop/issues/34):
# yum install iotop-c
# iotop-c
Actually, I installed iotop
on fedora container (WSL2-based) without problem, but it fails with :
> docker run -it --rm fedora
# yum install iotop
# sudo iotop
Netlink error: No such file or directory (2)
The Linux kernel interfaces that iotop relies on for process I/O statistics
were not found. Please enable CONFIG_TASKSTATS in your Linux kernel build
configuration, use iotop outside a container and or share the host's
network namespace with the container.
Please do not file bugs on iotop about this.
Please enable CONFIG_TASKSTATS in your Linux kernel build configuration
This is Microsoft built WSL, I am not sure I can do that.
use iotop outside a container
Guess I need to bump up a VM for testing?
share the host's network namespace with the container
This is not possible on Windows: https://docs.docker.com/network/host/: The host networking driver only works on Linux hosts, and is not supported on Docker Desktop for Mac, Docker Desktop for Windows, or Docker EE for Windows Server.
Describe the bug
Mariner 2.0 (https://github.com/Azure/azure-cli/pull/21245), UBI 8 (https://github.com/Azure/azure-cli/pull/21655) and CentOS Stream 8 (https://github.com/Azure/azure-cli/pull/20918) have
rpmbuild
4.17.0 which is very slow while building the RPM. The CI jobBuildRpmPackageMariner
andBuildRpmPackageUbi8
take ~40min.Turning on
-vv
(verbose) forrpmbuild
shows the process got stuck at these steps for a very long time:htop
shows the same:To Reproduce
Run the follow commands on WSL or Linux machine:
Additional context
Email: azure-cli FIPS compliance
Install
htop
:See: https://www.cyberciti.biz/faq/how-to-install-htop-on-rhel-8-using-yum/