zabbix server端远程调用agentd端key
# docker exec -it 3965 zabbix_get -s agent_ip -p 10050 -k "system.cpu.load[all,avg15]"
压测硬盘IO
write:
[root@localhost ~]# cat testwrite.sh
for i in {1..10}; do dd if=/dev/zero of=test.dbf bs=8k count=300000; rm -f test.dbf; done
read:
[root@localhost ~]# cat testread.sh
for i in {1..10}; do dd if=test.dbf bs=8k count=300000 of=/dev/null ; done