{"id":318,"date":"2022-05-02T19:16:36","date_gmt":"2022-05-02T19:16:36","guid":{"rendered":"https:\/\/www.jibsheet.net\/linux\/?p=318"},"modified":"2022-05-02T19:16:36","modified_gmt":"2022-05-02T19:16:36","slug":"how-to-kill-all-vscode-process-on-remote-linux-server","status":"publish","type":"post","link":"https:\/\/www.jibsheet.net\/linux\/index.php\/2022\/05\/02\/how-to-kill-all-vscode-process-on-remote-linux-server\/","title":{"rendered":"How to kill all vscode process on remote Linux server"},"content":{"rendered":"<p>If you disconnect vscode from a linux server.<\/p>\n<p>You will see all these\u00a0 node tasks that vscode uses.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">root@lamp ~# ps -ef | grep vscode\r\nroot      8966 28764  0 15:11 pts\/2    00:00:00 grep --color=auto vscode\r\njon2all+ 22881     1  0 Apr28 ?        00:00:00 sh \/home\/jon2allen\/.vscode-server\/bin\/f4af3cbf5a99787542e2a30fe1fd37cd644cc31f\/server.sh --start-server --host=127.0.0.1 --enable-remote-auto-shutdown --port=0 --connection-secret \/home\/jon2allen\/.vscode-server\/.f4af3cbf5a99787542e2a30fe1fd37cd644cc31f.token\r\njon2all+ 22889 22881  0 Apr28 ?        00:06:02 \/home\/jon2allen\/.vscode-server\/bin\/f4af3cbf5a99787542e2a30fe1fd37cd644cc31f\/node \/home\/jon2allen\/.vscode-server\/bin\/f4af3cbf5a99787542e2a30fe1fd37cd644cc31f\/out\/vs\/server\/main.js --start-server --host=127.0.0.1 --enable-remote-auto-shutdown --port=0 --connection-secret \/home\/jon2allen\/.vscode-server\/.f4af3cbf5a99787542e2a30fe1fd37cd644cc31f.token\r\njon2all+ 23016 22889  0 Apr28 ?        00:00:43 \/home\/jon2allen\/.vscode-server\/bin\/f4af3cbf5a99787542e2a30fe1fd37cd644cc31f\/node \/home\/jon2allen\/.vscode-server\/bin\/f4af3cbf5a99787542e2a30fe1fd37cd644cc31f\/out\/bootstrap-fork --type=ptyHost\r\n<\/pre>\n<p>Here is a command to kill all of them<\/p>\n<p>&nbsp;<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">kill -9 $(ps -ef | grep vscode | grep -v grep | awk '{print $2}')\r\n<\/pre>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you disconnect vscode from a linux server. You will see all these\u00a0 node tasks that vscode uses. root@lamp ~# ps -ef | grep vscode root 8966 28764 0 15:11 pts\/2 00:00:00 grep &#8211;color=auto vscode jon2all+ 22881 1 0 Apr28 ? 00:00:00 sh \/home\/jon2allen\/.vscode-server\/bin\/f4af3cbf5a99787542e2a30fe1fd37cd644cc31f\/server.sh &#8211;start-server &#8211;host=127.0.0.1 &#8211;enable-remote-auto-shutdown &#8211;port=0 &#8211;connection-secret \/home\/jon2allen\/.vscode-server\/.f4af3cbf5a99787542e2a30fe1fd37cd644cc31f.token jon2all+ 22889 22881 0 Apr28 ? 00:06:02 \/home\/jon2allen\/.vscode-server\/bin\/f4af3cbf5a99787542e2a30fe1fd37cd644cc31f\/node \/home\/jon2allen\/.vscode-server\/bin\/f4af3cbf5a99787542e2a30fe1fd37cd644cc31f\/out\/vs\/server\/main.js &#8211;start-server [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[1],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.4 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to kill all vscode process on remote Linux server - Jon Allen&#039;s Linux Stuff<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.jibsheet.net\/linux\/index.php\/2022\/05\/02\/how-to-kill-all-vscode-process-on-remote-linux-server\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to kill all vscode process on remote Linux server - Jon Allen&#039;s Linux Stuff\" \/>\n<meta property=\"og:description\" content=\"If you disconnect vscode from a linux server. You will see all these\u00a0 node tasks that vscode uses. root@lamp ~# ps -ef | grep vscode root 8966 28764 0 15:11 pts\/2 00:00:00 grep --color=auto vscode jon2all+ 22881 1 0 Apr28 ? 00:00:00 sh \/home\/jon2allen\/.vscode-server\/bin\/f4af3cbf5a99787542e2a30fe1fd37cd644cc31f\/server.sh --start-server --host=127.0.0.1 --enable-remote-auto-shutdown --port=0 --connection-secret \/home\/jon2allen\/.vscode-server\/.f4af3cbf5a99787542e2a30fe1fd37cd644cc31f.token jon2all+ 22889 22881 0 Apr28 ? 00:06:02 \/home\/jon2allen\/.vscode-server\/bin\/f4af3cbf5a99787542e2a30fe1fd37cd644cc31f\/node \/home\/jon2allen\/.vscode-server\/bin\/f4af3cbf5a99787542e2a30fe1fd37cd644cc31f\/out\/vs\/server\/main.js --start-server [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.jibsheet.net\/linux\/index.php\/2022\/05\/02\/how-to-kill-all-vscode-process-on-remote-linux-server\/\" \/>\n<meta property=\"og:site_name\" content=\"Jon Allen&#039;s Linux Stuff\" \/>\n<meta property=\"article:published_time\" content=\"2022-05-02T19:16:36+00:00\" \/>\n<meta name=\"author\" content=\"jonallen\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"jonallen\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.jibsheet.net\/linux\/index.php\/2022\/05\/02\/how-to-kill-all-vscode-process-on-remote-linux-server\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.jibsheet.net\/linux\/index.php\/2022\/05\/02\/how-to-kill-all-vscode-process-on-remote-linux-server\/\"},\"author\":{\"name\":\"jonallen\",\"@id\":\"https:\/\/www.jibsheet.net\/linux\/#\/schema\/person\/295a80d0b2aa929b648c4fdddee83993\"},\"headline\":\"How to kill all vscode process on remote Linux server\",\"datePublished\":\"2022-05-02T19:16:36+00:00\",\"dateModified\":\"2022-05-02T19:16:36+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.jibsheet.net\/linux\/index.php\/2022\/05\/02\/how-to-kill-all-vscode-process-on-remote-linux-server\/\"},\"wordCount\":40,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.jibsheet.net\/linux\/#\/schema\/person\/295a80d0b2aa929b648c4fdddee83993\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.jibsheet.net\/linux\/index.php\/2022\/05\/02\/how-to-kill-all-vscode-process-on-remote-linux-server\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.jibsheet.net\/linux\/index.php\/2022\/05\/02\/how-to-kill-all-vscode-process-on-remote-linux-server\/\",\"url\":\"https:\/\/www.jibsheet.net\/linux\/index.php\/2022\/05\/02\/how-to-kill-all-vscode-process-on-remote-linux-server\/\",\"name\":\"How to kill all vscode process on remote Linux server - Jon Allen&#039;s Linux Stuff\",\"isPartOf\":{\"@id\":\"https:\/\/www.jibsheet.net\/linux\/#website\"},\"datePublished\":\"2022-05-02T19:16:36+00:00\",\"dateModified\":\"2022-05-02T19:16:36+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.jibsheet.net\/linux\/index.php\/2022\/05\/02\/how-to-kill-all-vscode-process-on-remote-linux-server\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.jibsheet.net\/linux\/index.php\/2022\/05\/02\/how-to-kill-all-vscode-process-on-remote-linux-server\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.jibsheet.net\/linux\/index.php\/2022\/05\/02\/how-to-kill-all-vscode-process-on-remote-linux-server\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.jibsheet.net\/linux\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to kill all vscode process on remote Linux server\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.jibsheet.net\/linux\/#website\",\"url\":\"https:\/\/www.jibsheet.net\/linux\/\",\"name\":\"Jon Allen's Linux Stuff\",\"description\":\"Howto&#039;s, Observations, and stuff\",\"publisher\":{\"@id\":\"https:\/\/www.jibsheet.net\/linux\/#\/schema\/person\/295a80d0b2aa929b648c4fdddee83993\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.jibsheet.net\/linux\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/www.jibsheet.net\/linux\/#\/schema\/person\/295a80d0b2aa929b648c4fdddee83993\",\"name\":\"jonallen\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.jibsheet.net\/linux\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/7d7c061ce9db8f5e4710555585475882?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/7d7c061ce9db8f5e4710555585475882?s=96&d=mm&r=g\",\"caption\":\"jonallen\"},\"logo\":{\"@id\":\"https:\/\/www.jibsheet.net\/linux\/#\/schema\/person\/image\/\"},\"sameAs\":[\"https:\/\/www.jibsheet.net\/linux\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to kill all vscode process on remote Linux server - Jon Allen&#039;s Linux Stuff","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.jibsheet.net\/linux\/index.php\/2022\/05\/02\/how-to-kill-all-vscode-process-on-remote-linux-server\/","og_locale":"en_US","og_type":"article","og_title":"How to kill all vscode process on remote Linux server - Jon Allen&#039;s Linux Stuff","og_description":"If you disconnect vscode from a linux server. You will see all these\u00a0 node tasks that vscode uses. root@lamp ~# ps -ef | grep vscode root 8966 28764 0 15:11 pts\/2 00:00:00 grep --color=auto vscode jon2all+ 22881 1 0 Apr28 ? 00:00:00 sh \/home\/jon2allen\/.vscode-server\/bin\/f4af3cbf5a99787542e2a30fe1fd37cd644cc31f\/server.sh --start-server --host=127.0.0.1 --enable-remote-auto-shutdown --port=0 --connection-secret \/home\/jon2allen\/.vscode-server\/.f4af3cbf5a99787542e2a30fe1fd37cd644cc31f.token jon2all+ 22889 22881 0 Apr28 ? 00:06:02 \/home\/jon2allen\/.vscode-server\/bin\/f4af3cbf5a99787542e2a30fe1fd37cd644cc31f\/node \/home\/jon2allen\/.vscode-server\/bin\/f4af3cbf5a99787542e2a30fe1fd37cd644cc31f\/out\/vs\/server\/main.js --start-server [&hellip;]","og_url":"https:\/\/www.jibsheet.net\/linux\/index.php\/2022\/05\/02\/how-to-kill-all-vscode-process-on-remote-linux-server\/","og_site_name":"Jon Allen&#039;s Linux Stuff","article_published_time":"2022-05-02T19:16:36+00:00","author":"jonallen","twitter_card":"summary_large_image","twitter_misc":{"Written by":"jonallen","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.jibsheet.net\/linux\/index.php\/2022\/05\/02\/how-to-kill-all-vscode-process-on-remote-linux-server\/#article","isPartOf":{"@id":"https:\/\/www.jibsheet.net\/linux\/index.php\/2022\/05\/02\/how-to-kill-all-vscode-process-on-remote-linux-server\/"},"author":{"name":"jonallen","@id":"https:\/\/www.jibsheet.net\/linux\/#\/schema\/person\/295a80d0b2aa929b648c4fdddee83993"},"headline":"How to kill all vscode process on remote Linux server","datePublished":"2022-05-02T19:16:36+00:00","dateModified":"2022-05-02T19:16:36+00:00","mainEntityOfPage":{"@id":"https:\/\/www.jibsheet.net\/linux\/index.php\/2022\/05\/02\/how-to-kill-all-vscode-process-on-remote-linux-server\/"},"wordCount":40,"commentCount":0,"publisher":{"@id":"https:\/\/www.jibsheet.net\/linux\/#\/schema\/person\/295a80d0b2aa929b648c4fdddee83993"},"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.jibsheet.net\/linux\/index.php\/2022\/05\/02\/how-to-kill-all-vscode-process-on-remote-linux-server\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.jibsheet.net\/linux\/index.php\/2022\/05\/02\/how-to-kill-all-vscode-process-on-remote-linux-server\/","url":"https:\/\/www.jibsheet.net\/linux\/index.php\/2022\/05\/02\/how-to-kill-all-vscode-process-on-remote-linux-server\/","name":"How to kill all vscode process on remote Linux server - Jon Allen&#039;s Linux Stuff","isPartOf":{"@id":"https:\/\/www.jibsheet.net\/linux\/#website"},"datePublished":"2022-05-02T19:16:36+00:00","dateModified":"2022-05-02T19:16:36+00:00","breadcrumb":{"@id":"https:\/\/www.jibsheet.net\/linux\/index.php\/2022\/05\/02\/how-to-kill-all-vscode-process-on-remote-linux-server\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.jibsheet.net\/linux\/index.php\/2022\/05\/02\/how-to-kill-all-vscode-process-on-remote-linux-server\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.jibsheet.net\/linux\/index.php\/2022\/05\/02\/how-to-kill-all-vscode-process-on-remote-linux-server\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.jibsheet.net\/linux\/"},{"@type":"ListItem","position":2,"name":"How to kill all vscode process on remote Linux server"}]},{"@type":"WebSite","@id":"https:\/\/www.jibsheet.net\/linux\/#website","url":"https:\/\/www.jibsheet.net\/linux\/","name":"Jon Allen's Linux Stuff","description":"Howto&#039;s, Observations, and stuff","publisher":{"@id":"https:\/\/www.jibsheet.net\/linux\/#\/schema\/person\/295a80d0b2aa929b648c4fdddee83993"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.jibsheet.net\/linux\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/www.jibsheet.net\/linux\/#\/schema\/person\/295a80d0b2aa929b648c4fdddee83993","name":"jonallen","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.jibsheet.net\/linux\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/7d7c061ce9db8f5e4710555585475882?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/7d7c061ce9db8f5e4710555585475882?s=96&d=mm&r=g","caption":"jonallen"},"logo":{"@id":"https:\/\/www.jibsheet.net\/linux\/#\/schema\/person\/image\/"},"sameAs":["https:\/\/www.jibsheet.net\/linux"]}]}},"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/www.jibsheet.net\/linux\/index.php\/wp-json\/wp\/v2\/posts\/318"}],"collection":[{"href":"https:\/\/www.jibsheet.net\/linux\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.jibsheet.net\/linux\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.jibsheet.net\/linux\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.jibsheet.net\/linux\/index.php\/wp-json\/wp\/v2\/comments?post=318"}],"version-history":[{"count":1,"href":"https:\/\/www.jibsheet.net\/linux\/index.php\/wp-json\/wp\/v2\/posts\/318\/revisions"}],"predecessor-version":[{"id":319,"href":"https:\/\/www.jibsheet.net\/linux\/index.php\/wp-json\/wp\/v2\/posts\/318\/revisions\/319"}],"wp:attachment":[{"href":"https:\/\/www.jibsheet.net\/linux\/index.php\/wp-json\/wp\/v2\/media?parent=318"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.jibsheet.net\/linux\/index.php\/wp-json\/wp\/v2\/categories?post=318"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.jibsheet.net\/linux\/index.php\/wp-json\/wp\/v2\/tags?post=318"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}