<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>akihisa_oishi</author_name>
  <author_url>https://blog.hatena.ne.jp/akihisa_oishi/</author_url>
  <blog_title>aoishiの備忘録</blog_title>
  <blog_url>https://aoishi.hateblo.jp/</blog_url>
  <categories>
    <anon>Python</anon>
  </categories>
  <description>Pythonのmultiprocessingモジュールで書かれたマルチプロセスなプログラムで、psコマンドで親・子プロセス名を分かりやすく表示させるために、setproctitleモジュールを使ってプロセス名を設定してみました。 環境 OS: Fedora release 27 (Twenty Seven) Python: Python 3.6.3 setproctitle: 1.1.10 multiprocessingモジュールを使ったマルチプロセスなプログラム 下記は、単にsleepする子プロセスを2つ作成してデーモン化するプログラムです。 試しにp1というプロセスにのみname引数を渡し…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Faoishi.hateblo.jp%2Fentry%2F2018%2F01%2F28%2F031545&quot; title=&quot;Pythonのsetproctitleモジュールでプロセス名を設定する - aoishiの備忘録&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.blog.st-hatena.com/images/theme/og-image-1500.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-01-28 03:15:45</published>
  <title>Pythonのsetproctitleモジュールでプロセス名を設定する</title>
  <type>rich</type>
  <url>https://aoishi.hateblo.jp/entry/2018/01/28/031545</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
