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
#!/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博客 ” ,链接:http://blog.itpub.net/26390465/viewspace-1771452/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/26390465/viewspace-1771452/