<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kazeburo</author_name>
  <author_url>https://blog.hatena.ne.jp/kazeburo/</author_url>
  <blog_title>Hateburo: kazeburo hatenablog</blog_title>
  <blog_url>https://kazeburo.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>なんらかの理由で MySQLにクソ重いクエリがたくさん流れてしまった場合、SHOW PROCESSLISTをみて、クエリをKILLするなんてことは、あったりなかったりします。 この時にクエリが数十個となると、手作業ではやりきれませんので、コマンドを駆使して対応することになります。 ちょっと前にやったのが以下のコマンド /usr/bin/mysql --defaults-extra-file=/path/to/.my-other.cnf -NB -e 'SELECT GROUP_CONCAT(ID) FROM \ information_schema.PROCESSLIST WHERE STAT…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkazeburo.hatenablog.com%2Fentry%2F2019%2F12%2F16%2F154000&quot; title=&quot;MySQLのprocesslistをgrep して killする myps コマンド - Hateburo: kazeburo hatenablog&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/k/kazeburo/20191216/20191216153706.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-12-16 15:40:00</published>
  <title>MySQLのprocesslistをgrep して killする myps コマンド</title>
  <type>rich</type>
  <url>https://kazeburo.hatenablog.com/entry/2019/12/16/154000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
