mirror of https://github.com/alibaba/arthas.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
2.4 KiB
JavaScript
11 lines
2.4 KiB
JavaScript
import{_ as s,o as e,c as n,d as a}from"./app.5024572d.js";const t={},i=a(`<h1 id="history" tabindex="-1"><a class="header-anchor" href="#history" aria-hidden="true">#</a> history</h1><p>view command history.</p><div class="custom-container tip"><p class="custom-container-title">TIP</p><p>history of commands will persisted in a file named history, so the history command can show all the history commands of current Arthas server ,but not only history in current session.</p></div><h2 id="options" tabindex="-1"><a class="header-anchor" href="#options" aria-hidden="true">#</a> Options</h2><table><thead><tr><th style="text-align:right;">Name</th><th style="text-align:left;">Specification</th></tr></thead><tbody><tr><td style="text-align:right;">[c:]</td><td style="text-align:left;">clear all the history commands</td></tr><tr><td style="text-align:right;">[n:]</td><td style="text-align:left;">view the nearest 5 commands</td></tr></tbody></table><h2 id="usage" tabindex="-1"><a class="header-anchor" href="#usage" aria-hidden="true">#</a> Usage</h2><div class="language-bash ext-sh line-numbers-mode"><pre class="language-bash"><code><span class="token comment">#view the nearest 3 commands</span>
|
|
$ <span class="token function">history</span> <span class="token number">3</span>
|
|
<span class="token number">269</span> thread
|
|
<span class="token number">270</span> cls
|
|
<span class="token number">271</span> <span class="token function">history</span> <span class="token number">3</span>
|
|
</code></pre><div class="line-numbers" aria-hidden="true"><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div></div></div><div class="language-bash ext-sh line-numbers-mode"><pre class="language-bash"><code> <span class="token comment">#clear all the history commands</span>
|
|
$ <span class="token function">history</span> <span class="token parameter variable">-c</span>
|
|
$ <span class="token function">history</span> <span class="token number">3</span>
|
|
<span class="token number">1</span> <span class="token function">history</span> <span class="token number">3</span>
|
|
</code></pre><div class="line-numbers" aria-hidden="true"><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div></div></div>`,8),r=[i];function l(o,c){return e(),n("div",null,r)}const h=s(t,[["render",l],["__file","history.html.vue"]]);export{h as default};
|