URL Not Found in the lab 11.1
The URL referenced in the lab for the 'stress' tool is broken.
Comments
-
yes indeed, whether his link is dead forever or temporarily I don't know, but you can always use the better stress-ng, which you can get from https://kernel.ubuntu.com/git/cking/stress-ng.git/ . AFAIK, it is completely backwards compatible.
Maybe he left Harvard
0 -
Couldn't handle the stress?
1 -
Hi @troy_dowler ,
You also could find "stress" in the repo of your distro. I'm on Ubuntu 19.04 and I see here:
$ apt-cache show stress-ng
Package: stress-ng
Architecture: amd64
Version: 0.09.57-0ubuntu2
Priority: optional
Section: universe/devel
Origin: Ubuntu
Maintainer: Colin King colin.king@canonical.com
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 4345
Depends: libaio1 (>= 0.3.93), libapparmor1 (>= 2.10), libbsd0 (>= 0.5.0), libc6 (>= 2.29), libipsec-mb0, libsctp1 (>= 1.0.10+dfsg), zlib1g (>= 1:1.1.4)
Filename: pool/universe/s/stress-ng/stress-ng_0.09.57-0ubuntu2_amd64.deb
Size: 1679580[...]
Regards,
Luis.0 -
I don't know why, but if you click on the link above ( https://kernel.ubuntu.com/git/cking/stress-ng.git ) it seems to fail, but if you copy and paste into your browser it works. Beats me
0 -
Might have to use the the method raised by @Coop
yum search stress-ng
Loaded plugins: fastestmirror Loading mirror speeds from cached
hostfile ** base: centos.melbourneitmirror.net ** extras: centos.melbourneitmirror.net ** updates: centos.melbourneitmirror.net Warning: No matches found for: stress-ng No matches found0 -
I checked on pkgs.org and it looks like pre-made packages are available for most of the common distrobutions with the exception of CentOS8. This list does not mention RHEL8.
Troy, would you happen to be using CentOS8?
0 -
Hi Lee, I'm using CentOS7. Looks like I will need to a. compile the package, or b. install the stress-ng package and the dependencies. Not really sure right now how to go from here. I found this url which is what I'm trying to work off.
0 -
Both stress and stress-ng are in the EPEL repository for CentOS7. so a simple yum install would work if you turn on the epel repo. You can download the epel-7 repo a bunch of places or do the one line command:
sudo yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm0 -
@Coop, thanks for that. I have now stress-ng installed and hopefully i can complete the lab now.
Cheers,
Troy1 -
Confession time. I did try various things to make stress-ng work including what Coop mentioned Oct 03, but never got it working and gave up. Now, I realised that Lab 13.1 requires 'stress-ng' and not 'stress', so we have inconstancy with the Labs. Anyhow hopefully at least posting this matter may help somebody in some shape or form if they also run into this. I also forgot to mention that I'm using Raspberry PI 4 as my linux-box and up until lab 11.1 it has been fine.
0 -
Unless there is something weird on the RPI, this lab does not require stress-ng. It was developed originally on stress and has been working on that platform for quite a few years. The thing that has changed is the dififculty of obtaining stress as perhaps its author is moving on and letting people use stress-ng which is essentially a superset of stress
0 -
Hi @troy_dowler ,
Well, that explains why you have been having some trouble with the tools... Just wondering, what OS are you running on the Raspberry PI 4? Anyway, that may not be the best device to make the labs, as the OS's for these type of devices uses to be limited versions when talking about software.
Regards,
Luis.0 -
Hi Luis,
I'm using CentOS 7 on the Raspberry PI. Error below properly explains the issue. Do you know any other similar tools i can use to artificially load the system?[troy@localhost ~]$ yum deplist stress-ng
Loaded plugins: fastestmirror, verify
Loading mirror speeds from cached hostfile
epel/armhfp/metalink | 54 kB 00:00:00
Could not parse metalink https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=armhfp&infra=stock&content=altarch error was
No repomd fileFile /var/tmp/yum-troy-R5bUFz/armhfp/7/epel/metalink.xml does not exist
0 -
I'm not an expert on this, but epel does not officially exist for arhfp, see [https://wiki.centos.org/SpecialInterestGroup/AltArch/armhfp#head-b68dc016c9892844d739cbf121d360b0e3371c4f]
for exampleBasically you are using an unsupported platform for this course which is intended to be on an enterprise level distribution, so while it is fun, we have not endeavored to figure out these vagaries. So good luck and enjoy, but unless we have a RPI enthusiast paying attention there's a limit to how much we can debug this stuff for you. At any rate, compiling from source is a better solution as the code itself for stress and stress-ng is not very architecture dependent anyway
0 -
Hi @troy_dowler ,
I strongly suggest you to use a vm for doing the labs. We don't know what else is gonna fail in your device, and it's not supported as well.
*But, if you want to try, you can get the stress-ng sources from the git repo here:
https://kernel.ubuntu.com/git/cking/stress-ng.git/
I can't assure it will work anyway, and I still suggest to switch to a vm.
I haven't used other tool to stress the system cpu, but there are a lot to stress a web server and services in the could, but it's not the case.
Regards,
Luis.0
Categories
- All Categories
- 179 LFX Mentorship
- 179 LFX Mentorship: Linux Kernel
- 776 Linux Foundation IT Professional Programs
- 384 Cloud Engineer IT Professional Program
- 175 Advanced Cloud Engineer IT Professional Program
- 76 DevOps IT Professional Program - Discontinued
- 7 DevOps & GitOps IT Professional Program
- 103 Cloud Native Developer IT Professional Program
- 7.7K Training Courses & Learning Paths
- 17 AI & ML Training
- 2 Blockchain & Decentralized Identity Training
- 48 Cloud & Containers Training
- 7 Cybersecurity Training
- 4 DevOps & Site-Reliability Training
- 3 Linux Kernel Development Training
- 3 Networking Training
- 2 Open Source Best Practice Training
- 6 System Administration Training
- 1 System Engineering Training
- 6 Web & Application Development Training
- 798 Hardware
- 202 Drivers
- 68 I/O Devices
- 37 Monitors
- 96 Multimedia
- 173 Networking
- 91 Printers & Scanners
- 92 Storage
- 775 Linux Distributions
- 83 Debian
- 68 Fedora
- 24 Linux Mint
- 13 Mageia
- 24 openSUSE
- 151 Red Hat Enterprise
- 32 Slackware
- 13 SUSE Enterprise
- 356 Ubuntu
- 473 Linux System Administration
- 31 Cloud Computing
- 73 Command Line/Scripting
- Github systems admin projects
- 104 Linux Security
- 79 Network Management
- 102 System Management
- 46 Web Management
- 176 Mobile Computing
- 32 Android
- 129 Development
- 1.2K New to Linux
- 1K Getting Started with Linux
- 407 Off Topic
- 128 Introductions
- 35 Study Material
- 1.1K Programming and Development
- 312 Kernel Development
- 730 Software Development
- 1K Software
- 421 Applications
- 183 Command Line
- 5 Compiling/Installing
- 71 Games
- 320 Installation
- Archived
- 183 Small Talk
- 2 LFD140 Class Forum
- 1.4K LFS258 Class Forum
Upcoming Training
-
August 20, 2018
Kubernetes Administration (LFS458)
-
August 20, 2018
Linux System Administration (LFS301)
-
August 27, 2018
Open Source Virtualization (LFS462)
-
August 27, 2018
Linux Kernel Debugging and Security (LFD440)

