mirror of
https://github.com/alibaba/arthas.git
synced 2026-11-08 00:36:18 +00:00
update doc
This commit is contained in:
1 parent
ac10e3bf71
commit
89fa8a4c84
39 files changed
+91
-91
No files matched your search
+2
-2
@@ -166,7 +166,7 @@
|
||||
<span id="log-command-outputs"></span><h1>Log command outputs<a class="headerlink" href="#log-command-outputs" title="Permalink to this headline">¶</a></h1>
|
||||
<p>Log command outputs for later analysis, turned off by default.</p>
|
||||
<p>To turn it on, using <a class="reference internal" href="options.html"><span class="doc">options</span></a> as:</p>
|
||||
<div class="highlight-sh notranslate"><div class="highlight"><pre><span></span>$ options save-result <span class="nb">true</span>
|
||||
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>$ options save-result <span class="nb">true</span>
|
||||
NAME BEFORE-VALUE AFTER-VALUE
|
||||
----------------------------------------
|
||||
save-result <span class="nb">false</span> <span class="nb">true</span>
|
||||
@@ -182,7 +182,7 @@ Affect<span class="o">(</span>row-cnt:1<span class="o">)</span> cost in <span cl
|
||||
<span id="asynchronous-log"></span><h2>Asynchronous log<a class="headerlink" href="#asynchronous-log" title="Permalink to this headline">¶</a></h2>
|
||||
<p>:notes: :notes:
|
||||
With the latest Arthas, you can log the outputs asynchronously in the background:</p>
|
||||
<div class="highlight-sh notranslate"><div class="highlight"><pre><span></span>$ trace Test t >> <span class="p">&</span>
|
||||
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>$ trace Test t >> <span class="p">&</span>
|
||||
job id : <span class="m">2</span>
|
||||
cache location : /Users/zhuyong/logs/arthas-cache/28198/2
|
||||
</pre></div>
|
||||
|
||||
Reference in new issue
Block a user