You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@brooklyn.apache.org by he...@apache.org on 2016/11/08 11:18:00 UTC
[2/4] brooklyn-docs git commit: tidies for prompt chars,
esp multi-line
tidies for prompt chars, esp multi-line
and fix broken link
cf https://github.com/apache/brooklyn-docs/pull/97
Project: http://git-wip-us.apache.org/repos/asf/brooklyn-docs/repo
Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-docs/commit/68291a39
Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-docs/tree/68291a39
Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-docs/diff/68291a39
Branch: refs/heads/master
Commit: 68291a398f4205b79af8021744db9ca0d081e46a
Parents: f25797d
Author: Alex Heneveld <al...@cloudsoftcorp.com>
Authored: Mon Nov 7 15:29:33 2016 +0000
Committer: Alex Heneveld <al...@cloudsoftcorp.com>
Committed: Mon Nov 7 15:29:33 2016 +0000
----------------------------------------------------------------------
guide/start/policies.md | 16 ++++++++--------
guide/start/running.md | 2 +-
2 files changed, 9 insertions(+), 9 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/brooklyn-docs/blob/68291a39/guide/start/policies.md
----------------------------------------------------------------------
diff --git a/guide/start/policies.md b/guide/start/policies.md
index a1b2001..ef73c3c 100644
--- a/guide/start/policies.md
+++ b/guide/start/policies.md
@@ -355,8 +355,8 @@ Tomcat on the vagrant VMs named "byon1" to "byon4":
{% highlight bash %}
$ for i in byon{1..4}; do
-$ vagrant ssh ${i} --command 'ps aux | grep -i tomcat | grep -v grep | awk '\''{print $2}'\'' | xargs kill -9'
-$ done
+> vagrant ssh ${i} --command 'ps aux | grep -i tomcat | grep -v grep | awk '\''{print $2}'\'' | xargs kill -9'
+> done
{% endhighlight %}
You can view the state of the Tomcat server with the command below (which drills into the
@@ -437,12 +437,12 @@ you could use a load generator like jmeter, or use a script such as the one show
{% highlight bash %}
$ URL=http://10.10.10.101:8000/
$ for i in {1..600}; do
-$ for j in {1..50}; do
-$ curl -saefafefj ${URL} > /dev/null || echo "Curl failed with exit code $?"
-$ done
-$ echo "Finished batch $i"
-$ sleep 1
-$ done
+> for j in {1..50}; do
+> curl -saefafefj ${URL} > /dev/null || echo "Curl failed with exit code $?"
+> done
+> echo "Finished batch $i"
+> sleep 1
+> done
{% endhighlight %}
While those curl commands run in a separate terminal, you can look at the metrics for the first
http://git-wip-us.apache.org/repos/asf/brooklyn-docs/blob/68291a39/guide/start/running.md
----------------------------------------------------------------------
diff --git a/guide/start/running.md b/guide/start/running.md
index 4b1be82..025628d 100644
--- a/guide/start/running.md
+++ b/guide/start/running.md
@@ -253,6 +253,6 @@ For details on the CLI, see the [Client CLI Reference]({{ site.path.guide }}/ops
<div class="started-pdf-exclude">
-The first thing we want to do with Brooklyn is **[deploy a blueprint]({{ site.path.guide }}/ops/blueprints.html)**.
+The first thing we want to do with Brooklyn is **[deploy a blueprint]({{ site.path.guide }}/start/blueprints.html)**.
</div>