ITPub博客

首页 > 数据库 > Oracle > 数据库压力测试小工具

数据库压力测试小工具

Oracle 作者:huqiliu 时间:2016-05-06 09:21:26 0 删除 编辑
Demo 1:
#!/bin/bash
for i in {1..10}
do 
sqlplus username/pwd @t.sql &
sqlplus username/pwd@t.sql &
done


Demo 2:
#!bin/sh
C=10
while [$C -ne 0];
do
nohup bash t1.sh &
nohup bash t2.sh &
done

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/28624789/viewspace-2094600/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2014-11-19

  • 博文量
    9
  • 访问量
    23508