System Grab Bag

View all TLDR pages from common (or from all pages)

sysbench

Benchmark a System's CPU, IO and memory. More information: https://github.com/akopytov/sysbench/.
  • Run a CPU benchmark with 1 thread for 10 seconds:
    sysbench cpu run
  • Run a CPU benchmark with multiple threads for a specified time:
    sysbench --threads={{number_of_threads}} --time={{seconds}}
  • Run a memory benchmark with 1 thread for 10 seconds:
    sysbench memory run
  • Prepare a filesystem-level read benchmark:
    sysbench fileio prepare
  • Run a filesystem-level benchmark:
    sysbench --file-test-mode={{rndrd|rndrw|rndwr|seqrd|seqrewr|seqwr}} fileio run

License and Disclaimer

The content on this page is copyright © 2014—present the tldr-pages team and contributors.
This page is used with permission under Creative Commons Attribution 4.0 International License.

While we do attempt to make sure content is accurate, there isn't a warranty of any kind.