snipt

Ctrl+h for KB shortcuts
#11525

Bash

mysql process list

mysqladmin -p processlist
https://snipt.net/embed/a31ac783f3d779ab197b4d1a15564b79/
https://snipt.net/raw/a31ac783f3d779ab197b4d1a15564b79/
a31ac783f3d779ab197b4d1a15564b79
bash
Bash
1
2014-04-18T19:18:49
True
False
/api/public/snipt/11525/
mysql-process-list
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a></pre></div></td><td class="code"><div class="highlight"><pre><span id="L-1"><a name="L-1"></a>mysqladmin -p processlist </span></pre></div> </td></tr></table>
list, mysql, process
#11524

Bash

cpu load process

ps -efw --sort %cpu | tail
https://snipt.net/embed/9c07faa64b2ad4efc63e8ad0c6d5dc1e/
https://snipt.net/raw/9c07faa64b2ad4efc63e8ad0c6d5dc1e/
9c07faa64b2ad4efc63e8ad0c6d5dc1e
bash
Bash
1
2014-04-15T22:02:15
True
False
/api/public/snipt/11524/
cpu-load-process
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a></pre></div></td><td class="code"><div class="highlight"><pre><span id="L-1"><a name="L-1"></a>ps -efw --sort %cpu <span class="p">|</span> tail </span></pre></div> </td></tr></table>
cpu, load
#9994

PHP

hello snipt

1
2
3
<?
echo "Hello Snipt ;)";
?>
https://snipt.net/embed/ff280bb743d9ce70261e1e34052d34b0/
https://snipt.net/raw/ff280bb743d9ce70261e1e34052d34b0/
ff280bb743d9ce70261e1e34052d34b0
php
PHP
3
2014-04-17T14:10:02
True
False
/api/public/snipt/9994/
hello-snipt-1
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a> <a href="#L-2">2</a> <a href="#L-3">3</a></pre></div></td><td class="code"><div class="highlight"><pre><span id="L-1"><a name="L-1"></a><span class="cp">&lt;?</span> </span><span id="L-2"><a name="L-2"></a><span class="k">echo</span> <span class="s2">&quot;Hello Snipt ;)&quot;</span><span class="p">;</span> </span><span id="L-3"><a name="L-3"></a><span class="cp">?&gt;</span><span class="x"></span> </span></pre></div> </td></tr></table>
echo, hello, php, snipt