Advertisement
Guest User

Untitled

a guest
Oct 7th, 2016
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.62 KB | None | 0 0
  1. + APPLICATION_NAME=memcachestream
  2. + WOWZA_IP=172.30.0.175
  3. + RESTAPI_PORT=8087
  4. + USER=admin
  5. + PASS=a
  6. + CURRENT='/usr/bin/curl --silent --digest -u admin:a -X GET --header '\''Accept:application/json; charset=utf-8'\'' http://172.30.0.175:8087/v2/servers/_defaultServer_/vhosts/_defaultVHost_/applications/memcachestream/monitoring/current'
  7. + APPRESS='/usr/bin/curl --silent --digest -u admin:a -X PUT --header '\''Accept:application/json; charset=utf-8'\'' http://172.30.0.175:8087/v2/servers/_defaultServer_/vhosts/_defaultVHost_/applications/memcachestream/actions/restart'
  8. ++ /usr/bin/curl --silent --digest -u admin:a -X GET --header ''\''Accept:application/json;' 'charset=utf-8'\''' http://172.30.0.175:8087/v2/servers/_defaultServer_/vhosts/_defaultVHost_/applications/memcachestream/monitoring/current
  9. ++ /usr/bin/cut -f1 '-d<'
  10. ++ /usr/bin/cut -f2 '-d>'
  11. ++ /bin/grep memcachestream
  12. + APPEXIST=memcachestream
  13. ++ /usr/bin/cut -f1 '-d<'
  14. ++ /usr/bin/cut -f2 '-d>'
  15. ++ /bin/grep Uptime
  16. ++ /usr/bin/curl --silent --digest -u admin:a -X GET --header ''\''Accept:application/json;' 'charset=utf-8'\''' http://172.30.0.175:8087/v2/servers/_defaultServer_/vhosts/_defaultVHost_/applications/memcachestream/monitoring/current
  17. + WURKTIME=0
  18. ++ /usr/bin/cut -f1 '-d<'
  19. ++ /usr/bin/cut -f2 '-d>'
  20. ++ /bin/grep TotalConnections
  21. ++ /usr/bin/curl --silent --digest -u admin:a -X GET --header ''\''Accept:application/json;' 'charset=utf-8'\''' http://172.30.0.175:8087/v2/servers/_defaultServer_/vhosts/_defaultVHost_/applications/memcachestream/monitoring/current
  22. + TOTALCON=0
  23. + [[ memcachestream = memcachestream ]]
  24. + [[ 0 -gt 0 ]]
  25. + /bin/echo ' '
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement