The 'sysbench' module is used to analyze the performance of the minions, right from the master! It measures various system parameters such as CPU, Memory, File I/O, Threads and Mutex.
salt.modules.sysbench.
cpu
()¶Tests for the CPU performance of minions.
CLI范例:
salt '*' sysbench.cpu
salt.modules.sysbench.
fileio
()¶This tests for the file read and write operations Various modes of operations are
The test works with 32 files with each file being 1Gb in size The test consumes a lot of time. Be patient!
CLI范例:
salt '*' sysbench.fileio
salt.modules.sysbench.
memory
()¶This tests the memory for read and write operations.
CLI范例:
salt '*' sysbench.memory
salt.modules.sysbench.
mutex
()¶Tests the implementation of mutex
CLI范例:
salt '*' sysbench.mutex
salt.modules.sysbench.
ping
()¶salt.modules.sysbench.
threads
()¶This tests the performance of the processor's scheduler
CLI 范例:
salt '*' sysbench.threads