Skip to content

Commit

Permalink
Add a few more example requests
Browse files Browse the repository at this point in the history
  • Loading branch information
dnaeon committed Jan 14, 2014
1 parent 42d5a3c commit 4a6399c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/misc-tools/request-simulator.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ while [[ ${i} -lt ${TOTAL_REQUESTS} ]]; do
# Fire up another request if needed
if [[ ${running} -lt ${MAX_REQUESTS} ]]; then
echo "I: Firing up request ${i} ..."
vpoller-client -D -n esx1-evn1_local0 -p summary.capacity -u ds:///vmfs/volumes/4c68dc48-0db9ca38-f0e0-78e7d1e5782e/ -c poll -V vc1-sof2 > /dev/null 2>&1 &
vpoller-client -m host.discover -V vc01.example.org -e tcp://localhost:10123 > /dev/null 2>&1 &
vpoller-client -m datastore.discover -V vc01.example.org -e tcp://localhost:10123 > /dev/null 2>&1 &
vpoller-client -m datastore.poll -p summary.capacity -u ds:///vmfs/volumes/4c68dc48-0db9ca38-f0e0-78e7d1e5782e/ -V vc01.example.org > /dev/null 2>&1 &
let i++
fi
done

0 comments on commit 4a6399c

Please sign in to comment.