Multiple Linux Hosts System Performance Test Script
Brief Multiple Linux Hosts System Performance Test Script Let me say this in Chinese, since I'm running out of words. It's just a script for batch performance t
Brief
Multiple Linux Hosts System Performance Test Script
Let me say this in Chinese, since I'm running out of words. It's just a script for batch performance testing on a Xinchuang (domestic substitution) project. I don't know how to write a setup.py, so I patched it together by hand.
Management-side environment:
- RHEL 7.9 and above (other versions not tested; whether they're supported is not my concern)
- Python 3.6.8 and above
- Paramiko 2.x and its dependencies
Supported Managed Host Versions:
- RHEL7/8
- UOS20 (x86_64 & arm)
- KylinV10 (x86_64 & arm)
Supported Testing Tools
- lmbench
- iozone3
- LTP
- netperf
- stream
- unixbench
Usage
Usage: ./remoteconsole.py — anyone in the know will understand at a glance
Main Menu
--------------------------------M A I N M E N U--------------------------------
- List and select host group [None selected means all hosts]
- Ping test for multiple host[s]
- Init remote ssh console for host[s] specified (once group changed)
- YUM setup for host[s] initiated
- Install necessary package[s]
- Put package[s] to remote machine
- Sub Menu for system bench test
- Inactive mode (Send command manually)
3.14 --Remove the whole directory '/tmp/sysperftest'
Submenu
--------------------------------------------------------------------------------- FIO (I/O) -- # todo
IOZONE3 (Filesystem I/O) -- STREAM Benchmark (Memory) -- NETPERF (Network Performance) -- LMBENCH (FULL, Processor/Memory/File/Bandwidth) UNIXBENCH (FULL) -- <system bench test passed, get run state FAILED.> Stress-ng (POC)
LTP (POC)
--------------------------------------------------------------------------------------- l. List and select script[s] running background r. Running state of script [True: running | False: finished] c. Clean last results. <rm -rf /tmp/sysperftest/sysperftest_*> f. Fetch results exist (All files those names starts with 'sysperftest_')
R. Read 5 lines of log file '/tmp/sysperftest/log/remoteconsole.log' L. List directory '/tmp/sysperftest/'
A. Run all test and fetch the results
[None][None]>>>>
评论Comments
加载中…Loading…
留下评论Leave a comment