Created
January 5, 2017 04:19
-
-
Save dreamflyforever/7052c031167915fa863abbc61b23d361 to your computer and use it in GitHub Desktop.
From http://gitstbox.com/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
begin=$(date +%s) | |
for ((i=0;i<1;i++));do | |
{ | |
mosquitto_pub -h 120.24.75.220 -p 61613 -u admin -P password -t test -m test | |
}& | |
done | |
wait | |
end=$(date +%s) | |
spend=$(expr $end - $begin) | |
echo "spend time$spend秒" | |
Folder_TEST="/home/jim/Downloads/dao_hang" | |
for file_test in ${Folder_TEST}/*; do | |
echo $file_test | |
/opt/aispeech/linux_asr/aispeech-speex-ogg-c-sample-20151116/fos_pcm $file_test | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment