Last active
July 2, 2019 16:45
-
-
Save crafter999/81d8b9f201b677589c0ddc88de66f76c to your computer and use it in GitHub Desktop.
One line linux CPU stress (linux)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [start] | |
| for i in 1 2 3 4; do while : ; do : ; done & done | |
| [stop] | |
| for i in 1 2 3 4; do kill %$i; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment