3d8452b143
Some files are obviously external libraries, I didn't touch them
16 lines
404 B
Bash
Executable file
16 lines
404 B
Bash
Executable file
#!/bin/bash
|
|
|
|
# connect 500 instances to display :0
|
|
for i in {1..500}
|
|
do
|
|
echo $i
|
|
echo "Displaying Some shit"
|
|
DISPLAY=:0 screen -d -m /home/phantomjs/bin/phantomjs loader.js http://10.0.0.55:9001/p/pad2 && sleep 2
|
|
done
|
|
|
|
# connect 500 instances to display :1
|
|
for i in {1..500}
|
|
do
|
|
echo $i
|
|
DISPLAY=:1 screen -d -m /home/phantomjs/bin/phantomjs loader.js http://10.0.0.55:9001/p/pad2 && sleep 2
|
|
done
|