snipt

Ctrl+h for KB shortcuts

Text only

Kill specific node.js process

1
2
3
4
5
ps aux | grep node

Find the process ID (second from the left):

kill -9 PRCOCESS_ID
https://snipt.net/embed/6aaa519631b0863f4d9f65b4bcb9886b/
https://snipt.net/raw/6aaa519631b0863f4d9f65b4bcb9886b/
6aaa519631b0863f4d9f65b4bcb9886b
text
Text only
5
2016-09-30T06:14:21
True
False
False
Dec 05, 2012 at 04:47 PM
/api/public/snipt/51286/
kill-specific-nodejs-process
<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> <a href="#L-4">4</a> <a href="#L-5">5</a></pre></div></td><td class="code"><div class="highlight"><pre><span id="L-1"><a name="L-1"></a>ps aux | grep node </span><span id="L-2"><a name="L-2"></a> </span><span id="L-3"><a name="L-3"></a>Find the process ID (second from the left): </span><span id="L-4"><a name="L-4"></a> </span><span id="L-5"><a name="L-5"></a>kill -9 PRCOCESS_ID </span></pre></div> </td></tr></table>
node.js, server
Copyrighted, illegal, or inappropriate content? Email support@snipt.net.