ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Utility that can load the CPU & RAM?

    IT Discussion
    linux
    2
    2
    189
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • 1
      1337
      last edited by

      Is there a linux utility that I can run that will use X amount of RAM and Y amount of CPU?

      Basically I want something to test hypervisor behavior by having VMs consume different amount of resources.

      For example:
      loadgenerator 30% 2GB
      And the fictitious loadgenerator application will now consume 30% of the CPU and 2GB RAM.

      1 Reply Last reply Reply Quote 1
      • scottalanmillerS
        scottalanmiller
        last edited by

        There is a utility called stress for that. I've never used it myself. But here is a guide, should be easy.

        https://www.linuxshelltips.com/create-cpu-load-linux/

        1 Reply Last reply Reply Quote 1
        • 1 / 1
        • First post
          Last post