{"id":2501,"date":"2023-10-15T04:48:39","date_gmt":"2023-10-15T04:48:39","guid":{"rendered":"https:\/\/teza.blog\/?p=2501"},"modified":"2023-10-15T04:48:40","modified_gmt":"2023-10-15T04:48:40","slug":"stress-test-on-linux","status":"publish","type":"post","link":"https:\/\/teza.blog\/index.php\/2023\/10\/15\/stress-test-on-linux\/","title":{"rendered":"Stress test on Linux"},"content":{"rendered":"\n<p id=\"1486\"><strong>Download and install the stress test tool<\/strong><\/p>\n\n\n\n<p id=\"3dc4\"><code>sudo amazon-linux-extras install epel -y<br>sudo yum install stress -y<\/code><\/p>\n\n\n\n<p id=\"6048\"><strong>Launch the stress test in background (for 800 seconds in that example)<\/strong><\/p>\n\n\n\n<p id=\"0334\"><code>sudo stress --cpu 8 --timeout 800 &amp;<\/code><\/p>\n\n\n\n<p id=\"b526\"><strong>Check the stress test processes with the top command<\/strong><\/p>\n\n\n\n<p id=\"9f5c\"><code>top<\/code><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/miro.medium.com\/v2\/resize:fit:683\/1*_QTqs3-Jjzg7XJ46jACayQ.png\" alt=\"\"\/><figcaption class=\"wp-element-caption\">Result for the top command<\/figcaption><\/figure>\n\n\n\n<p id=\"6e52\"><strong>Manually stop the stress test (if needed)<\/strong><\/p>\n\n\n\n<p id=\"cdeb\"><code>sudo killall stress<\/code><\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Download and install the stress test tool sudo amazon-linux-extras install epel -ysudo yum install stress -y Launch the stress test in background (for 800 seconds in that example) sudo stress &#8211;cpu 8 &#8211;timeout 800 &amp; Check the stress test processes with the top command top Manually stop the stress test (if needed) sudo killall stress<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[20,21,58],"class_list":["post-2501","post","type-post","status-publish","format-standard","hentry","category-networking","tag-aws","tag-cloud","tag-linux"],"_links":{"self":[{"href":"https:\/\/teza.blog\/index.php\/wp-json\/wp\/v2\/posts\/2501","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/teza.blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/teza.blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/teza.blog\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/teza.blog\/index.php\/wp-json\/wp\/v2\/comments?post=2501"}],"version-history":[{"count":1,"href":"https:\/\/teza.blog\/index.php\/wp-json\/wp\/v2\/posts\/2501\/revisions"}],"predecessor-version":[{"id":2502,"href":"https:\/\/teza.blog\/index.php\/wp-json\/wp\/v2\/posts\/2501\/revisions\/2502"}],"wp:attachment":[{"href":"https:\/\/teza.blog\/index.php\/wp-json\/wp\/v2\/media?parent=2501"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/teza.blog\/index.php\/wp-json\/wp\/v2\/categories?post=2501"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/teza.blog\/index.php\/wp-json\/wp\/v2\/tags?post=2501"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}