<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>rightgo09</author_name>
  <author_url>https://blog.hatena.ne.jp/rightgo09/</author_url>
  <blog_title>Perl日記</blog_title>
  <blog_url>https://r9.hateblo.jp/</blog_url>
  <categories>
  </categories>
  <description>eyeのソースコードでkillで「0」を送っていた eyeというプロセス監視ツールがある。 このツールの中身をみていたところ、以下のようなコードがあった。https://github.com/kostya/eye/blob/f37de3761566e74bd04d3e20c6cdb7a67cbabd99/lib/eye/system.rb # Check that pid really exits # very fast # return true/false def pid_alive?(pid) if pid ::Process.kill(0, pid) true end rescue f…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fr9.hateblo.jp%2Fentry%2F2018%2F01%2F15%2F193444&quot; title=&quot;killでプロセスに「0」を送ると、プロセスの生存確認ができる - Perl日記&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-01-15 19:34:44</published>
  <title>killでプロセスに「0」を送ると、プロセスの生存確認ができる</title>
  <type>rich</type>
  <url>https://r9.hateblo.jp/entry/2018/01/15/193444</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
