pax_global_header00006660000000000000000000000064143630143610014513gustar00rootroot0000000000000052 comment=f725109e8b98260933fdca7cf8166e017311bac4 stress-1.0.7/000077500000000000000000000000001436301436100130435ustar00rootroot00000000000000stress-1.0.7/.github/000077500000000000000000000000001436301436100144035ustar00rootroot00000000000000stress-1.0.7/.github/workflows/000077500000000000000000000000001436301436100164405ustar00rootroot00000000000000stress-1.0.7/.github/workflows/build.yml000066400000000000000000000042131436301436100202620ustar00rootroot00000000000000name: full-check on: [push, pull_request] jobs: build-macOS: runs-on: macos-latest steps: - uses: actions/checkout@v2 - name: build run: | brew install autoconf automake libtool ./autogen.sh ./configure make make clean make sudo make install - name: run_program run: | stress stress --vm 2 -t 2 | grep "2 vm" -C2 - name: uninstall_distclean run: | sudo make uninstall make distclean build-linux: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: first_build run: | ./autogen.sh ./configure make make clean make sudo make install sudo make uninstall make distclean - name: second_build run: | ./autogen.sh ./configure make sudo make install - name: run_program run: | stress stress --vm 2 -t 1 | grep "2 vm" -C2 - name: pre-clean run: | sudo make uninstall make distclean - name: test_make_dist run: | ./autogen.sh ./configure make dist mkdir test_dist mv stress-*.tar.gz test_dist cd test_dist pwd tar -xvf stress-*.tar.gz rm -f stress-*.tar.gz cd stress-* ./autogen.sh ./configure make ls sudo make install sudo make uninstall make distclean cd ../.. rm -rf test_dist - name: test_make_dist-bzip2 run: | ./autogen.sh ./configure make dist-bzip2 mkdir test_dist mv stress-*.tar.bz2 test_dist cd test_dist pwd tar -xvf stress-*.tar.bz2 rm -f stress-*.tar.bz2 cd stress-* ./autogen.sh ./configure make ls sudo make install sudo make uninstall make distclean stress-1.0.7/AUTHORS000066400000000000000000000006131436301436100141130ustar00rootroot00000000000000MAINTAINERS Amos Waterland PATCHES Richard Norton Robert Paulsen Wes Hofmann Manoj Iyer Klaus Kaiser Tobias Jahn IDEAS Andrew Shewmaker Joseph Johnston Don Giuliano stress-1.0.7/CONTRIBUTING.md000066400000000000000000000021311436301436100152710ustar00rootroot00000000000000## HOW TO CONTRIBUTE TO STRESS DEVELOPMENT stress is available at https://github.com/resurrecting-open-source-projects/stress If you are interested in contribute to stress development, please, follow the following steps: 1. Send a patch that fix an issue or that implement a new feature. Preferably, you can do a 'pull request'[1] in GitHub. [1] https://help.github.com/articles/about-pull-requests 2. Ask for join to the stress project in GitHub, if you want to work officially. Note that this second step is not compulsory. However, to accept you in project, is needed a minimum previous collaboration. To find issues and bugs to fix, you can check these addresses: - https://github.com/resurrecting-open-source-projects/stress/issues - https://bugs.debian.org/cgi-bin/pkgreport.cgi?src=stress - https://bugs.launchpad.net/ubuntu/+source/stress/+bugs - https://bugs.archlinux.org/?project=5&string=stress - https://packages.gentoo.org/packages/app-benchmarks/stress/bugs - https://apps.fedoraproject.org/packages/stress/bugs -- Eriberto, Fri, 01 Oct 2021 18:00:21 -0300 stress-1.0.7/COPYING000066400000000000000000000432541436301436100141060ustar00rootroot00000000000000 GNU GENERAL PUBLIC LICENSE Version 2, June 1991 Copyright (C) 1989, 1991 Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by the GNU Lesser General Public License instead.) You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things. To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it. For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software. Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations. Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all. The precise terms and conditions for copying, distribution and modification follow. GNU GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you". Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does. 1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program. You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. 2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change. b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License. c) If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.) These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it. Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program. In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. 3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following: a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.) The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable. If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code. 4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. 5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it. 6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License. 7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program. If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances. It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice. This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. 8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. 9. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation. 10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. NO WARRANTY 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. END OF TERMS AND CONDITIONS How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. Copyright (C) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. Also add information on how to contact you by electronic and paper mail. If the program is interactive, make it output a short notice like this when it starts in an interactive mode: Gnomovision version 69, Copyright (C) year name of author Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, the commands you use may be called something other than `show w' and `show c'; they could even be mouse-clicks or menu items--whatever suits your program. You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the program, if necessary. Here is a sample; alter the names: Yoyodyne, Inc., hereby disclaims all copyright interest in the program `Gnomovision' (which makes passes at compilers) written by James Hacker. , 1 April 1989 Ty Coon, President of Vice This General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Lesser General Public License instead of this License. stress-1.0.7/ChangeLog000066400000000000000000000364371436301436100146320ustar00rootroot000000000000002023-01-21 Joao Eriberto Mota Filho Version 1.0.7 [ Vratislav Bendel ] * Check for sys/prctl.h availability, because non-Linux architectures don't provide . [ Joao Eriberto Mota Filho ] * Improved GitHub CI: - Added CI test for macOS. - Added a check for stress command. - Added a test for 'make dist-bzip2'. * Moved manpage from doc/ to man/. 2023-01-17 Joao Eriberto Mota Filho Version 1.0.6 [ Vratislav Bendel ] * Register parent termination signal in child processes. [ Joao Eriberto Mota Filho ] * Added 'make dist' check in CI test. * Added rights for Vratislav Bendel. * Re-organized src/stress.c via astyle command. * Updated GPL-2 license text for src/stress.c. 2021-10-01 Joao Eriberto Mota Filho Version 1.0.5 * Added CI test for GitHub. * Migrated manpage system to txt2man. * Modernized system install. * Set right permissions to source code. * Updated README and added a CONTRIBUTING file. * Other minor changes and improvements. 2010-03-19 Amos Waterland Version 1.0.4 * configure.in, doc/version.texi: Up to version 1.0.4. * src/stress.c: Fix unlink error reported by Farkas Levente. 2010-03-17 Amos Waterland * src/stress.c: Make the error message on unlink fail more clear. 2010-02-18 Amos Waterland Version 1.0.3 * NEWS, doc/version.texi: Fix NEWS. * configure.in, src/stress.c: Up to version 1.0.3. Remove no-clean option. 2009-12-03 Amos Waterland Version 1.0.2 * NEWS, configure.in, doc/version.texi: Up to version 1.0.2. * src/Makefile.am: Remove Wall and Werror flags so we can build on AIX with xlc. * src/stress.c: Apply patch from Wilken Gottwalt to make tee behave properly. 2009-08-12 Amos Waterland Version 1.0.1 * NEWS: Update the NEWS file. * etc/deb/Makefile, etc/deb/debian/changelog, etc/deb/debian/control, etc/deb/debian/rules: More changes for packaging. * etc/deb/Makefile, etc/deb/debian/changelog, etc/deb/debian/control, etc/deb/debian/rules: Changes for the purpose of packaging. * doc/version.texi: Increase version. * NEWS, configure.in: Up to version 1.0.1 * src/stress.c: Apply patch from Dileepa Prabhakar to randomize slow writing. * Makefile.am, src/Makefile.am: Small cleanups for automake. * src/stress.c: Initialize pointer. 2008-05-30 Amos Waterland * FAQ, README: Add FAQ and modify README. 2007-12-17 Amos Waterland Version 1.0.0 * NEWS, README, configure.in, doc/version.texi: Up to version 1.0.0. 2007-12-15 Amos Waterland * src/stress.c: Add check for memory corruption. 2007-01-25 Amos Waterland * etc/deb/debian/control: Change priority from optional to extra. 2007-01-23 Amos Waterland * TODO: Add build standalone. * TODO: Add note about option directions. * doc/version.texi, etc/deb/Makefile, etc/deb/debian/changelog: Up to version 0.18.9 2007-01-18 Amos Waterland * configure.in, etc/deb/Makefile, etc/deb/debian/changelog, etc/deb/debian/control, etc/deb/debian/rules: Up to version 0.18.9. * doc/Makefile.am: Make a better apropos message for manpage. 2005-12-08 Amos Waterland * NEWS, doc/version.texi: Add entry for 0.18.8 release. * configure.in: Up version to 0.18.8. * src/stress.c: Apply patch from Richard Norton to fix calculation of timeouts with year suffixes. * AUTHORS: Add Richard Norton to list of patch contributors. 2005-08-09 Amos Waterland * etc/deb/Makefile, etc/deb/debian/changelog, etc/deb/debian/control: Fixes for version 0.18.6. 2005-07-03 Amos Waterland * src/stress.c: Apply modified patch from Bob Paulsen to add the option to keep memory instead of freeing and reallocating it. 2005-06-30 Amos Waterland Version 0.18.6 * NEWS: Add note for version 0.18.6. 2005-06-27 Amos Waterland * configure.in: Up to version 0.18.6. * src/stress.c: Use less whitespace for help statement indents. Fix help statement for --vm-hang option. * configure.in: Increment to version 0.18.5. * AUTHORS: Add Bob Paulsen. * src/stress.c: Add option to stride through memory in increments other than unity. Modify option to hang after allocating memory to support values other than infinity. 2005-06-04 Amos Waterland * src/stress.c: Make message about using up time before all workers dispatched a warning instead of a debug. 2005-05-29 Amos Waterland * TODO: Explain about removing the --backoff option. * TODO: Initial check-in. 2005-04-08 Amos Waterland Version 0.18.4 * NEWS: Add entry for version 0.18.4 2005-03-10 Amos Waterland * etc/deb/debian/changelog: Update to version 0.18.4-1. * etc/deb/Makefile: Update to version 0.18.4. * bootstrap: Do not specify version of autoconf. * configure.in: Increment to version 0.18.4. * doc/stress.texi: Move from the GFDL to the GPL. * etc/deb/debian/control: Do not include sentence about autotools and C. 2005-02-26 Amos Waterland * etc/deb/debian/rules: Follow Gaudenz Steinlin's suggestion of removing commented-out rules. * etc/deb/debian/copyright: Follow Gaudenz Steinlin's suggestion of combining upstream author and debianizer. * etc/deb/debian/control: Change standards version to 3.6.1.1. * etc/deb/debian/changelog: Follow Gaudenz Steinlin's suggestion of making initial upload have only one revision. * etc/deb/Makefile: Update version to 0.18.3. * bootstrap: We rely upon autoconf2.50. * etc/deb/debian/control: Update standards version to 3.6.1.0. 2005-02-10 Amos Waterland * src/stress.c: Add 2005 to copyright statement. * src/stress.c: Change the --vm-hang usage statement to be symmetric with that of --hdd-noclean. * src/stress.c: Clarify --vm-hang usage explanation. 2005-01-14 Amos Waterland * configure.in: Increment version to 0.18.3. * src/stress.c: Indentation fixes. * src/stress.c: Fix bug in which timeout under heavy load can wrap to a negative value. Also, print index of each worker type as it is forked. 2005-01-12 Amos Waterland * src/stress.c: Make suffix explanation in usage statement more clear. 2004-12-21 Amos Waterland * src/stress.c: Change email address. Update copyright years. * doc/stress.texi, AUTHORS, NEWS, README: Change email address. * doc/version.texi: Update to version 0.18.2 * src/stress.c: Do not print line number in debug messages. Print more debugging messages during vm and hdd work. 2004-11-18 Amos Waterland Version 0.18.2 * etc/rpm/Makefile, etc/rpm/SPECS/stress.spec: Increment version to 0.18.2. * bootstrap: Temporarily create a ChangeLog file to make automake happy. * NEWS: Add entry for version 0.18.2. 2004-09-02 Amos Waterland * etc/deb/debian/changelog: Add entry for 0.18.2. * etc/deb/debian/control: Change version of debhelper required. * Makefile.am: Add ChangeLog to EXTRA_DIST. * etc/deb/Makefile: Increment version to 0.18.2 * Makefile.am: Use automatic generation scheme for ChangeLog. * ChangeLog: Removing in favor of automatic generation scheme. * configure.in: Increment version number to 0.18.2. 2004-07-21 Amos Waterland * Makefile.am: Use cvs log to generate input to rcs2log. * src/stress.c: Reword most of the usage statement. * NEWS: Add release history by pulling from Freshmeat records. 2003-11-25 Amos Waterland * ChangeLog, src/stress.c: Include b in list of valid suffixes. 2003-08-04 Amos Waterland Version 0.18.1 * ChangeLog: Add entries. * etc/deb/Makefile: Update version number. * etc/deb/debian/changelog: Updated package version. * etc/deb/debian/files: Removed file. 2003-07-31 Amos Waterland * etc/rpm/Makefile, etc/rpm/SPECS/stress.spec: Change to 0.18.1. * configure.in: Up version number. * src/stress.c: Cast return of getpid in message printing to long long. * configure.in: Up version number. * src/stress.c: Make parent reap all children as soon as any of them have an error condition. * src/stress.c: Make warn and fail messages appear in all caps, print pid in all messages other than info class. * src/stress.c: Make copyright in header include 2003. * src/stress.c: Make all the rest of the syscalls print output of strerror() if they fail. * src/stress.c: Make all syscalls in hoghdd() print the output of strerror() upon failure. Change meaning of do_hdd_clean to be intuitive. 2003-07-14 Amos Waterland * etc/deb/Makefile: Change clean rule. * etc/deb/Makefile: Remove CVS dir. * etc/deb/Makefile: Change tarball name. * etc/deb/debian/control, etc/deb/debian/copyright, etc/deb/debian/docs, etc/deb/debian/files, etc/deb/debian/info, etc/deb/debian/rules, etc/deb/Makefile, etc/deb/debian/changelog: Initial check-in. 2003-07-08 Amos Waterland * etc/rpm/SPECS/stress.spec: Up release. * etc/rpm/SPECS/stress.spec, etc/rpm/Makefile: Changes. 2003-07-07 Amos Waterland * etc/rpm/SPECS/stress.spec, etc/rpm/Makefile, etc/rpm/stress.spec: Change organization. * etc/rpm/stress.spec: Initial check-in. 2003-06-17 Amos Waterland * configure.in: Up version. * ChangeLog: Add entry. * configure.in: Up version. * src/stress.c: Use sscanf instead of atoll for portability. Original patch contributed by David Ranch . 2003-05-25 Amos Waterland Version 0.17 * configure.in: Up version. 2003-05-08 Amos Waterland Version 0.17pre20 * doc/Makefile.am, doc/version.texi: Minor change. * AUTHORS, README: Removed help2man hooks. * doc/version.texi: Change. * doc/stress.texi: Updates. * configure.in: Up. * ChangeLog: Minor. * src/stress.c: Make worker return messages consistent. Print value of signal if worker killed abnormally. * src/stress.c, ChangeLog: Make arguments check for invalid values. * ChangeLog, doc/version.texi: Minor changes. 2003-05-07 Amos Waterland * test/Makefile.am: Removed test. * test/check_hogcpu: Minor change. * ChangeLog: Note. * src/stress.c: Major reworking. Removed many options. Moved to round-robin dispatcher model. * configure.in: Up version. 2003-05-06 Amos Waterland Version 0.17pre18 * src/stress.c: (atoll_b) Use shift instead of multiply for speed. Original patch contributed by Wes Hofmann . * ChangeLog, configure.in: Up version number. * src/stress.c: Changed usage statement. * doc/Makefile.am, doc/version.texi: Minor change. * test/Makefile.am: Removed hoghdd test. * configure.in: Up version number * src/stress.c: Major rework. 2003-04-12 Amos Waterland * configure.in: Upped version. * configure.in, doc/stress.texi, doc/version.texi: Minor changes. 2003-03-28 Amos Waterland * configure.in: Cleanup again as per glibc. * doc/version.texi, configure.in: Cleaned up the --enable-static option. * configure.in: Added --enable-static-link. * src/Makefile.am: Added -Werror. 2003-01-16 Amos Waterland * configure.in: Minor change. 2002-12-17 Amos Waterland * README: Minor changes. 2002-12-14 Amos Waterland * README, configure.in: Minor changes. * src/stress.c: Added --vm-hang. 2002-12-13 Amos Waterland * AUTHORS, ChangeLog, doc/version.texi, configure.in: Minor changes. * src/stress.c: Remove hard coding of 'stress' in usage, version statements. Original patch contributed by Manoj Iyer . 2002-12-11 Amos Waterland * README, doc/version.texi: Minor changes. * src/stress.c: Minor bugfix. * configure.in: Minor changes. This is pre12 shipped to rcp. * doc/Makefile.am, doc/stress.texi, doc/stress.1, Makefile.am, configure.in, src/stress.c, test/Makefile.am, test/check_atoll_s, test/check_hogcpu, test/check_hoghdd: Minor changes. * src/stress.c: Added alarm for vm,hdd dispatchers. Added kill of process group at end of main. * src/stress.c: Removed the hog prefix from switches. * test/check_hogcpu: Minor changes. * src/stress.c: Removed bogus timeout > backoff stuff. * test/check_hogcpu: Less forks. * src/stress.c: Added timeout > backoff check. * src/stress.c: stress.c * test/check_hogcpu: Added a sleep. * doc/Makefile.am: Minor changes. * doc/Makefile.am, doc/stress.1, doc/version.texi: Re-added file. * src/stress.c: Removed kill of process group. * test/Makefile.am, test/check_hogcpu, test/check_hoghdd: Minor changes. 2002-12-10 Amos Waterland Version 0.17pre10 * test/Makefile.am, test/check_hoghdd: Added file. * doc/Makefile.am: Minor changes. * COPYING, Makefile.am, src/Makefile.am, test/Makefile.am, doc/Makefile.am: Added MAINTAINERCLEANFILES variable. * test/Makefile.in, doc/texinfo.tex, src/Makefile.in, doc/fdl.texi, doc/mdate-sh, doc/stress.1, doc/stress.texi, doc/Makefile.am, doc/Makefile.in, install-sh, missing, mkinstalldirs, Makefile.in, aclocal.m4, configure: Removed files. * src/stress.c: Added backoff capability. * configure, configure.in, doc/Makefile.am, doc/Makefile.in: Minor changes. * doc/stress.texi, doc/version.texi: Added quotes of options in examples section. * src/stress.c: Implemented ignore of non-critical errors. Has the kill each process leader timeout implementation. 2002-12-08 Amos Waterland Version 0.17pre8 * AUTHORS, ChangeLog, doc/stress.1, src/stress.c: Changed email address. * test/check_usage_return_code, test/check_version_return_code, test/Makefile.am, test/Makefile.in, doc/Makefile.in, doc/mdate-sh, doc/stress.texi, src/Makefile.in, src/stress.c, Makefile.in, aclocal.m4, configure, configure.in, doc/Makefile.am: Minor changes. * doc/version.texi, doc/fdl.texi, doc/stress.texi, doc/texinfo.tex: Initial add. * README: Minor wording change. * src/stress.c: Initial import after a complete rewrite. Contains ideas from Don Giuliano and Tobias Jahn . * COPYING, ChangeLog, INSTALL, Makefile.am, NEWS, README, bootstrap, configure.in, doc/Makefile.am, doc/stress.1, install-sh, missing, mkinstalldirs, src/Makefile.am, test/Makefile.am, test/check_atoll_s, test/check_usage_return_code, test/check_version_return_code: Initial import. * COPYING, ChangeLog, INSTALL, Makefile.am, NEWS, README, bootstrap, configure.in, doc/Makefile.am, doc/stress.1, install-sh, missing, mkinstalldirs, src/Makefile.am, src/stress.c, test/Makefile.am, test/check_atoll_s, test/check_usage_return_code, test/check_version_return_code: New file. * AUTHORS: Initial import. * AUTHORS: New file. stress-1.0.7/Makefile.am000066400000000000000000000004761436301436100151060ustar00rootroot00000000000000SUBDIRS = src test man_MANS = man/stress.1 EXTRA_DIST= autogen.sh CONTRIBUTING.md man/stress.1 doc/stress.png README.md distclean-local: rm -rf autom4te.cache rm -f aclocal.m4 compile config.* configure depcomp INSTALL install-sh \ Makefile.in missing src/Makefile.in test-driver test/Makefile.in stress-1.0.7/NEWS000066400000000000000000000066651436301436100135570ustar00rootroot00000000000000`stress' NEWS -- history of user-visible changes. Copyright (C) 2001-2010 Amos Waterland. See the end for copying conditions. Please send `stress' bug reports, questions, and suggestions to . 2010-02-17 Version 1.0.3 * Fix manpage problem reported by Mark Lumsden. Remove --no-clean option. 2009-12-02 Version 1.0.2 * Fix AIX compile. Apply patch from Wilken Gottwalt to make tee behave properly. 2009-08-11 Version 1.0.1 * Minor automake cleanups. Apply patch from Dileepa Prabhakar to randomize slow writing. 2007-12-16 Version 1.0.0 * Try to detect memory corruption. 2005-06-30 Version 0.18.8 * Apply patch from Richard Norton to fix problem in date calculation. 2005-06-30 Version 0.18.6 * Apply modified patch from Bob Paulsen to stride through memory in increments other than unity, and to hang after allocating memory in an time other than infinity. 2005-04-08 Version 0.18.4 * A bug has been fixed in which timeout under extremely heavy load could wrap to a negative value. There are some usage statement fixes and improved Debian packaging. 2004-11-18 Version 0.18.2 * Rewrite the usage statement so as to be explicit about disk and memory stress. Improve the Debian packaging. 2003-08-04 Version 0.18.1 * The parent now reaps workers immediately and exits with an error if any of the workers encounter a problem. This allows the tool to be used as an automated stress test. 2003-06-27 Version 0.17.2 * Minor portability changes: now runs on OpenBSD. 2003-05-25 Version 0.17 * This release is identical to 0.17pre20, and is a complete rewrite relative to the 0.16 release. 2003-05-08 Version 0.17pre20 * Strict error checking on options, and an updated Texinfo manual. 2003-05-08 Version 0.17pre19 * Major internal code cleanup. Uses round-robin dispatch of worker processes. 2003-05-06 Version 0.17pre18 * This release adds rewritten timeout logic, fixes bugs which caused some errors to not be correctly propagated up the call stack, slightly simplifies the interface, and adds a configure option to produce a statically-linked binary. 2003-01-07 Version 0.17pre14 * Many small bugfixes and usability enhancements. 2002-12-10 Version 0.17pre10 * New --backoff, --no-retry, and --timeout switches, a texinfo manual, regression tests, and many minor bugfixes. 2002-12-08 Version 0.17pre8 * This version fixes minor bugs, adds a texinfo manual, and adds tests for `make check'. 2002-12-06 Version 0.17pre7 * A complete rewrite. Each option is now handled by a fork, so multiple hogs may be specifed on the same command line. Load average may be brought up to arbitrary value, and all available memory and disk space may be consumed. The GNU autotools are used, and testing has been done on Solaris and GNU/Linux. ---------------------------------------------------------------------- Copyright information: Copyright (C) 2001-2010 Amos Waterland Permission is granted to anyone to make or distribute verbatim copies of this document as received, in any medium, provided that the copyright notice and this permission notice are preserved, thus giving the recipient permission to redistribute in turn. Permission is granted to distribute modified versions of this document, or of portions of it, under the above conditions, provided also that they carry prominent notices stating who last changed them. stress-1.0.7/README000077700000000000000000000000001436301436100151752README.mdustar00rootroot00000000000000stress-1.0.7/README.md000066400000000000000000000033651436301436100143310ustar00rootroot00000000000000# stress #### stress - tool to impose load on and stress test a computer system ## What is stress? stress is a tool that imposes a configurable amount of CPU, memory, I/O, or disk stress on a POSIX-compliant operating system and reports any errors it detects. stress is not a benchmark. It is a tool used by system administrators to evaluate how well their systems will scale, by kernel programmers to evaluate perceived performance characteristics, and by systems programmers to expose the classes of bugs which only or more frequently manifest themselves when the system is under heavy load. ## Help this project ## stress needs your help. **If you are a programmer** and want to help a nice project, this is your opportunity. The original stress went unmaintained; the source of the last version, 1.0.4, was [imported from Debian](https://snapshot.debian.org/package/stress/). After, patches from Debian and other changes were applied to create the 1.0.5 release. The details of each release are registered in the [ChangeLog](ChangeLog) file. Now, stress is maintained by volunteers under [Resurrecting Open Source Projects](https://github.com/resurrecting-open-source-projects). If you are interested in helping stress, read the [CONTRIBUTING.md](CONTRIBUTING.md) file. ## Building From a Unix command line, building is simple: ``` ./autogen.sh ./configure make make install ``` ## Author ## stress was originally developed by Amos Waterland , under the GPL-2+ license. The original download sites were http://people.seas.harvard.edu/~apw/stress and http://weather.ou.edu/~apw/projects/stress/ Currently, source code is maintained by volunteers. Newer versions are available at https://github.com/resurrecting-open-source-projects/stress stress-1.0.7/TODO000066400000000000000000000036011436301436100135330ustar00rootroot00000000000000`stress' TODO -- development roadmap Copyright (C) 2005 Amos Waterland. See the end for copying conditions. Please send `stress' bug reports, questions, and suggestions to . Build easily without autoconf * Define VERSION, among other things. Use a concept instead of an option * Instead of explicit options like --vm-bytes, get rid of all --vm options but one: --vm-pattern=webserver,database,raytracer etc. Barrier instead of backoff * If you fork a sufficiently high number of children, the system will become so overloaded that new children do not ever get a chance to even start. It is arguable whether stress should bother to deal with this at all, but at present it does so by giving each child a backoff timer. Each child immediately goes to sleep upon entry, and wakes up only after the backoff factor has expired. This allows the kernel to fork an absurd number of processes. If we decide this is a behavior we wish to preserve, we should move to a model where each child just waits for a signal from the parent, which it can send to its whole process group effeciently once it finishes forking all the requested children. This would allow us to get rid of the `--backoff' option and reduce the associated code complexity. ---------------------------------------------------------------------- Copyright information: Copyright (C) 2005 Amos Waterland Permission is granted to anyone to make or distribute verbatim copies of this document as received, in any medium, provided that the copyright notice and this permission notice are preserved, thus giving the recipient permission to redistribute in turn. Permission is granted to distribute modified versions of this document, or of portions of it, under the above conditions, provided also that they carry prominent notices stating who last changed them. stress-1.0.7/autogen.sh000077500000000000000000000044051436301436100150470ustar00rootroot00000000000000#!/bin/sh # autogen.sh with clean option # Copyright 2016-2021 Joao Eriberto Mota Filho # # This file is under BSD-3-Clause license. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # 1. Redistributions of source code must retain the above copyright # notice, this list of conditions and the following disclaimer. # 2. Redistributions in binary form must reproduce the above copyright # notice, this list of conditions and the following disclaimer in the # documentation and/or other materials provided with the distribution. # 3. Neither the name of the authors nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. # # THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND # ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE # ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE # FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS # OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) # HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF # SUCH DAMAGE. # Use clean option if [ "$1" = "clean" -a ! -e Makefile ] then echo "Vanishing the code" rm -rf aclocal.m4 autom4te.cache compile config.* configure depcomp \ doc/Makefile.in INSTALL install-sh Makefile.in missing \ src/Makefile.in test-driver test/Makefile.in exit 0 fi # Do not use clean option if [ "$1" = "clean" -a -e Makefile ] then echo "I can not clean. Use '$ make distclean'." exit 0 fi # Do autoreconf autoreconf -i \ && { echo " "; \ echo "Done. You can use the 'clean' option to vanish the source code."; \ echo "Example of use: $ ./autogen clean"; \ } \ || { echo "We have a problem..."; exit 1; } stress-1.0.7/configure.ac000066400000000000000000000020101436301436100153220ustar00rootroot00000000000000AC_PREREQ([2.69]) AC_INIT([stress], [1.0.7], [https://github.com/resurrecting-open-source-projects/stress/issues]) AC_CONFIG_SRCDIR([src/stress.c]) AC_CONFIG_HEADERS([config.h]) AM_INIT_AUTOMAKE # Checks for programs. AC_PROG_CC AC_PROG_INSTALL AC_PROG_MAKE_SET # Checks for header files. AC_CHECK_HEADERS([stdlib.h string.h unistd.h sys/prctl.h]) # Checks for library functions. AC_FUNC_FORK AC_FUNC_MALLOC AC_CHECK_FUNCS([alarm sqrt strerror]) # Special functions AC_ARG_ENABLE([static], AS_HELP_STRING([--enable-static], [build static library @<:@default=no@:>@]), [static=$enableval], [static=no]) if test "$static" = yes; then # if we're using gcc, add `-static' to LDFLAGS if test -n "$GCC" || test "$ac_cv_c_compiler_gnu" = "yes"; then STATIC_LD="-static" LDFLAGS="$LDFLAGS -static" fi fi AC_CONFIG_FILES([Makefile src/Makefile test/Makefile]) AC_OUTPUT stress-1.0.7/doc/000077500000000000000000000000001436301436100136105ustar00rootroot00000000000000stress-1.0.7/doc/UPDATE-CHECK000066400000000000000000000005421436301436100153310ustar00rootroot00000000000000When updating (if needed): - Update rights - Update changeLog - Check for spelling errors in ChangeLog, manpage and README. - Update man/create-man.sh (DATE, version) - Generate a new manpage. - Check final manpage with man command. - Updated or check README - configure.ac (VERSION) - Test in Debian Sid - Release bootstrapped tarballs with make dist. stress-1.0.7/doc/stress.png000066400000000000000000001120341436301436100156420ustar00rootroot00000000000000PNG  IHDR>abKGD pHYs.#.#x?vtIME GtEXtCommentCreated with GIMPW IDATxeiUN9TcwUG9@4s|A7OgL`AHJ쇢(MUݕnսus8qdUsV^ 4X*u[эV7SŻW%_Dh#JVюE[w^]\tw7@#v w"} /xQ5ƞDZ-'bd#}CeJtY`n g ,ЉpWj h,wca6}m*GVf4h:&0/E:DJ~l|Eݍ٩gNcnmX*_/m1nf&K1qGNuT)bL㌍aihAm\1ݼ[6nGxCY^A lf۝XjWcp;~iM71tpAE q~PH"ORKWEe2_pB1M?20{Tw'aɁjT{X6\~.̫*J!}L܁Z{ rB6o XA3qhdg0s 7?Sa! 0#|-Х-B)A8D^S5 !)srh -4*ub`AajO^eps!GI[#n?U()eALA*_ f(ć a/ʨQ l=Gztt1] բEeش< >L!.W%B cdB4V"R,Qzm~0\"JdǫBj(`+(k|G -'c #<秺qjk`ҿ]wb-06LQ!>x7 ꁲd-r&V/B/;akv h u$?*^" PC%j~g宕 (k)5-pg lrPWO^`5%(jZh.@R8j (ۂ(-$Kf(U 3 P`ZAʅ VAv+i_KTU at-AH~oQrFhFLZ//R7 ( ]Ԋ[r7jx +d6M=򤚰 "*#=kÃOkFl\MS992/~ccHbbF#F\ mA`1GϽ|NU}cf[ób %qkη!eO=aŜ=q E1{M߁w%Y + ʴ_=P;ș@˗s* ۈ֡elL! 865bb6y-AXY~㵑z ֊U5htji#nŹ\Gk&Sn'>OUՅee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) (fgcolor (color-rgba 0 0 0 1)) (bgcolor (color-rgba 1 1 1 1)) (xspacing 10) (yspacing 10) (spacing-unit inches) (xoffset 0) (yoffset 0) (offset-unit inches) z,y50101010101010 ...!? "     I%$#tgimp-text-layerX(text "0101010101010\n1010101010101\n0101010101010") (font "Noto Sans Ultra-Bold Italic Semi-Condensed") (font-size 11) (font-size-unit pixels) (antialias yes) (language "pt-br") (base-direction ltr) (color (color-rgb 1 1 1)) (justify center) (letter-spacing 3) (box-mode fixed) (box-width 121) (box-height 53) (box-unit pixels) (hinting yes) y5,{y5LRBBB444@@@μμμfY%!fY%!fY%!fY%(UiX`(UiX`(UiX`(Ui!+!+!+!4444@@@@μμμμ!fY%!fY%!fY%!X`(UiX`(UiX`(UiX`+!+!+!+444@@@μμμfY%!fY%!fY%!fY%(UiX`(UiX`(UiX`(Ui!+!+!+!B444@@@μμμ!fY%!fY%!fY%X`(UiX`(UiX`(Ui+!+!+!444@@@μμμfY%!fY%!fY%!(UiX`(UiX`(UiX`!+!+!+444@@@μμμ!fY%!fY%!fY%X`(UiX`(UiX`(Ui+!+!+!<w*STRESS!? "     %$#Ogimp-text-layer3(text "STRESS") (font "Noto Sans Ultra-Bold Italic Semi-Condensed") (font-size 30) (font-size-unit pixels) (antialias yes) (language "pt-br") (base-direction ltr) (color (color-rgb 1 1 1)) (justify center) (letter-spacing 3) (box-mode fixed) (box-width 119) (box-height 42) (box-unit pixels) (hinting yes) w*,w*!&y                                @                                @                                @>{" 7g Z k*U H pmf H\g   4>< 2sV8 '6  'b ; * ` Z ]h' (e 5F ]R- { zN D<+ O _i   6M|[M8N0 :, k `j M q7Ux  U gx  Bz@_                                           _                                           _                                           _7 >{">{"k ZZ App  HH> sa 2 2 5 '6 '6  ; ;  Z Z F (e(e{ PR-R-N N< <O O   V 88# =::   qq gx gx;Camada colada!? "     %$#--Q-\_ 6F@ %.9HVhy '?@&4=EMYv &ED/+ %H  4YSMzb 08:;O "@aUj~3 ,19]ڤ   0DN_e_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XUVWYYWUjExjcc]TJFFIS_hie]TQRSOb5iia`YPIFFMWaghe]SMKKLMOKX#[{ha`UJEDGNX_cc`[VSNJIHJGQFv~wfa^QFBCGNTY\YTSRQNLLEI1ivv~}tfaYNFBCFLPSVWWTQOPQRJFQwmryxqe`TKFCCFJMOPQQPPQNKJKORL.k~ojossne^QHECCDGHIJJHHKNOMGCFNN  H{xnjjmokd[MFBCBCDFD?>?DKLGA?CH ]wpigkmkdWKEBA@??@=843:EKG=7;A #+4kyoggknmdUJDB?>==<<;60-+1>GD;69=  0/JpzmegmqnbRHC@><:98860+(),6??:57< .-''4Wpwichorm_OFC?=;7543/+'')*.7:656<+),  1Qbu}odcipqjZKD@=:96440,*)(&$(06646=" ,M`jxxg`cjppeUHA>:8751,*(%#$(.243:@   -60-"H^cgvsbZbkrqcRE?=964530+%""$(+-149B #?JOC60;Wecfv~qaZbltrdQE>=8559872,'%$$%&(-49;? *@R`^ffclz|qd]doxwhTJC@<;<=940+('&%$'+18:;>&:Xoygap|{pb[dr{{jVKEB><860/11-*&&'*/0//7>""Fe{jvyi\Wcs|{iUJB?93-,*+,+*)*-11-/6;"Ed{vcWWfw{hVIA;3+&&$&%$&(''))*+/36:&Nl|~xr`Y]m}}iVI?6-&#%%! !"%+.01&St~wmul^^fulZN@3* !$)#')\w|ro}zdZ\hzp^O@1'&- (BhxxqyjXSXfxtbRC2%  %-&2VlzwunVRTVbtvcQB5)  !) IcpzyxZGOUU_pwbO@5)   !'%0C]lr|gICNRQZkwaL=1&  "'0L^oxxsXDGJLNRezbH7(!  !( ?`s}dMCGEHLOaz{dI5'  !* MppTCCGBHLO`ry}zgK4%  $+  1^|zaF>DH@GKQaioxxkN4!  (/ Moӊ~kUD@DGAINWecenslT7#  !*2+VspXNMDDIFNS\e\Z`kiW<$  #,6<`z}bNQSEBIJRV]bWOP_f\D)  (1<"Ggt^URMDFJPY\`aUHDSb]K/ %.9C *NkvdUIHGKPX_ac`VD>M[XO9!  $/9BM2Ql}xaO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ys^< 8EKK?Oykb\Z[_grxz|zsja`nz{nzrniis}wgN- 4IOKBQ}nd_[Z^fr~zne_iy{}pľa[SNLScmkgWA8:JQMCRth_\]ajw~rh`fz|t}u»bKB:657GUZahlg`[WCQynd^_do{ujbj}znswF@70*(.=KIRj{ygJT|qf_ahqzxmhp~xkjyİPA<3-*(-:ADYs~bcsgbelrx}yrrw}rn}ƶlD?932+',9BPmyvyojkosw|}}~w}LD=972,)2=Ne{wrqsux}vtȾ~QKDB;7524:L_t{z{~ph¿bh|ZQHC>;;:68H^vpbÿޯd5Jj[SKC?=@B==Jd{蘕tbÿyF%(;9CD@>>BFEHSlvfȿ`E1+ "'/;EHKR[q¾|lǽt\N<1  -AKS]dvwþxfUC1 2ARblzü}ryvlaP9#(3CVcvƾ~hntwoifZA)'-7FQikYWrrjh^I4! *09AE^dNL[tsnfU@,$18AFF]~ĹWNQT^s}teO=-(8AJMPhŻWVURSejdut_N?2% /ALSU\vƺ_XSP[_8=[rnZJB5-5HX__gǺ}nd_hgA!,EYk{tgVG:38HYcdmȻz{|~w~iql`K2).BJRduyoeUC98BR_goȺ{{}4NNDB=1-3'2DNKJ^u~wuj_QKNZfjv̼".:=;5$+CRQEPl|xrdZV]ikpξ!)/002*,DURKSi}{sjbdknqп"#)151012EZWPap{yomnpr&(*3;5/38G`[Tpzwus}»&++276117Jc\Wyxz±~#8KRPD5  "';JRG;$ !")<91&*=DB:4$,BLL=2*JSN@0*LVSA- ,HTU@'*FSR;+HVK/ 5MTD"@RQ<!ISN6-LRF, 8NP= !>OL4  *AQG-5EJ=& :GB9!  $>G<4 -<>8*+4:92!  +/  %5;;,&/88  ,356&   '?K/8;5+   (+:@C7&     4@DJ=*     "7@CJB-    ++9>9;=,    +:<=<5371      %6BD@:2+,5!      2@KME=2%#0$%     /=GNPIA6$(, !(    #2=ELPPLG;( )+!&,   )4=GLOOMKI=,'*#! ,.      27=DGLONKGHIF<6/ 35(   GJKOQNKFB>@CJF=* 5:0(     TZWVUOH@;9:6.2:1*'"  "  Ybb\TLE>97541+ 38/)&%#"  U_bZQKE?;722.%!5:2,'$" ""&+!  DS[XQI@:8342' "7=70*&  $.3-& *?OTRK>40/3-  $8?:3,&"-3,*+" ,9CIHD;23*    %;A=5,$  '.'$('&.;B@>4%  '6,$ %" !"*36>4  '=E@8-%  */+(#   %>ID:.&   &%#&' #?LG;0(     !>NH=2)      >OJ?2)!      70,)%!   5NO<+!4EE@94.($    -JN?-! "@HE?93-&@@stress-1.0.7/man/000077500000000000000000000000001436301436100136165ustar00rootroot00000000000000stress-1.0.7/man/create-man.sh000077500000000000000000000016111436301436100161700ustar00rootroot00000000000000#!/bin/bash # Copyright 2015-2020 Joao Eriberto Mota Filho # Create a manpage using txt2man command. Version 2.0, 2020-06-19. # This file is part of txt2man package for Debian. # This script can be used under BSD-3-Clause license. #-------------------------------------------------------- # Don't change the following lines TEST=$(txt2man -h 2> /dev/null) [ "$TEST" ] || { echo -e "\nYou need to install txt2man, from https://github.com/mvertes/txt2man.\n"; exit 1; } function create-man { txt2man -d "$T2M_DATE" -t $T2M_NAME -r $T2M_NAME-$T2M_VERSION -s $T2M_LEVEL -v "$T2M_DESC" $T2M_NAME.txt > $T2M_NAME.$T2M_LEVEL } #-------------------------------------------------------- # Put here all data for your first manpage (in T2M lines) T2M_DATE="21 Jan 2023" T2M_NAME=stress T2M_VERSION=1.0.7 T2M_LEVEL=1 T2M_DESC="tool to impose load on and stress test systems" create-man stress-1.0.7/man/stress.1000066400000000000000000000071671436301436100152360ustar00rootroot00000000000000.\" Text automatically generated by txt2man .TH stress 1 "21 Jan 2023" "stress-1.0.7" "tool to impose load on and stress test systems" .SH NAME \fBstress \fP- tool to impose load on and stress test a computer system \fB .SH SYNOPSIS .nf .fam C \fBstress\fP [\fIOPTIONS\fP] .fam T .fi .fam T .fi .SH DESCRIPTION \fBstress\fP is a tool that imposes a configurable amount of CPU, memory, I/O, or disk \fBstress\fP on a POSIX-compliant operating system and reports any errors it detects. .PP \fBstress\fP is not a benchmark. It is a tool used by system administrators to evaluate how well their systems will scale, by kernel programmers to evaluate perceived performance characteristics, and by systems programmers to expose the classes of bugs which only or more frequently manifest themselves when the system is under heavy load. .SH OPTIONS .TP .B -?, \fB--help\fP Show this help statement. .TP .B \fB--version\fP Show version statement. .TP .B \fB-v\fP, \fB--verbose\fP Be verbose. .TP .B \fB-q\fP, \fB--quiet\fP Be quiet. .TP .B \fB-n\fP, \fB--dry-run\fP Show what would have been done. .TP .B \fB-t\fP, \fB--timeout\fP Timeout after N seconds. This option is ignored by \fB-n\fP. .TP .B \fB--backoff\fP Wait for factor of microseconds before starting work. .TP .B \fB-c\fP, \fB--cpu\fP Spawn N workers spinning on \fBsqrt\fP(). .TP .B \fB-i\fP, \fB--io\fP Spawn N workers spinning on \fBsync\fP(). .TP .B \fB-m\fP, \fB--vm\fP Spawn N workers spinning on \fBmalloc\fP()/free(). .TP .B \fB--vm-bytes\fP Malloc B bytes per vm worker (default is 256MB). .TP .B \fB--vm-stride\fP Touch a byte every B bytes (default is 4096). .TP .B \fB--vm-hang\fP Sleep N secs before free (default none, 0 is inf). .TP .B \fB--vm-keep\fP Redirty memory instead of freeing and reallocating. .TP .B \fB-d\fP, \fB--hdd\fP Spawn N workers spinning on \fBwrite\fP()/unlink(). .TP .B \fB--hdd-bytes\fP Write B bytes per hdd worker (default is 1GB). The file will be created with \fBmkstemp\fP() in the current directory. .PP Note: Numbers may be suffixed with s,m,h,d,y (time) or B,K,M,G (size). .SH EXAMPLES The simple case is that you just want to bring the system load average up to an arbitrary value. The following forks 13 processes, each of which spins in a tight loop calculating the \fBsqrt\fP() of a random number acquired with \fBrand\fP(). .PP .nf .fam C stress -c 13 .fam T .fi Long options are supported, as well as is making the output less verbose. The following forks 1024 processes, and only reports error messages if any. .PP .nf .fam C stress --quiet --cpu 1k .fam T .fi To see how your system performs when it is I/O bound, use the \fB-i\fP switch. The following forks 4 processes, each of which spins in a tight loop calling \fBsync\fP(), which is a system call that flushes memory buffers to disk. .PP .nf .fam C stress -i 4 .fam T .fi Multiple hogs may be combined on the same command line. The following does everything the preceding examples did in one command, but also turns up the verbosity level as well as showing how to cause the command to self-terminate after 1 minute. .PP .nf .fam C stress -c 13 -i 4 --verbose --timeout 1m .fam T .fi You can write a file of arbitrary length to disk. The file is created with \fBmkstemp\fP() in the current directory. .PP .nf .fam C stress -d 1 --hdd-bytes 13 Large file support is enabled. stress -d 1 --hdd-bytes 3G .fam T .fi .SH AUTHOR \fBstress\fP was originally developed by Amos Waterland and is maintained by some volunteers. .PP Currently, source code and newer versions are available at https://github.com/resurrecting-open-source-projects/\fBstress\fP stress-1.0.7/man/stress.txt000066400000000000000000000061241436301436100157050ustar00rootroot00000000000000NAME stress - tool to impose load on and stress test a computer system SYNOPSIS stress [OPTIONS] DESCRIPTION stress is a tool that imposes a configurable amount of CPU, memory, I/O, or disk stress on a POSIX-compliant operating system and reports any errors it detects. stress is not a benchmark. It is a tool used by system administrators to evaluate how well their systems will scale, by kernel programmers to evaluate perceived performance characteristics, and by systems programmers to expose the classes of bugs which only or more frequently manifest themselves when the system is under heavy load. OPTIONS -?, --help Show this help statement. --version Show version statement. -v, --verbose Be verbose. -q, --quiet Be quiet. -n, --dry-run Show what would have been done. -t, --timeout Timeout after N seconds. This option is ignored by -n. --backoff Wait for factor of microseconds before starting work. -c, --cpu Spawn N workers spinning on sqrt(). -i, --io Spawn N workers spinning on sync(). -m, --vm Spawn N workers spinning on malloc()/free(). --vm-bytes Malloc B bytes per vm worker (default is 256MB). --vm-stride Touch a byte every B bytes (default is 4096). --vm-hang Sleep N secs before free (default none, 0 is inf). --vm-keep Redirty memory instead of freeing and reallocating. -d, --hdd Spawn N workers spinning on write()/unlink(). --hdd-bytes Write B bytes per hdd worker (default is 1GB). The file will be created with mkstemp() in the current directory. Note: Numbers may be suffixed with s,m,h,d,y (time) or B,K,M,G (size). EXAMPLES The simple case is that you just want to bring the system load average up to an arbitrary value. The following forks 13 processes, each of which spins in a tight loop calculating the sqrt() of a random number acquired with rand(). stress -c 13 Long options are supported, as well as is making the output less verbose. The following forks 1024 processes, and only reports error messages if any. stress --quiet --cpu 1k To see how your system performs when it is I/O bound, use the -i switch. The following forks 4 processes, each of which spins in a tight loop calling sync(), which is a system call that flushes memory buffers to disk. stress -i 4 Multiple hogs may be combined on the same command line. The following does everything the preceding examples did in one command, but also turns up the verbosity level as well as showing how to cause the command to self-terminate after 1 minute. stress -c 13 -i 4 --verbose --timeout 1m You can write a file of arbitrary length to disk. The file is created with mkstemp() in the current directory. stress -d 1 --hdd-bytes 13 Large file support is enabled. stress -d 1 --hdd-bytes 3G AUTHOR stress was originally developed by Amos Waterland and is maintained by some volunteers. Currently, source code and newer versions are available at https://github.com/resurrecting-open-source-projects/stress stress-1.0.7/src/000077500000000000000000000000001436301436100136325ustar00rootroot00000000000000stress-1.0.7/src/Makefile.am000066400000000000000000000002221436301436100156620ustar00rootroot00000000000000AM_CFLAGS = -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE bin_PROGRAMS = stress stress_SOURCES = stress.c stress_MANS = stress.1 stress_LDADD = -lm stress-1.0.7/src/stress.c000066400000000000000000000531441436301436100153300ustar00rootroot00000000000000/* A program to put stress on a POSIX system (stress). * * Copyright 2001-2010 Amos Waterland * Copyright 2021-2023 Joao Eriberto Mota Filho * Copyright 2023 Vratislav Bendel * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #include #include #include #include #include #include #include #include #include #include #include #include "config.h" #ifdef HAVE_SYS_PRCTL_H #include #endif /* By default, print all messages of severity info and above. */ static int global_debug = 2; /* Name of this program */ static char *global_progname = PACKAGE; /* Implemention of runtime-selectable severity message printing. */ #define dbg(OUT, STR, ARGS...) if (global_debug >= 3) \ fprintf (stdout, "%s: dbug: [%lli] ", \ global_progname, (long long)getpid()), \ fprintf(OUT, STR, ##ARGS), fflush(OUT) #define out(OUT, STR, ARGS...) if (global_debug >= 2) \ fprintf (stdout, "%s: info: [%lli] ", \ global_progname, (long long)getpid()), \ fprintf(OUT, STR, ##ARGS), fflush(OUT) #define wrn(OUT, STR, ARGS...) if (global_debug >= 1) \ fprintf (stderr, "%s: WARN: [%lli] (%d) ", \ global_progname, (long long)getpid(), __LINE__), \ fprintf(OUT, STR, ##ARGS), fflush(OUT) #define err(OUT, STR, ARGS...) if (global_debug >= 0) \ fprintf (stderr, "%s: FAIL: [%lli] (%d) ", \ global_progname, (long long)getpid(), __LINE__), \ fprintf(OUT, STR, ##ARGS), fflush(OUT) /* Implementation of check for option argument correctness. */ #define assert_arg(A) \ if (++i == argc || ((arg = argv[i])[0] == '-' && \ !isdigit ((int)arg[1]) )) \ { \ err (stderr, "missing argument to option '%s'\n", A); \ exit (1); \ } /* Prototypes for utility functions. */ int usage (int status); int version (int status); long long atoll_s (const char *nptr); long long atoll_b (const char *nptr); void worker_init(void); /* Prototypes for worker functions. */ int hogcpu (void); int hogio (void); int hogvm (long long bytes, long long stride, long long hang, int keep); int hoghdd (long long bytes); int main (int argc, char **argv) { int i, pid, children = 0, retval = 0; long starttime, stoptime, runtime, forks; /* Variables that indicate which options have been selected. */ int do_dryrun = 0; long long do_backoff = 3000; long long do_timeout = 0; long long do_cpu = 0; long long do_io = 0; long long do_vm = 0; long long do_vm_bytes = 256 * 1024 * 1024; long long do_vm_stride = 4096; long long do_vm_hang = -1; int do_vm_keep = 0; long long do_hdd = 0; long long do_hdd_bytes = 1024 * 1024 * 1024; /* Record our start time. */ if ((starttime = time (NULL)) == -1) { err (stderr, "failed to acquire current time: %s\n", strerror (errno)); exit (1); } /* SuSv3 does not define any error conditions for this function. */ global_progname = basename (argv[0]); /* For portability, parse command line options without getopt_long. */ for (i = 1; i < argc; i++) { char *arg = argv[i]; if (strcmp (arg, "--help") == 0 || strcmp (arg, "-?") == 0) { usage (0); } else if (strcmp (arg, "--version") == 0) { version (0); } else if (strcmp (arg, "--verbose") == 0 || strcmp (arg, "-v") == 0) { global_debug = 3; } else if (strcmp (arg, "--quiet") == 0 || strcmp (arg, "-q") == 0) { global_debug = 0; } else if (strcmp (arg, "--dry-run") == 0 || strcmp (arg, "-n") == 0) { do_dryrun = 1; } else if (strcmp (arg, "--backoff") == 0) { assert_arg ("--backoff"); if (sscanf (arg, "%lli", &do_backoff) != 1) { err (stderr, "invalid number: %s\n", arg); exit (1); } if (do_backoff < 0) { err (stderr, "invalid backoff factor: %lli\n", do_backoff); exit (1); } dbg (stdout, "setting backoff coeffient to %llius\n", do_backoff); } else if (strcmp (arg, "--timeout") == 0 || strcmp (arg, "-t") == 0) { assert_arg ("--timeout"); do_timeout = atoll_s (arg); if (do_timeout <= 0) { err (stderr, "invalid timeout value: %llis\n", do_timeout); exit (1); } } else if (strcmp (arg, "--cpu") == 0 || strcmp (arg, "-c") == 0) { assert_arg ("--cpu"); do_cpu = atoll_b (arg); if (do_cpu <= 0) { err (stderr, "invalid number of cpu hogs: %lli\n", do_cpu); exit (1); } } else if (strcmp (arg, "--io") == 0 || strcmp (arg, "-i") == 0) { assert_arg ("--io"); do_io = atoll_b (arg); if (do_io <= 0) { err (stderr, "invalid number of io hogs: %lli\n", do_io); exit (1); } } else if (strcmp (arg, "--vm") == 0 || strcmp (arg, "-m") == 0) { assert_arg ("--vm"); do_vm = atoll_b (arg); if (do_vm <= 0) { err (stderr, "invalid number of vm hogs: %lli\n", do_vm); exit (1); } } else if (strcmp (arg, "--vm-bytes") == 0) { assert_arg ("--vm-bytes"); do_vm_bytes = atoll_b (arg); if (do_vm_bytes <= 0) { err (stderr, "invalid vm byte value: %lli\n", do_vm_bytes); exit (1); } } else if (strcmp (arg, "--vm-stride") == 0) { assert_arg ("--vm-stride"); do_vm_stride = atoll_b (arg); if (do_vm_stride <= 0) { err (stderr, "invalid stride value: %lli\n", do_vm_stride); exit (1); } } else if (strcmp (arg, "--vm-hang") == 0) { assert_arg ("--vm-hang"); do_vm_hang = atoll_b (arg); if (do_vm_hang < 0) { err (stderr, "invalid value: %lli\n", do_vm_hang); exit (1); } } else if (strcmp (arg, "--vm-keep") == 0) { do_vm_keep = 1; } else if (strcmp (arg, "--hdd") == 0 || strcmp (arg, "-d") == 0) { assert_arg ("--hdd"); do_hdd = atoll_b (arg); if (do_hdd <= 0) { err (stderr, "invalid number of hdd hogs: %lli\n", do_hdd); exit (1); } } else if (strcmp (arg, "--hdd-bytes") == 0) { assert_arg ("--hdd-bytes"); do_hdd_bytes = atoll_b (arg); if (do_hdd_bytes <= 0) { err (stderr, "invalid hdd byte value: %lli\n", do_hdd_bytes); exit (1); } } else { err (stderr, "unrecognized option: %s\n", arg); exit (1); } } /* Print startup message if we have work to do, bail otherwise. */ if (do_cpu + do_io + do_vm + do_hdd) { out (stdout, "dispatching hogs: %lli cpu, %lli io, %lli vm, %lli hdd\n", do_cpu, do_io, do_vm, do_hdd); } else usage (0); /* Round robin dispatch our worker processes. */ while ((forks = (do_cpu + do_io + do_vm + do_hdd))) { long long backoff, timeout = 0; /* Calculate the backoff value so we get good fork throughput. */ backoff = do_backoff * forks; dbg (stdout, "using backoff sleep of %llius\n", backoff); /* If we are supposed to respect a timeout, calculate it. */ if (do_timeout) { long long currenttime; /* Acquire current time. */ if ((currenttime = time (NULL)) == -1) { perror ("error acquiring current time"); exit (1); } /* Calculate timeout based on current time. */ timeout = do_timeout - (currenttime - starttime); if (timeout > 0) { dbg (stdout, "setting timeout to %llis\n", timeout); } else { wrn (stderr, "used up time before all workers dispatched\n"); break; } } if (do_cpu) { switch (pid = fork ()) { case 0: /* child */ worker_init(); alarm (timeout); usleep (backoff); if (do_dryrun) exit (0); exit (hogcpu ()); case -1: /* error */ err (stderr, "fork failed: %s\n", strerror (errno)); break; default: /* parent */ dbg (stdout, "--> hogcpu worker %lli [%i] forked\n", do_cpu, pid); ++children; } --do_cpu; } if (do_io) { switch (pid = fork ()) { case 0: /* child */ worker_init(); alarm (timeout); usleep (backoff); if (do_dryrun) exit (0); exit (hogio ()); case -1: /* error */ err (stderr, "fork failed: %s\n", strerror (errno)); break; default: /* parent */ dbg (stdout, "--> hogio worker %lli [%i] forked\n", do_io, pid); ++children; } --do_io; } if (do_vm) { switch (pid = fork ()) { case 0: /* child */ worker_init(); alarm (timeout); usleep (backoff); if (do_dryrun) exit (0); exit (hogvm (do_vm_bytes, do_vm_stride, do_vm_hang, do_vm_keep)); case -1: /* error */ err (stderr, "fork failed: %s\n", strerror (errno)); break; default: /* parent */ dbg (stdout, "--> hogvm worker %lli [%i] forked\n", do_vm, pid); ++children; } --do_vm; } if (do_hdd) { switch (pid = fork ()) { case 0: /* child */ worker_init(); alarm (timeout); usleep (backoff); if (do_dryrun) exit (0); exit (hoghdd (do_hdd_bytes)); case -1: /* error */ err (stderr, "fork failed: %s\n", strerror (errno)); break; default: /* parent */ dbg (stdout, "--> hoghdd worker %lli [%i] forked\n", do_hdd, pid); ++children; } --do_hdd; } } /* Wait for our children to exit. */ while (children) { int status, ret; if ((pid = wait (&status)) > 0) { --children; if (WIFEXITED (status)) { if ((ret = WEXITSTATUS (status)) == 0) { dbg (stdout, "<-- worker %i returned normally\n", pid); } else { err (stderr, "<-- worker %i returned error %i\n", pid, ret); ++retval; wrn (stderr, "now reaping child worker processes\n"); if (signal (SIGUSR1, SIG_IGN) == SIG_ERR) err (stderr, "handler error: %s\n", strerror (errno)); if (kill (-1 * getpid (), SIGUSR1) == -1) err (stderr, "kill error: %s\n", strerror (errno)); } } else if (WIFSIGNALED (status)) { if ((ret = WTERMSIG (status)) == SIGALRM) { dbg (stdout, "<-- worker %i signalled normally\n", pid); } else if ((ret = WTERMSIG (status)) == SIGUSR1) { dbg (stdout, "<-- worker %i reaped\n", pid); } else { err (stderr, "<-- worker %i got signal %i\n", pid, ret); ++retval; wrn (stderr, "now reaping child worker processes\n"); if (signal (SIGUSR1, SIG_IGN) == SIG_ERR) err (stderr, "handler error: %s\n", strerror (errno)); if (kill (-1 * getpid (), SIGUSR1) == -1) err (stderr, "kill error: %s\n", strerror (errno)); } } else { err (stderr, "<-- worker %i exited abnormally\n", pid); ++retval; } } else { err (stderr, "error waiting for worker: %s\n", strerror (errno)); ++retval; break; } } /* Record our stop time. */ if ((stoptime = time (NULL)) == -1) { err (stderr, "failed to acquire current time\n"); exit (1); } /* Calculate our runtime. */ runtime = stoptime - starttime; /* Print final status message. */ if (retval) { err (stderr, "failed run completed in %lis\n", runtime); } else { out (stdout, "successful run completed in %lis\n", runtime); } exit (retval); } void worker_init(void) { #ifdef HAVE_SYS_PRCTL_H if (prctl(PR_SET_PDEATHSIG, SIGTERM) == -1) exit(0); #endif } int hogcpu (void) { while (1) sqrt (rand ()); return 0; } int hogio () { while (1) sync (); return 0; } int hogvm (long long bytes, long long stride, long long hang, int keep) { long long i; char *ptr = 0; char c; int do_malloc = 1; while (1) { if (do_malloc) { dbg (stdout, "allocating %lli bytes ...\n", bytes); if (!(ptr = (char *) malloc (bytes * sizeof (char)))) { err (stderr, "hogvm malloc failed: %s\n", strerror (errno)); return 1; } if (keep) do_malloc = 0; } dbg (stdout, "touching bytes in strides of %lli bytes ...\n", stride); for (i = 0; i < bytes; i += stride) ptr[i] = 'Z'; /* Ensure that COW happens. */ if (hang == 0) { dbg (stdout, "sleeping forever with allocated memory\n"); while (1) sleep (1024); } else if (hang > 0) { dbg (stdout, "sleeping for %llis with allocated memory\n", hang); sleep (hang); } for (i = 0; i < bytes; i += stride) { c = ptr[i]; if (c != 'Z') { err (stderr, "memory corruption at: %p\n", ptr + i); return 1; } } if (do_malloc) { free (ptr); dbg (stdout, "freed %lli bytes\n", bytes); } } return 0; } int hoghdd (long long bytes) { long long i, j; int fd; int chunk = (1024 * 1024) - 1; /* Minimize slow writing. */ char buff[chunk]; /* Initialize buffer with some random ASCII data. */ dbg (stdout, "seeding %d byte buffer with random data\n", chunk); for (i = 0; i < chunk - 1; i++) { j = rand (); j = (j < 0) ? -j : j; j %= 95; j += 32; buff[i] = j; } buff[i] = '\n'; while (1) { char name[] = "./stress.XXXXXX"; if ((fd = mkstemp (name)) == -1) { err (stderr, "mkstemp failed: %s\n", strerror (errno)); return 1; } dbg (stdout, "opened %s for writing %lli bytes\n", name, bytes); dbg (stdout, "unlinking %s\n", name); if (unlink (name) == -1) { err (stderr, "unlink of %s failed: %s\n", name, strerror (errno)); return 1; } dbg (stdout, "fast writing to %s\n", name); for (j = 0; bytes == 0 || j + chunk < bytes; j += chunk) { if (write (fd, buff, chunk) == -1) { err (stderr, "write failed: %s\n", strerror (errno)); return 1; } } dbg (stdout, "slow writing to %s\n", name); for (; bytes == 0 || j < bytes - 1; j++) { if (write (fd, &buff[j % chunk], 1) == -1) { err (stderr, "write failed: %s\n", strerror (errno)); return 1; } } if (write (fd, "\n", 1) == -1) { err (stderr, "write failed: %s\n", strerror (errno)); return 1; } ++j; dbg (stdout, "closing %s after %lli bytes\n", name, j); close (fd); } return 0; } /* Convert a string representation of a number with an optional size suffix * to a long long. */ long long atoll_b (const char *nptr) { int pos; char suffix; long long factor = 0; long long value; if ((pos = strlen (nptr) - 1) < 0) { err (stderr, "invalid string\n"); exit (1); } switch (suffix = nptr[pos]) { case 'b': case 'B': factor = 0; break; case 'k': case 'K': factor = 10; break; case 'm': case 'M': factor = 20; break; case 'g': case 'G': factor = 30; break; default: if (suffix < '0' || suffix > '9') { err (stderr, "unrecognized suffix: %c\n", suffix); exit (1); } } if (sscanf (nptr, "%lli", &value) != 1) { err (stderr, "invalid number: %s\n", nptr); exit (1); } value = value << factor; return value; } /* Convert a string representation of a number with an optional time suffix * to a long long. */ long long atoll_s (const char *nptr) { int pos; char suffix; long long factor = 1; long long value; if ((pos = strlen (nptr) - 1) < 0) { err (stderr, "invalid string\n"); exit (1); } switch (suffix = nptr[pos]) { case 's': case 'S': factor = 1; break; case 'm': case 'M': factor = 60; break; case 'h': case 'H': factor = 60 * 60; break; case 'd': case 'D': factor = 60 * 60 * 24; break; case 'y': case 'Y': factor = 60 * 60 * 24 * 365; break; default: if (suffix < '0' || suffix > '9') { err (stderr, "unrecognized suffix: %c\n", suffix); exit (1); } } if (sscanf (nptr, "%lli", &value) != 1) { err (stderr, "invalid number: %s\n", nptr); exit (1); } value = value * factor; return value; } int version (int status) { char *mesg = "%s %s\n"; fprintf (stdout, mesg, global_progname, VERSION); if (status <= 0) exit (-1 * status); return 0; } int usage (int status) { char *mesg = "`%s' imposes certain types of compute stress on your system\n\n" "Usage: %s [OPTION [ARG]] ...\n" " -?, --help show this help statement\n" " --version show version statement\n" " -v, --verbose be verbose\n" " -q, --quiet be quiet\n" " -n, --dry-run show what would have been done\n" " -t, --timeout N timeout after N seconds\n" " --backoff N wait factor of N microseconds before work starts\n" " -c, --cpu N spawn N workers spinning on sqrt()\n" " -i, --io N spawn N workers spinning on sync()\n" " -m, --vm N spawn N workers spinning on malloc()/free()\n" " --vm-bytes B malloc B bytes per vm worker (default is 256MB)\n" " --vm-stride B touch a byte every B bytes (default is 4096)\n" " --vm-hang N sleep N secs before free (default none, 0 is inf)\n" " --vm-keep redirty memory instead of freeing and reallocating\n" " -d, --hdd N spawn N workers spinning on write()/unlink()\n" " --hdd-bytes B write B bytes per hdd worker (default is 1GB)\n\n" "Example: %s --cpu 8 --io 4 --vm 2 --vm-bytes 128M --timeout 10s\n\n" "Note: Numbers may be suffixed with s,m,h,d,y (time) or B,K,M,G (size).\n"; fprintf (stdout, mesg, global_progname, global_progname, global_progname); if (status <= 0) exit (-1 * status); return 0; } stress-1.0.7/test/000077500000000000000000000000001436301436100140225ustar00rootroot00000000000000stress-1.0.7/test/Makefile.am000066400000000000000000000001641436301436100160570ustar00rootroot00000000000000MAINTAINERCLEANFILES = Makefile.in TESTS = check_version_return_code check_usage_return_code EXTRA_DIST = $(TESTS) stress-1.0.7/test/check_usage_return_code000077500000000000000000000001331436301436100205770ustar00rootroot00000000000000# Test that the --help option is accepted and that stress returns 0. ../src/stress --help stress-1.0.7/test/check_version_return_code000077500000000000000000000001571436301436100211660ustar00rootroot00000000000000# Test that the --version option is accepted and that stress returns 0 set -e set -x ../src/stress --version